diff --git a/code/game/dna/mutations/mutation_powers.dm b/code/game/dna/mutations/mutation_powers.dm index 7cc46cb92bc..e24f4b8819a 100644 --- a/code/game/dna/mutations/mutation_powers.dm +++ b/code/game/dna/mutations/mutation_powers.dm @@ -685,7 +685,7 @@ to_chat(user, "You can't see into [M.name]'s mind at all!") return - if(M.stat == 2) + if(M.stat == DEAD) to_chat(user, "[M.name] is dead and cannot have [M.p_their()] mind read.") return if(M.health < 0) diff --git a/code/game/machinery/camera/tracking.dm b/code/game/machinery/camera/tracking.dm index df5c209d2f5..4496e8ac33a 100644 --- a/code/game/machinery/camera/tracking.dm +++ b/code/game/machinery/camera/tracking.dm @@ -9,7 +9,7 @@ track.cameras.Cut() - if(src.stat == 2) + if(src.stat == DEAD) return var/list/L = list() @@ -33,7 +33,7 @@ set category = "AI Commands" set name = "Show Camera List" - if(src.stat == 2) + if(src.stat == DEAD) to_chat(src, "You can't list the cameras because you are dead!") return @@ -60,7 +60,7 @@ track.humans.Cut() track.others.Cut() - if(usr.stat == 2) + if(usr.stat == DEAD) return list() for(var/mob/living/M in GLOB.mob_list) diff --git a/code/modules/admin/player_panel.dm b/code/modules/admin/player_panel.dm index afe8db20b06..40ffa590774 100644 --- a/code/modules/admin/player_panel.dm +++ b/code/modules/admin/player_panel.dm @@ -346,7 +346,7 @@ if(!dname) dname = M - return {"[dname][caption][logout_status][istype(A, /area/station/security/permabrig) ? " (PERMA) " : ""][M.stat == 2 ? " (DEAD)" : ""] + return {"[dname][caption][logout_status][istype(A, /area/station/security/permabrig) ? " (PERMA) " : ""][M.stat == DEAD ? " (DEAD)" : ""] PM [ADMIN_FLW(M, "FLW")] [ADMIN_OBS(M, "OBS")] [close ? "" : ""]"} /datum/admins/proc/check_antagonists() diff --git a/code/modules/admin/verbs/onlyone.dm b/code/modules/admin/verbs/onlyone.dm index dadf06693a1..3c921066da3 100644 --- a/code/modules/admin/verbs/onlyone.dm +++ b/code/modules/admin/verbs/onlyone.dm @@ -66,7 +66,7 @@ return for(var/mob/living/carbon/human/H in GLOB.player_list) - if(H.stat == 2 || !(H.client)) continue + if(H.stat == DEAD || !(H.client)) continue if(is_special_character(H)) continue SSticker.mode.traitors += H.mind diff --git a/code/modules/mob/living/silicon/ai/ai_mob.dm b/code/modules/mob/living/silicon/ai/ai_mob.dm index b19e498d42e..21473ee908c 100644 --- a/code/modules/mob/living/silicon/ai/ai_mob.dm +++ b/code/modules/mob/living/silicon/ai/ai_mob.dm @@ -807,7 +807,7 @@ GLOBAL_LIST_INIT(ai_verbs_default, list( set category = "AI Commands" set name = "Access Robot Control" set desc = "Wirelessly control various automatic robots." - if(stat == 2) + if(stat == DEAD) to_chat(src, "Critical error. System offline.") return @@ -905,7 +905,7 @@ GLOBAL_LIST_INIT(ai_verbs_default, list( if(check_unable()) return - if(usr.stat == 2) + if(usr.stat == DEAD) to_chat(usr, "You can't change your camera network because you are dead!") return @@ -945,7 +945,7 @@ GLOBAL_LIST_INIT(ai_verbs_default, list( set category = "AI Commands" set name = "AI Status" - if(usr.stat == 2) + if(usr.stat == DEAD) to_chat(usr, "You cannot change your emotional status because you are dead!") return diff --git a/code/modules/mob/living/silicon/ai/freelook/eye.dm b/code/modules/mob/living/silicon/ai/freelook/eye.dm index 33cecf72df6..d4cc79f3fd1 100644 --- a/code/modules/mob/living/silicon/ai/freelook/eye.dm +++ b/code/modules/mob/living/silicon/ai/freelook/eye.dm @@ -137,7 +137,7 @@ set category = "AI Commands" set name = "Toggle Camera Acceleration" - if(usr.stat == 2) + if(usr.stat == DEAD) return //won't work if dead acceleration = !acceleration to_chat(usr, "Camera acceleration has been toggled [acceleration ? "on" : "off"].") diff --git a/code/modules/mob/living/simple_animal/bot/medbot.dm b/code/modules/mob/living/simple_animal/bot/medbot.dm index 66251a3dd9e..0ad74bdf358 100644 --- a/code/modules/mob/living/simple_animal/bot/medbot.dm +++ b/code/modules/mob/living/simple_animal/bot/medbot.dm @@ -277,7 +277,7 @@ playsound(loc, 'sound/machines/buzz-two.ogg', 50, FALSE) last_warning = world.time return - if(H.stat == 2) + if(H.stat == DEAD) return if((H == oldpatient) && (world.time < last_found + 200))