Files
OpenSS13/Code/CTF/barrier.dm
T
stephen001 0fa8609786 More splitting up of code. Barrier seems to be CTF only,
so I figured a CTF folder would be good for containing it.
Perhaps we could do Mode-Specific\CTF ?

Portal seems more like an Effect, so it went in Effects.
2008-06-19 00:13:14 +00:00

14 lines
217 B
Plaintext

/obj/barrier
anchored = 1.0
density = 1
icon = 'stationobjs.dmi'
icon_state = "barrier"
name = "barrier"
opacity = 1
New()
var/t = 1800
if (ctf)
t = round(ctf.barriertime * 600)
spawn(t) del(src)