From 54a67dd637307181abf0db7aeebb79fd7b2328c7 Mon Sep 17 00:00:00 2001 From: HanSolo1519 <72716882+HanSolo1519@users.noreply.github.com> Date: Sat, 14 Oct 2023 16:36:26 -0400 Subject: [PATCH 1/4] Update floor.dm --- code/game/turfs/simulated/floor.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/turfs/simulated/floor.dm b/code/game/turfs/simulated/floor.dm index c59dc292734..1e39b85dac7 100644 --- a/code/game/turfs/simulated/floor.dm +++ b/code/game/turfs/simulated/floor.dm @@ -167,6 +167,8 @@ /turf/open/floor/proc/try_replace_tile(obj/item/stack/tile/T, mob/user, params) if(T.turf_type == type) return + if(user.a_intent != I_HURT) + return var/obj/item/crowbar/CB = user.is_holding_item_of_type(/obj/item/crowbar) if(!CB) return From 332e36d2690776e5d08688b63e1cc2573ee22c33 Mon Sep 17 00:00:00 2001 From: HanSolo1519 <72716882+HanSolo1519@users.noreply.github.com> Date: Sat, 14 Oct 2023 16:43:11 -0400 Subject: [PATCH 2/4] Update floor.dm --- code/game/turfs/simulated/floor.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/turfs/simulated/floor.dm b/code/game/turfs/simulated/floor.dm index 1e39b85dac7..a3558ee5806 100644 --- a/code/game/turfs/simulated/floor.dm +++ b/code/game/turfs/simulated/floor.dm @@ -167,7 +167,7 @@ /turf/open/floor/proc/try_replace_tile(obj/item/stack/tile/T, mob/user, params) if(T.turf_type == type) return - if(user.a_intent != I_HURT) + if(user.a_intent = I_HURT) return var/obj/item/crowbar/CB = user.is_holding_item_of_type(/obj/item/crowbar) if(!CB) From 5a27ac24495c47baeef80c699b51814f21be900f Mon Sep 17 00:00:00 2001 From: HanSolo1519 <72716882+HanSolo1519@users.noreply.github.com> Date: Sat, 14 Oct 2023 16:46:00 -0400 Subject: [PATCH 3/4] Update floor.dm --- code/game/turfs/simulated/floor.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/turfs/simulated/floor.dm b/code/game/turfs/simulated/floor.dm index a3558ee5806..0db2a618e7d 100644 --- a/code/game/turfs/simulated/floor.dm +++ b/code/game/turfs/simulated/floor.dm @@ -167,7 +167,7 @@ /turf/open/floor/proc/try_replace_tile(obj/item/stack/tile/T, mob/user, params) if(T.turf_type == type) return - if(user.a_intent = I_HURT) + if(user.a_intent = INTENT_HARM) return var/obj/item/crowbar/CB = user.is_holding_item_of_type(/obj/item/crowbar) if(!CB) From 59b97fbad0fcb2df09568dff9dcb9a555e0bacd5 Mon Sep 17 00:00:00 2001 From: HanSolo1519 <72716882+HanSolo1519@users.noreply.github.com> Date: Sat, 14 Oct 2023 17:07:12 -0400 Subject: [PATCH 4/4] Update floor.dm --- code/game/turfs/simulated/floor.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/turfs/simulated/floor.dm b/code/game/turfs/simulated/floor.dm index 0db2a618e7d..c4b29494c31 100644 --- a/code/game/turfs/simulated/floor.dm +++ b/code/game/turfs/simulated/floor.dm @@ -167,7 +167,7 @@ /turf/open/floor/proc/try_replace_tile(obj/item/stack/tile/T, mob/user, params) if(T.turf_type == type) return - if(user.a_intent = INTENT_HARM) + if(user.a_intent == INTENT_HARM) return var/obj/item/crowbar/CB = user.is_holding_item_of_type(/obj/item/crowbar) if(!CB)