mirror of
https://github.com/cybergirlvannie/OpenSS13.git
synced 2026-07-19 03:33:01 +01:00
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.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
/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)
|
||||
Reference in New Issue
Block a user