mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-21 20:27:42 +01:00
[MIRROR] bunch of global vars (#12325)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
f55947089b
commit
8528d1dbcb
@@ -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"]."))
|
||||
|
||||
Reference in New Issue
Block a user