From 1cf4a707f7fcd6fdef092a40753e07511f0211e9 Mon Sep 17 00:00:00 2001 From: SirBloodBuske Date: Tue, 28 Apr 2015 23:05:54 -0700 Subject: [PATCH] Update alarm.dm --- code/game/machinery/alarm.dm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/alarm.dm b/code/game/machinery/alarm.dm index a41fcc019f9..b736835c465 100644 --- a/code/game/machinery/alarm.dm +++ b/code/game/machinery/alarm.dm @@ -1130,12 +1130,20 @@ FIRE ALARM if(wiresexposed) switch(buildstage) if(2) - if (istype(W, /obj/item/device/multitool)) + if(istype(W, /obj/item/device/multitool)) src.detecting = !( src.detecting ) if (src.detecting) user.visible_message("\red [user] has reconnected [src]'s detecting unit!", "You have reconnected [src]'s detecting unit.") else - user.visible_message("\red [user] has disconnected [src]'s detecting unit!", "You have disconnected [src]'s detecting unit.") + user.visible_message("\red [user] has disconnected [src]'s detecting unit!", "You have disconnected [src]'s detecting unit.") + + else if(istype(W, /obj/item/weapon/wirecutters)) // cutting the wires out + user << "You cut the wires!" + var/obj/item/stack/cable_coil/new_coil = new /obj/item/stack/cable_coil() + new_coil.amount = 5 + new_coil.loc = user.loc + buildstage = 1 + update_icon() if(1) if(istype(W, /obj/item/stack/cable_coil)) var/obj/item/stack/cable_coil/coil = W