Last wave

This commit is contained in:
DGamerL
2024-07-06 02:08:16 +02:00
parent 0240954b17
commit 220152ac02
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -685,7 +685,7 @@
to_chat(user, "<span class='warning'>You can't see into [M.name]'s mind at all!</span>")
return
if(M.stat == 2)
if(M.stat == DEAD)
to_chat(user, "<span class='warning'>[M.name] is dead and cannot have [M.p_their()] mind read.</span>")
return
if(M.health < 0)
+3 -3
View File
@@ -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)
+1 -1
View File
@@ -346,7 +346,7 @@
if(!dname)
dname = M
return {"<tr><td><a href='byond://?src=[UID()];adminplayeropts=[M.UID()]'>[dname]</a><b>[caption]</b>[logout_status][istype(A, /area/station/security/permabrig) ? "<b><font color=red> (PERMA) </b></font>" : ""][M.stat == 2 ? " <b><font color=red>(DEAD)</font></b>" : ""]</td>
return {"<tr><td><a href='byond://?src=[UID()];adminplayeropts=[M.UID()]'>[dname]</a><b>[caption]</b>[logout_status][istype(A, /area/station/security/permabrig) ? "<b><font color=red> (PERMA) </b></font>" : ""][M.stat == DEAD ? " <b><font color=red>(DEAD)</font></b>" : ""]</td>
<td><a href='byond://?src=[usr.UID()];priv_msg=[M.client?.ckey]'>PM</a> [ADMIN_FLW(M, "FLW")] [ADMIN_OBS(M, "OBS")] </td>[close ? "</tr>" : ""]"}
/datum/admins/proc/check_antagonists()
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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, "<span class='danger'>Critical error. System offline.</span>")
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
@@ -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"].")
@@ -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))