Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
ihatethisengine committed Oct 11, 2023
1 parent 84d29ec commit 3cb8f2e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions code/modules/mob/living/carbon/xenomorph/castes/Lurker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,13 @@
if(!lurker_invisibility_action)
return

if(bound_xeno.alpha >= 85)
return

var/mob/living/carbon/human/bumped_into = movable_atom

if(HAS_TRAIT(bumped_into, TRAIT_CLOAKED)) //ignore invisible scouts and preds
return

to_chat(bound_xeno, SPAN_XENOHIGHDANGER("You bumped into someone and lost your invisibility!"))
lurker_invisibility_action.invisibility_off()
to_chat(bound_xeno, SPAN_XENOHIGHDANGER("You bumped into someone and partly lost your invisibility!"))
animate(bound_xeno, alpha = 85, time = 0.1 SECONDS, easing = QUAD_EASING)

0 comments on commit 3cb8f2e

Please sign in to comment.