blackbox: Record biohazard pop at intervals. (#26930)

* blackbox: Record biohazard pop at intervals.

* associative fine here

* don't use recursive timer callbacks
This commit is contained in:
warriorstar-orion
2024-10-22 12:09:36 +00:00
committed by GitHub
parent b066c95bfc
commit f27feae258
6 changed files with 46 additions and 8 deletions
+2 -1
View File
@@ -41,4 +41,5 @@
spawncount--
successSpawn = TRUE
SSevents.biohazards_this_round += "Xenomorphs"
SSticker.record_biohazard_start(BIOHAZARD_XENO)
SSevents.biohazards_this_round += BIOHAZARD_XENO
+1 -1
View File
@@ -39,4 +39,4 @@
to_chat(B, "<span class='motd'>For more information, check the wiki page: ([GLOB.configuration.url.wiki_url]/index.php/Blob)</span>")
notify_ghosts("Infected Mouse has appeared in [get_area(B)].", source = B, action = NOTIFY_FOLLOW)
successSpawn = TRUE
SSevents.biohazards_this_round += "Blob"
SSevents.biohazards_this_round += BIOHAZARD_BLOB
+1
View File
@@ -66,6 +66,7 @@
S.give_intro_text()
spawncount--
successSpawn = TRUE
SSticker.record_biohazard_start(infestation_type)
SSevents.biohazards_this_round += infestation_type
#undef TS_HIGHPOP_TRIGGER