Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ihatethisengine committed Jul 19, 2023
1 parent bbcabf4 commit 23f96a9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions code/modules/mob/living/carbon/xenomorph/castes/Lurker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,10 @@
var/datum/action/xeno_action/onclick/lurker_invisibility/lurker_invisibility_action = get_xeno_action_by_type(bound_xeno, /datum/action/xeno_action/onclick/lurker_invisibility)
if(!lurker_invisibility_action)
return
if(bound_xeno.alpha >= 85)
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 partly lost your invisibility!"))
animate(bound_xeno, alpha = 85, time = 0.1 SECONDS, easing = QUAD_EASING)
to_chat(bound_xeno, SPAN_XENOHIGHDANGER("You bumped into someone and lost your invisibility!"))
lurker_invisibility_action.invisibility_off()

0 comments on commit 23f96a9

Please sign in to comment.