-
-
Notifications
You must be signed in to change notification settings - Fork 680
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
Fixes dead people spamming "drowning" messages #9888
Fixes dead people spamming "drowning" messages #9888
Conversation
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.
Add a comment why you check dead status in the if line. It would look like a random check.
@@ -125,6 +125,8 @@ | |||
/datum/component/swimming/proc/drown(mob/living/victim) | |||
if(victim.losebreath < 1) | |||
victim.losebreath += 1 | |||
if(victim.stat > CONSCIOUS) |
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.
This needs to be >= if you want unconcious or dead people to not emote. Also this removes the victim being made unconcious while unconcious when drowning which makes drowning trivial to escape.
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.
Tried a different approach, could you take a look?
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.
Could wrap the shouldemote = FALSE if check into one line but this works and is fine
Stale review
About The Pull Request
Why It's Good For The Game
Doesn't make sense that the body keeps "fainting" after dying.
Testing Photographs and Procedure
Screenshots&Videos
Changelog
🆑
fix: Fixed dead bodies continuing to make the "drowning" message
/:cl: