From f45117b9fe431f7c15b3dfb524af441e6c32308f Mon Sep 17 00:00:00 2001 From: S34NW <12197162+S34NW@users.noreply.github.com> Date: Fri, 24 Sep 2021 11:41:03 +0100 Subject: [PATCH] farie review --- code/game/objects/structures/fence.dm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/code/game/objects/structures/fence.dm b/code/game/objects/structures/fence.dm index 0cc1bb3014e..37f5ba560c2 100644 --- a/code/game/objects/structures/fence.dm +++ b/code/game/objects/structures/fence.dm @@ -89,15 +89,17 @@ . = TRUE if(shock(user, 100)) return - if(!cuttable) - if(W.use_tool(src, user, FULL_CUT_TIME * W.toolspeed, volume = W.tool_volume)) - visible_message("\The [user] completely dismantles \the [src].") - to_chat(user, "You completely take apart \the [src].") - qdel(src) - return if(invulnerable) to_chat(user, "This fence is too strong to cut through!") return + if(!cuttable) + visible_message("[user] starts dismantling [src] with [W].") + to_chat(user, "You start dismantling [src] with [W].") + if(W.use_tool(src, user, FULL_CUT_TIME * W.toolspeed, volume = W.tool_volume)) + visible_message("[user] completely dismantles [src].") + to_chat(user, "You completely dismantle [src].") + qdel(src) + return var/current_stage = hole_size user.visible_message("\The [user] starts cutting through \the [src] with \the [W].",\ "You start cutting through \the [src] with \the [W].")