mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Falsewalls and FalseRwalls are now anchored. They now become immediately dense when closing rather than having a few second delay, so you can't run through them when they look closed.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4651 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
/obj/structure/falsewall
|
||||
anchored = 1
|
||||
icon = 'icons/turf/walls.dmi'
|
||||
var/mineral = "metal"
|
||||
|
||||
@@ -73,8 +74,8 @@
|
||||
else
|
||||
flick("[mineral]fwall_closing", src)
|
||||
icon_state = "[mineral]0"
|
||||
density = 1
|
||||
sleep(15)
|
||||
src.density = 1
|
||||
SetOpacity(1)
|
||||
src.relativewall()
|
||||
|
||||
@@ -170,6 +171,8 @@
|
||||
icon_state = "[mineral]fwall_open"
|
||||
|
||||
/obj/structure/falserwall/
|
||||
anchored = 1
|
||||
|
||||
attack_hand(mob/user as mob)
|
||||
if(density)
|
||||
// Open wall
|
||||
@@ -181,8 +184,8 @@
|
||||
else
|
||||
icon_state = "r_wall"
|
||||
flick("frwall_closing", src)
|
||||
sleep(15)
|
||||
density = 1
|
||||
sleep(15)
|
||||
SetOpacity(1)
|
||||
relativewall()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user