From 3cb8f2ee7097f0090573b765353886c8b9e563f7 Mon Sep 17 00:00:00 2001 From: ihatethisengine Date: Wed, 11 Oct 2023 23:51:02 +0300 Subject: [PATCH] init --- code/modules/mob/living/carbon/xenomorph/castes/Lurker.dm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/xenomorph/castes/Lurker.dm b/code/modules/mob/living/carbon/xenomorph/castes/Lurker.dm index c106eb30781b..da591fb4df08 100644 --- a/code/modules/mob/living/carbon/xenomorph/castes/Lurker.dm +++ b/code/modules/mob/living/carbon/xenomorph/castes/Lurker.dm @@ -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)