From bb4c2354a8aa505bd960e9432338feac7ea79bb6 Mon Sep 17 00:00:00 2001 From: Kyep Date: Fri, 8 Feb 2019 05:37:51 -0800 Subject: [PATCH] mother updates --- .../hostile/terror_spiders/mother.dm | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 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 7ef903a7b48..1a34936ebfb 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 @@ -23,7 +23,7 @@ idle_ventcrawl_chance = 5 spider_tier = TS_TIER_3 spider_opens_doors = 2 - var/canspawn = 1 + var/canspawn = TRUE var/datum/action/innate/terrorspider/ventsmash/ventsmash_action /mob/living/simple_animal/hostile/poison/terror_spider/mother/New() @@ -33,24 +33,20 @@ /mob/living/simple_animal/hostile/poison/terror_spider/mother/death(gibbed) if(can_die()) - var/always_stillborn = FALSE if(spider_awaymission && !is_away_level(z)) - always_stillborn = TRUE + canspawn = FALSE if(canspawn) - canspawn = 0 + canspawn = FALSE for(var/i in 0 to 30) var/obj/structure/spider/spiderling/terror_spiderling/S = new /obj/structure/spider/spiderling/terror_spiderling(get_turf(src)) - S.grow_as = pick(/mob/living/simple_animal/hostile/poison/terror_spider/red, /mob/living/simple_animal/hostile/poison/terror_spider/gray) - if(always_stillborn || prob(66)) + if(prob(50)) S.stillborn = 1 - else if(prob(10)) - S.grow_as = pick(/mob/living/simple_animal/hostile/poison/terror_spider/black, /mob/living/simple_animal/hostile/poison/terror_spider/green) + 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 - S.immediate_ventcrawl = 1 visible_message("[src] breaks apart, the many spiders on its back scurrying everywhere!") degenerate = 1 return ..() /mob/living/simple_animal/hostile/poison/terror_spider/mother/Destroy() - canspawn = 0 + canspawn = FALSE return ..()