From 9be34af1ce5d8a4ceac383a321d734d015487eeb Mon Sep 17 00:00:00 2001 From: ihatethisengine <115417687+ihatethisengine@users.noreply.github.com> Date: Wed, 19 Jul 2023 10:13:08 +0300 Subject: [PATCH] Lurkers don't lose invisibility when bumping into invisible mobs (#3921) # About the pull request Lurker don't lose invis when bump into partly visible mobs like cloaked scout/preds. # Explain why it's good for the game More fair. # Testing Photographs and Procedure
Screenshots & Videos Outdated https://github.com/cmss13-devs/cmss13/assets/115417687/58990b87-1cd2-45e0-a1ac-830b07fcdc00
# Changelog :cl: ihatethisengine balance: Lurkers don't lose invisibility when they bump into partly visible mobs. /:cl: --- code/modules/mob/living/carbon/xenomorph/castes/Lurker.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/mob/living/carbon/xenomorph/castes/Lurker.dm b/code/modules/mob/living/carbon/xenomorph/castes/Lurker.dm index 5010857301e0..8dda6755cca8 100644 --- a/code/modules/mob/living/carbon/xenomorph/castes/Lurker.dm +++ b/code/modules/mob/living/carbon/xenomorph/castes/Lurker.dm @@ -165,4 +165,9 @@ if(!lurker_invisibility_action) return + var/mob/living/carbon/human/bumped_into = movable_atom + if(bumped_into.alpha < 100) //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()