Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Operand Swap for QuirksPage.tsx #1971

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#952
Original PR: tgstation/tgstation#81438

About The Pull Request

The changes included in this PR were requested by maintainers of Nova Sector.

  • Changed the input operand of getValueClass, replacing the value number with the full quirk object.
  • Renamed getValueClass to getColorValueClass.

Why It's Good For The Game

A downstream repository has requested that I make this change, so they can easily maintain their own changes to it.

The change should allow them to add more heading colors for quirks on the Character Preferences page.

This change is purely semantic, and there are no visible changes to the game,

* Operand Swap for QuirksPage.tsx (#81438)

## About The Pull Request

The changes included in this PR were requested by maintainers of [Nova
Sector](https://github.com/NovaSector/NovaSector).

- Changed the input operand of `getValueClass`, replacing the `value`
number with the full `quirk` object.
- Renamed `getValueClass` to `getColorValueClass`.

## Why It's Good For The Game

A downstream repository has requested that I make this change, so they
can easily maintain their own changes to it.

The change should allow them to add more heading colors for quirks on
the Character Preferences page.

This change is purely semantic, and there are no visible changes to the
game,

* Operand Swap for QuirksPage.tsx

---------

Co-authored-by: Dani Glore <[email protected]>
@Iajret Iajret merged commit 39222b3 into master Feb 14, 2024
24 checks passed
@Iajret Iajret deleted the upstream-mirror-952 branch February 14, 2024 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants