From 68d96345dea0fdf97fe56bac27586a6e34deb3fd Mon Sep 17 00:00:00 2001 From: Julien Date: Mon, 13 May 2024 13:42:10 +0200 Subject: [PATCH] prevent from burrowing on WO and allow tunneling on WO --- code/modules/mob/living/carbon/xenomorph/Abilities.dm | 4 ---- .../xenomorph/abilities/burrower/burrower_abilities.dm | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/xenomorph/Abilities.dm b/code/modules/mob/living/carbon/xenomorph/Abilities.dm index ec024c3b5605..09b99871e936 100644 --- a/code/modules/mob/living/carbon/xenomorph/Abilities.dm +++ b/code/modules/mob/living/carbon/xenomorph/Abilities.dm @@ -29,10 +29,6 @@ to_chat(X, SPAN_XENOWARNING("We can't do that from there.")) return - if(SSticker?.mode?.hardcore) - to_chat(X, SPAN_XENOWARNING("A certain presence is preventing us from digging tunnels here.")) - return - if(!T.can_dig_xeno_tunnel() || !is_ground_level(T.z)) to_chat(X, SPAN_XENOWARNING("We scrape around, but we can't seem to dig through that kind of floor.")) return diff --git a/code/modules/mob/living/carbon/xenomorph/abilities/burrower/burrower_abilities.dm b/code/modules/mob/living/carbon/xenomorph/abilities/burrower/burrower_abilities.dm index 747a3f90a691..6d3f64a6358c 100644 --- a/code/modules/mob/living/carbon/xenomorph/abilities/burrower/burrower_abilities.dm +++ b/code/modules/mob/living/carbon/xenomorph/abilities/burrower/burrower_abilities.dm @@ -10,6 +10,11 @@ ability_primacy = XENO_PRIMARY_ACTION_3 /datum/action/xeno_action/activable/burrow/use_ability(atom/A) + + if(SSticker?.mode?.hardcore) + to_chat(X, SPAN_XENOWARNING("A certain presence is preventing us from burrowing here.")) + return + var/mob/living/carbon/xenomorph/X = owner if(HAS_TRAIT(X, TRAIT_ABILITY_BURROWED)) X.tunnel(get_turf(A))