From b001cb69478ef0c8d33adf3aad957d5aa9fe6aa2 Mon Sep 17 00:00:00 2001 From: Kyep Date: Fri, 8 Feb 2019 16:44:42 -0800 Subject: [PATCH] make fakeling chance a var too, come to think of it --- .../living/simple_animal/hostile/terror_spiders/mother.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/simple_animal/hostile/terror_spiders/mother.dm b/code/modules/mob/living/simple_animal/hostile/terror_spiders/mother.dm index d525c7f3211..354f99db8af 100644 --- a/code/modules/mob/living/simple_animal/hostile/terror_spiders/mother.dm +++ b/code/modules/mob/living/simple_animal/hostile/terror_spiders/mother.dm @@ -25,7 +25,8 @@ spider_opens_doors = 2 web_type = null var/canspawn = TRUE - var/spawncount = 30 + var/spawn_count = 30 + var/spawn_pc_stillborn = 50 var/datum/action/innate/terrorspider/ventsmash/ventsmash_action /mob/living/simple_animal/hostile/poison/terror_spider/mother/New() @@ -39,9 +40,9 @@ canspawn = FALSE if(canspawn) canspawn = FALSE - for(var/i in 0 to spawncount) + for(var/i in 0 to spawn_count) var/obj/structure/spider/spiderling/terror_spiderling/S = new /obj/structure/spider/spiderling/terror_spiderling(get_turf(src)) - if(prob(50)) + if(prob(spawn_pc_stillborn)) S.stillborn = 1 S.grow_as = pick(/mob/living/simple_animal/hostile/poison/terror_spider/red, /mob/living/simple_animal/hostile/poison/terror_spider/gray, /mob/living/simple_animal/hostile/poison/terror_spider/green) S.amount_grown = 50 // double speed growth