TG Updates: Fixed psychic reinforced table deconstruction

Fixed issue 270
- Changelings now have an "isabsorbing" var to prevent spamming absorb for free chems.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2766 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
quartz235@gmail.com
2012-03-01 18:21:19 +00:00
committed by Hawk-v3
parent d9e615604e
commit 754b4c6c7d
3 changed files with 24 additions and 15 deletions
+12 -12
View File
@@ -234,18 +234,18 @@ TABLE AND RACK OBJECT INTERATIONS
W:welding = 2
user << "\blue Now weakening the reinforced table"
playsound(src.loc, 'Welder.ogg', 50, 1)
sleep(50)
user << "\blue Table weakened"
src.status = 1
W:welding = 1
if (do_after(user, 50))
user << "\blue Table weakened"
src.status = 1
W:welding = 1
else
W:welding = 2
user << "\blue Now strengthening the reinforced table"
playsound(src.loc, 'Welder.ogg', 50, 1)
sleep(50)
user << "\blue Table strengthened"
src.status = 2
W:welding = 1
if (do_after(user, 50))
user << "\blue Table strengthened"
src.status = 2
W:welding = 1
return
if(isrobot(user))
return
@@ -257,10 +257,10 @@ TABLE AND RACK OBJECT INTERATIONS
if(src.status == 1)
user << "\blue Now disassembling the reinforced table"
playsound(src.loc, 'Ratchet.ogg', 50, 1)
sleep(50)
new /obj/item/weapon/table_parts/reinforced( src.loc )
playsound(src.loc, 'Deconstruct.ogg', 50, 1)
del(src)
if (do_after(user, 50))
new /obj/item/weapon/table_parts/reinforced( src.loc )
playsound(src.loc, 'Deconstruct.ogg', 50, 1)
del(src)
return
if(isrobot(user))
return