[NO GBP] Supermatter-spawned hallucination anomalies don't spawn decoys (#91634)

This commit is contained in:
Rhials
2025-06-21 22:36:04 -04:00
committed by Roxy
parent 2d87ad14ec
commit c8d83fb5a7
2 changed files with 10 additions and 1 deletions
@@ -14,6 +14,8 @@
span_warning("Something's wispering around you!"),
span_warning("You are going insane!"),
)
///Do we spawn misleading decoys?
var/spawn_decoys = TRUE
/obj/effect/anomaly/hallucination/Initialize(mapload, new_lifespan)
. = ..()
@@ -50,6 +52,9 @@
)
/obj/effect/anomaly/hallucination/proc/generate_decoys()
if(!spawn_decoys)
return
for(var/turf/floor in orange(1, src))
if(prob(35))
new /obj/effect/anomaly/hallucination/decoy(floor)
@@ -100,3 +105,7 @@
/obj/effect/anomaly/hallucination/decoy/generate_decoys()
return
///Subtype for the SM that doesn't spawn decoys, because otherwise the whole area gets flooded with dummies.
/obj/effect/anomaly/hallucination/supermatter
spawn_decoys = FALSE