Skip to content

Commit

Permalink
Reduce awareness spam if immune while getting applied
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar authored May 25, 2024
1 parent 91b6f0d commit 2294031
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions code/datums/components/hivemind_interference.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
src.interference = interference
src.max_buildup = max_buildup
src.dissipation = dissipation
to_chat(parent, SPAN_XENOHIGHDANGER("Your awareness dims to a small area!"))

/datum/component/status_effect/interference/InheritComponent(datum/component/status_effect/interference/inter, i_am_original, amount, max_buildup)
. = ..()
Expand Down
2 changes: 0 additions & 2 deletions code/game/objects/effects/effect_system/smoke.dm
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,6 @@
var/effect_amt = floor(6 + amount*6)

if(xeno_creature)
if(!HAS_TRAIT(xeno_creature, TRAIT_HIVEMIND_INTERFERENCE))
to_chat(xeno_creature, SPAN_XENOHIGHDANGER("Your awareness dims to a small area!"))
xeno_creature.AddComponent(/datum/component/status_effect/interference, 10, 10)
xeno_creature.blinded = TRUE
else
Expand Down
2 changes: 0 additions & 2 deletions code/modules/reagents/chemistry_properties/prop_positive.dm
Original file line number Diff line number Diff line change
Expand Up @@ -853,8 +853,6 @@
if(!isxeno(M))
return
var/mob/living/carbon/xenomorph/xeno = M
if(!HAS_TRAIT(xeno, TRAIT_HIVEMIND_INTERFERENCE))
to_chat(xeno, SPAN_XENOHIGHDANGER("Your awareness dims to a small area!"))
xeno.AddComponent(/datum/component/status_effect/interference, volume * potency, 90)

/datum/chem_property/positive/neutralizing
Expand Down

0 comments on commit 2294031

Please sign in to comment.