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

Species names are colored when examining / health analyzing #2582

Merged
merged 3 commits into from
Dec 15, 2023

Conversation

DeltaFire15
Copy link
Contributor

@DeltaFire15 DeltaFire15 commented Nov 12, 2023

About The Pull Request

Title.
When examining an individual (assuming species is visible), or using a health analyzer on them, their species will be displayed in a color specific to special interactions the species may have.
Caught cases are robots, toxinlovers (oozelings primarily), ethereals, plasmamen, golems, and neither of the other five. The first case that is valid applies its color.
This is a port of Citadel-Station-13/Citadel-Station-13#14783

Also fixes a random ethereal bug I stumbled upon (as I tend to do) that made starvation not increase brute vulnerability in a specific nutrition window.

Why It's Good For The Game

Very small change with high impact on quick species quirk recognition.

Testing Photographs and Procedure

Updated

grafik

grafik

Changelog

🆑
qol: Species names are now colored when examining / using health analyzers.
fix: Ethereal starvation no longer has a nutrition window where increased brute vulnerability was not handled.
/:cl:

Copy link
Contributor

@Bokkiewokkie Bokkiewokkie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code itself looks good.
I also think giving ethereals a color (yellow/orange?) could make sense, since they have different blood, but it's not required.

code/modules/mob/living/carbon/human/human_helpers.dm Outdated Show resolved Hide resolved
@Bokkiewokkie Bokkiewokkie added the Port Ports code from a codebase other than Beestation label Nov 12, 2023
@DeltaFire15
Copy link
Contributor Author

DeltaFire15 commented Nov 12, 2023

I also think giving ethereals a color (yellow/orange?) could make sense, since they have different blood, but it's not required.

my brain completely deleted Ethereals from my memory for the duration of adjusting the PR, but yeah makes sense since they do have their own interaction-critical stuff (like crystallizing if they die)

moves movable code, ethereal color, fixes random ethereal bug I stumbled upon like I tend to do.
Bokkiewokkie
Bokkiewokkie previously approved these changes Nov 17, 2023
covertcorvid
covertcorvid previously approved these changes Nov 19, 2023
Copy link
Member

@EvilDragonfiend EvilDragonfiend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since I am not a maint here, my change request here is optional, but I see a possibly weird logic.

@Bokkiewokkie Bokkiewokkie merged commit 240eb3d into BeeStation:master Dec 15, 2023
9 checks passed
@EvilDragonfiend
Copy link
Member

Oh, fuck. I didn't post my change request here....

image

@Bokkiewokkie
Copy link
Contributor

Oh, fuck. I didn't post my change request here....

image

This was on purpose and mentioned in the PR description too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Active Test Merge Feature Fix Port Ports code from a codebase other than Beestation TGUI-Changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants