mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +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:
@@ -56,6 +56,12 @@
|
||||
for(var/obj/structure/spider/S in range(1, get_turf(src)))
|
||||
return S
|
||||
|
||||
/mob/living/simple_animal/hostile/poison/giant_spider/death(gibbed)
|
||||
. = ..()
|
||||
if(!.)
|
||||
return FALSE
|
||||
SSmobs.giant_spiders--
|
||||
|
||||
//nursemaids - these create webs and eggs
|
||||
/mob/living/simple_animal/hostile/poison/giant_spider/nurse
|
||||
desc = "Furry and black, it makes you shudder to look at it. This one has brilliant green eyes."
|
||||
|
||||
Reference in New Issue
Block a user