mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
MC Statpanel now distinguishes between NO_FIRE subsystems and OFFLINE (can_fire <= 0) subsystems
This commit is contained in:
@@ -168,11 +168,12 @@
|
|||||||
statclick = new/obj/effect/statclick/debug(null, "Initializing...", src)
|
statclick = new/obj/effect/statclick/debug(null, "Initializing...", src)
|
||||||
|
|
||||||
|
|
||||||
|
if(SS_NO_FIRE & flags)
|
||||||
if(can_fire && !(SS_NO_FIRE & flags))
|
msg = "NO FIRE\t[msg]"
|
||||||
msg = "[round(cost,1)]ms|[round(tick_usage,1)]%([round(tick_overrun,1)]%)|[round(ticks,0.1)]\t[msg]"
|
else if(can_fire <= 0)
|
||||||
else
|
|
||||||
msg = "OFFLINE\t[msg]"
|
msg = "OFFLINE\t[msg]"
|
||||||
|
else
|
||||||
|
msg = "[round(cost,1)]ms|[round(tick_usage,1)]%([round(tick_overrun,1)]%)|[round(ticks,0.1)]\t[msg]"
|
||||||
|
|
||||||
var/title = name
|
var/title = name
|
||||||
if (can_fire)
|
if (can_fire)
|
||||||
|
|||||||
Reference in New Issue
Block a user