Ghosts now see the celestial gateway's remaining time as a countdown

This commit is contained in:
Joan Lung
2016-06-15 12:13:16 -04:00
parent d56f359e08
commit de5e11e353
2 changed files with 20 additions and 0 deletions
+13
View File
@@ -108,3 +108,16 @@
else if(D.gang && D.gang.dom_timer)
var/timer = D.gang.dom_timer
return timer
/obj/effect/countdown/clockworkgate
name = "gateway countdown"
text_size = 1
text_color = "#BE8700"
layer = POINT_LAYER
/obj/effect/countdown/clockworkgate/get_value()
var/obj/structure/clockwork/massive/celestial_gateway/G = attached_to
if(!istype(G))
return
else if(G.health && !G.purpose_fulfilled)
return "<div align='center' valign='middle' style='position:relative; top:0px; left:6px'>[GATEWAY_RATVAR_ARRIVAL - G.progress_in_seconds]</div>"