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
Add medical HUD icon if the body has died recently enough to be defibbed #38909
Conversation
Icon is fine, but the color implies the corpse is healthy, maybe a pulsing red might be more appropriate, or a blue line on black |
I was thinking that the background color was bad for what it means. I'll try a pulsing red background and send a video of it to see if I can make it any better. |
i suggest you try the light blue on black first, it's closer to the death icon while red might look more like deep crit now that i think about it |
As in the line is light blue and the background is black? |
Exactly By the way, to show an animation you just need to export it as a gif in byond |
EDIT: Tested this in game and I personally like it better. Pushing. |
I agree, looks good |
What's the deal with there being Which of the two does fake death set? Is someone faking death going to appear defibbable forever? |
Fakedeath sets tod to the moment it is applied, so it looks like someone just died |
Based on a quick read fakedeath does not set |
@SpaceManiac Then it'll never look defibbable on a medical analyzer either, as that's where I copied the code from. |
@@ -175,6 +175,11 @@ | |||
if(has_trait(TRAIT_XENO_HOST)) | |||
holder.icon_state = "hudxeno" | |||
else if(stat == DEAD || (has_trait(TRAIT_FAKEDEATH))) | |||
if(tod) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tod
If you're not actually dead will it let you defib anyways? I would imagine the safeties will let you meta it anywho. |
Yeah but i'm sure there's plenty of methods anyway that don't require a defib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works in testing
…bed (#38909) Health analyzers already will tell you this, so this just makes it easier. I read this on the "Minor Suggestions" thread. I'm no spriter, so feel free to tell me if my icon sucks. I had to add an "addtimer" to the death proc because med_hud_set_status isn't called anymore after death.
[Changelogs]:
🆑
imageadd: Medical HUDs will now show an icon if the body has died recently enough to be defibbed
/:cl:
[why]: Health analyzers already will tell you this, so this just makes it easier. I read this on the "Minor Suggestions" thread. I'm no spriter, so feel free to tell me if my icon sucks. I had to add an "addtimer" to the death proc because med_hud_set_status isn't called anymore after death.