mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
[NO GBP] Supermatter-spawned hallucination anomalies don't spawn decoys (#91634)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user