Fixes issue 178. Including placing modules into disposals.

Removed the maze button from the admin panel, no more dumb runtimes from that.

Window fix by Tobba, which lets you attack a window with a crowbar when you're unable to pry it into or out of the frame.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2526 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2011-11-16 20:42:05 +00:00
parent 858611e729
commit d49739c021
6 changed files with 17 additions and 9 deletions
+4 -5
View File
@@ -176,11 +176,10 @@
src.anchored = !( src.anchored )
playsound(src.loc, 'Screwdriver.ogg', 75, 1)
user << (src.anchored ? "You have fastened the window to the floor." : "You have unfastened the window.")
else if(istype(W, /obj/item/weapon/crowbar) && reinf)
if(state <=1)
state = 1-state;
playsound(src.loc, 'Crowbar.ogg', 75, 1)
user << (state ? "You have pried the window into the frame." : "You have pried the window out of the frame.")
else if(istype(W, /obj/item/weapon/crowbar) && reinf && state <=1)
state = 1-state;
playsound(src.loc, 'Crowbar.ogg', 75, 1)
user << (state ? "You have pried the window into the frame." : "You have pried the window out of the frame.")
else
var/aforce = W.force
if(reinf) aforce /= 2.0