[MIRROR] bunch of global vars (#12325)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-01-25 23:09:28 +01:00
committed by GitHub
co-authored by Kashargul
parent f55947089b
commit 8528d1dbcb
92 changed files with 330 additions and 438 deletions
+4 -4
View File
@@ -223,12 +223,12 @@
if(tmr.timing)
to_chat(usr, span_notice("Clock is ticking already."))
else
var/ntime = tgui_input_number(usr, "Enter desired time in seconds", "Time", "5", 1000, 0)
if (ntime>0 && ntime<1000)
var/ntime = tgui_input_number(usr, "Enter desired time in seconds", "Time", 5, 1000, 0)
if (ntime > 0 && ntime < 1000)
tmr.time = ntime
name = initial(name) + "([tmr.time] secs)"
to_chat(usr, span_notice("Timer set to [tmr.time] seconds."))
else
to_chat(usr, span_notice("Timer can't be [ntime<=0?"negative":"more than 1000 seconds"]."))
to_chat(usr, span_notice("Timer can't be [ntime <= 0 ? "negative" : "more than 1000 seconds"]."))
else
to_chat(usr, span_notice("You cannot do this while [usr.stat?"unconscious/dead":"restrained"]."))
to_chat(usr, span_notice("You cannot do this while [usr.stat ? "unconscious/dead" : "restrained"]."))