mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user