diff --git a/code/game/turfs/simulated/walls_reinforced.dm b/code/game/turfs/simulated/walls_reinforced.dm index b7d3e092c19..737ed9452dc 100644 --- a/code/game/turfs/simulated/walls_reinforced.dm +++ b/code/game/turfs/simulated/walls_reinforced.dm @@ -112,13 +112,13 @@ if(SUPPORT_LINES) if(isscrewdriver(W)) - to_chat(user, "You begin removing the support lines...") + to_chat(user, "You begin unsecuring the support lines...") playsound(src, W.usesound, 100, 1) if(do_after(user, 40 * W.toolspeed, target = src) && d_state == SUPPORT_LINES) d_state = COVER update_icon() - to_chat(user, "You remove the support lines.") + to_chat(user, "You unsecure the support lines.") return //REPAIRING (replacing the outer grille for cosmetic damage) @@ -158,6 +158,17 @@ to_chat(user, "You press firmly on the cover, dislodging it.") return + if(isscrewdriver(W)) + to_chat(user, "You begin securing the support lines...") + playsound(src, W.usesound, 100, 1) + if(do_after(user, 40*W.toolspeed, target = src)) + if(!istype(src, /turf/simulated/wall/r_wall) || !W || d_state != COVER) + return 1 + d_state = SUPPORT_LINES + update_icon() + to_chat(user, "The support lines have been secured.") + return 1 + if(CUT_COVER) if(iscrowbar(W)) to_chat(user, "You struggle to pry off the cover...") @@ -169,6 +180,19 @@ to_chat(user, "You pry off the cover.") return + if(iswelder(W)) + var/obj/item/weapon/weldingtool/WT = W + if(WT.remove_fuel(0,user)) + to_chat(user, "You begin welding the metal cover back to the frame...") + playsound(src, WT.usesound, 100, 1) + if(do_after(user, 60*WT.toolspeed, target = src)) + if(!istype(src, /turf/simulated/wall/r_wall) || !WT || !WT.isOn() || d_state != CUT_COVER) + return 1 + d_state = COVER + update_icon() + to_chat(user, "The metal cover has been welded securely to the frame.") + return 1 + if(BOLTS) if(iswrench(W)) to_chat(user, "You start loosening the anchoring bolts which secure the support rods to their frame...") @@ -180,6 +204,17 @@ to_chat(user, "You remove the bolts anchoring the support rods.") return + if(iscrowbar(W)) + to_chat(user, "You start to pry the cover back into place...") + playsound(src, W.usesound, 100, 1) + if(do_after(user, 20*W.toolspeed, target = src)) + if(!istype(src, /turf/simulated/wall/r_wall) || !W || d_state != BOLTS) + return 1 + d_state = CUT_COVER + update_icon() + to_chat(user, "The metal cover has been pried back into place.") + return 1 + if(SUPPORT_RODS) if(iswelder(W)) var/obj/item/weapon/weldingtool/WT = W @@ -190,8 +225,6 @@ if(do_after(user, 100 * WT.toolspeed, target = src) && d_state == SUPPORT_RODS) d_state = SHEATH update_icon() - new /obj/item/stack/rods(src) - to_chat(user, "The support rods drop out as you cut them loose from the frame.") else to_chat(user, "You need more welding fuel to complete this task.") return @@ -203,10 +236,19 @@ if(do_after(user, 70 * W.toolspeed, target = src) && d_state == SUPPORT_RODS) d_state = SHEATH update_icon() - new /obj/item/stack/rods( src ) - to_chat(user, "The support rods drop out as you cut them loose from the frame.") return + if(iswrench(W)) + to_chat(user, "You start tightening the bolts which secure the support rods to their frame...") + playsound(src, W.usesound, 100, 1) + if(do_after(user, 40*W.toolspeed, target = src)) + if(!istype(src, /turf/simulated/wall/r_wall) || !W || d_state != SUPPORT_RODS) + return 1 + d_state = BOLTS + update_icon() + to_chat(user, "You tighten the bolts anchoring the support rods.") + return 1 + if(SHEATH) if(iscrowbar(W)) to_chat(user, "You struggle to pry off the outer sheath...")