Files
GS13NG/code/game/gamemodes/gangs/dominator_countdown.dm
silicons 803bff4e5f funny
2020-11-12 23:34:42 -07:00

14 lines
382 B
Plaintext

/obj/effect/countdown/dominator
name = "dominator countdown"
text_size = 1
color = "#e5e5e5" // Overwritten when the dominator starts
/obj/effect/countdown/dominator/get_value()
var/obj/machinery/dominator/D = attached_to
if(!istype(D))
return
else if(D.gang && D.gang.domination_time != NOT_DOMINATING)
return D.gang.domination_time_remaining()
else
return "OFFLINE"