diff --git a/code/game/objects/structures/fence.dm b/code/game/objects/structures/fence.dm index 21ad71f329f..a8a961d5447 100644 --- a/code/game/objects/structures/fence.dm +++ b/code/game/objects/structures/fence.dm @@ -3,6 +3,7 @@ #define CUT_TIME 100 #define CLIMB_TIME 150 +#define FULL_CUT_TIME 300 #define NO_HOLE 0 //section is intact #define MEDIUM_HOLE 1 //medium hole in the section - can climb through @@ -89,8 +90,11 @@ if(shock(user, 100)) return if(!cuttable) - to_chat(user, "This section of the fence can't be cut!") - return + 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 @@ -208,6 +212,7 @@ #undef CUT_TIME #undef CLIMB_TIME +#undef FULL_CUT_TIME #undef NO_HOLE #undef MEDIUM_HOLE