From 36bb041a56c68f25c28762981e336f60ddea254c Mon Sep 17 00:00:00 2001 From: iloveloopers Date: Sat, 13 Jul 2024 12:46:06 -0400 Subject: [PATCH] cut fence --- .../carbon/xenomorph/abilities/ravager/ravager_powers.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/mob/living/carbon/xenomorph/abilities/ravager/ravager_powers.dm b/code/modules/mob/living/carbon/xenomorph/abilities/ravager/ravager_powers.dm index 8fe101a08dfa..69fd4292323f 100644 --- a/code/modules/mob/living/carbon/xenomorph/abilities/ravager/ravager_powers.dm +++ b/code/modules/mob/living/carbon/xenomorph/abilities/ravager/ravager_powers.dm @@ -171,6 +171,11 @@ var/obj/structure/window/framed/framed_window = structure_blocker if(!framed_window.unslashable) framed_window.deconstruct(disassembled = FALSE) + if(istype(structure_blocker, /obj/structure/fence)) + var/obj/structure/fence/fence = structure_blocker + if(!fence.unslashable) + fence.health -= 50 + fence.healthcheck() if(structure_blocker.opacity) blocked = TRUE