mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
Sets a Mob Cap for Giant Spiders (#15923)
* Counting and Capping for Giant Spider Spawning * Moves magic numbers into defines * Apply suggestions from code review Co-authored-by: dearmochi <shenesis@gmail.com> * Update code/controllers/subsystem/mobs.dm Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> * makes requested changes * I hope to god this fixes this * implements requested changes * removes double parent call Co-authored-by: dearmochi <shenesis@gmail.com> Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
@@ -9,6 +9,8 @@ SUBSYSTEM_DEF(mobs)
|
||||
var/static/list/clients_by_zlevel[][]
|
||||
var/static/list/dead_players_by_zlevel[][] = list(list()) // Needs to support zlevel 1 here, MaxZChanged only happens when CC is created and new_players can login before that.
|
||||
var/static/list/cubemonkeys = list()
|
||||
/// The amount of giant spiders that exist in the world. Used for mob capping.
|
||||
var/giant_spiders = 0
|
||||
|
||||
/datum/controller/subsystem/mobs/stat_entry()
|
||||
..("P:[GLOB.mob_living_list.len]")
|
||||
|
||||
Reference in New Issue
Block a user