Threshold, broadcast

This commit is contained in:
Archie
2021-06-14 00:40:03 -03:00
parent 3afc6055a4
commit 8073f77d69
@@ -1,4 +1,4 @@
#define REVENANT_SPAWN_THRESHOLD 12
#define REVENANT_SPAWN_THRESHOLD 10
/datum/round_event_control/revenant
name = "Spawn Revenant" // Did you mean 'griefghost'?
@@ -23,6 +23,7 @@
if(is_station_level(M.z))
deadMobs++
if(deadMobs < REVENANT_SPAWN_THRESHOLD)
deadchat_broadcast("<span class='deadsay'>Event attempted to spawn a revenant, but there were only [deadMobs]/[REVENANT_SPAWN_THRESHOLD] dead mobs.</span>") //STOP ASSUMING IT'S BADMINS!
message_admins("Event attempted to spawn a revenant, but there were only [deadMobs]/[REVENANT_SPAWN_THRESHOLD] dead mobs.")
return WAITING_FOR_SOMETHING