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] Fix custom job titles displaying with question mark icons in medical/security records. #2158

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1148
Original PR: tgstation/tgstation#81637

About The Pull Request

Medical/Security records display a nice little icon next to each name in their list of registered crew, based on what their job on the station is.
However, this is based off of rank and thus the actual job title, meaning anyone with a hop-customized job title would have a question mark icon instead.
By changing it to use trim, which is set from the ID's trim rather than title when updating the manifest, custom titles work perfectly fine and the records instead display an icon based on the ID's trim.

Why It's Good For The Game

Better than having a question mark icon for every single custom job, especially when it's just a hop adding a modifier to an existing job to reflect extra access.

Changelog

🆑 00-Steven
fix: Medical/security records now show an icon based on the registered trim, rather than showing a question mark for records with customized titles.
/:cl:

… medical/security records. (#1148)

* Fix custom job titles displaying with question mark icons in medical/security records.

* Conflict fix

* Update types.ts

* Update medical.dm

---------

Co-authored-by: _0Steven <[email protected]>
Co-authored-by: SomeRandomOwl <[email protected]>
Co-authored-by: Bloop <[email protected]>
@Iajret Iajret merged commit b2eb4c4 into master Feb 29, 2024
24 checks passed
@Iajret Iajret deleted the upstream-mirror-1148 branch February 29, 2024 18:26
AnywayFarus added a commit that referenced this pull request Feb 29, 2024
Iajret pushed a commit that referenced this pull request Apr 24, 2024
… you cough less (#2158)

* Tuberculosis makes you cough more, Nicotine Withdrawal makes you cough less (#82827)

## About The Pull Request

- Tuberculosis makes you cough more, and is no longer restricted to
stage two
- Nicotine Addiction Withdrawal makes you cough less often
- Medicine Addiction Withdrawal makes you cough less often but now
carries across all stages

## Why It's Good For The Game

Nicotine Addiction currently makes you cough 10x more often than
Tuberculosis, the lung disease. Kinda nonsensical right?

This makes smoking a single cigar (which instantly makes you addicted
because lol) pretty insufferable to be around, and while this makes
sense OOC it's a roleplaying game and being actively avoided in a
roleplaying game is not fun

So tweaking the values should make it a bit more sensible

Initial values looked like `TB: 1% chance per second` vs `Nicotine: 10%
chance per second` 🥴

## Changelog

:cl: Melbert
qol: Tuberculosis makes you cough more
qol: Nicotine Addiciton makes you cough less
qol: Medicine Addiction maybe makes you cough more, maybe makes you
cough less
/:cl:

* Tuberculosis makes you cough more, Nicotine Withdrawal makes you cough less

---------

Co-authored-by: MrMelbert <[email protected]>
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