-Fixed issue 726, not the best fix but I could find no other solution.

-Added the unused alien resin door. Only aliens can open it, it will also auto-close after 10 seconds.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4294 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-08-02 21:42:43 +00:00
parent dca350d120
commit c97004bef2
3 changed files with 15 additions and 1 deletions
+9
View File
@@ -285,6 +285,11 @@
/obj/structure/mineral_door/resin
mineralType = "resin"
hardness = 5
var/close_delay = 100
TryToSwitchState(atom/user)
if(isalien(user))
return ..()
Open()
isSwitchingStates = 1
@@ -297,6 +302,10 @@
update_icon()
isSwitchingStates = 0
spawn(close_delay)
if(!isSwitchingStates && state == 1)
Close()
Close()
isSwitchingStates = 1
playsound(loc, 'attackblob.ogg', 100, 1)