Skip to content

Commit

Permalink
prevent from burrowing on WO and allow tunneling on WO
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien committed May 13, 2024
1 parent f231154 commit 68d9634
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions code/modules/mob/living/carbon/xenomorph/Abilities.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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."))

Check failure on line 15 in code/modules/mob/living/carbon/xenomorph/abilities/burrower/burrower_abilities.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "X"
return

var/mob/living/carbon/xenomorph/X = owner
if(HAS_TRAIT(X, TRAIT_ABILITY_BURROWED))
X.tunnel(get_turf(A))
Expand Down

0 comments on commit 68d9634

Please sign in to comment.