From d9dd77327a12e5a0a630f735d144716b1cef9545 Mon Sep 17 00:00:00 2001 From: uraniummeltdown Date: Tue, 14 Mar 2017 18:21:21 +0400 Subject: [PATCH] increased time, wirecutter is now a welder --- code/modules/shuttle/supply.dm | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/code/modules/shuttle/supply.dm b/code/modules/shuttle/supply.dm index 92d44adb31b..cef2bea0c3e 100644 --- a/code/modules/shuttle/supply.dm +++ b/code/modules/shuttle/supply.dm @@ -798,7 +798,7 @@ if(PLASTIC_FLAPS_NORMAL) to_chat(user, "[src] are screwed to the floor.") if(PLASTIC_FLAPS_DETACHED) - to_chat(user, "[src] are no longer screwed to the floor, and the flaps can be cut apart.") + to_chat(user, "[src] are no longer screwed to the floor, and the flaps can be sliced apart.") /obj/structure/plasticflaps/attackby(obj/item/W, mob/user, params) add_fingerprint(user) @@ -821,14 +821,17 @@ state = PLASTIC_FLAPS_NORMAL anchored = TRUE to_chat(user, "You screw [src] from the floor.") - else if(iswirecutter(W)) + else if(iswelder(W)) if(state == PLASTIC_FLAPS_DETACHED) - playsound(loc, W.usesound, 100, 1) - user.visible_message("[user] cuts apart [src].", "You start to cut apart [src].", "You hear cutting.") - if(do_after(user, 80*W.toolspeed, target = src)) + var/obj/item/weapon/weldingtool/WT = W + if(!WT.remove_fuel(0, user)) + return + playsound(loc, WT.usesound, 100, 1) + user.visible_message("[user] slices apart [src].", "You start to slice apart [src].", "You hear welding.") + if(do_after(user, 120*WT.toolspeed, target = src)) if(state != PLASTIC_FLAPS_DETACHED) return - to_chat(user, "You cut apart [src].") + to_chat(user, "You slice apart [src].") var/obj/item/stack/sheet/plastic/five/P = new(loc) P.add_fingerprint(user) qdel(src)