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

Makes Dogtags removable on death immediately #514

Merged
merged 8 commits into from
Oct 24, 2024
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
var/oxygen_alert = 0
var/fire_alert = 0
var/prev_gender = null // Debug for plural genders
var/revive_grace_period = 5 MINUTES //5 minutes
var/revive_grace_period = 30 SECONDS //30 Seconds
Doubleumc marked this conversation as resolved.
Show resolved Hide resolved
var/undefibbable = FALSE //whether the human is dead and past the defibbrillation period.

var/holo_card_color = "" //which color type of holocard is printed on us
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/life.dm
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
else //Dead
if(!undefibbable)
handle_necro_chemicals_in_body(delta_time) //Specifically for chemicals that still work while dead.
if(life_tick > 5 && timeofdeath && (timeofdeath < 5 || world.time - timeofdeath > revive_grace_period) && !issynth(src)) //We are dead beyond revival, or we're junk mobs spawned like the clowns on the clown shuttle
if(life_tick > 0.5 && timeofdeath && (timeofdeath < 0.5 || world.time - timeofdeath > revive_grace_period) && !issynth(src)) //We are dead beyond revival, or we're junk mobs spawned like the clowns on the clown shuttle
GriffinMan4455 marked this conversation as resolved.
Show resolved Hide resolved
undefibbable = TRUE
SEND_SIGNAL(src, COMSIG_HUMAN_SET_UNDEFIBBABLE)
med_hud_set_status()
Expand Down
Loading