make fakeling chance a var too, come to think of it

This commit is contained in:
Kyep
2019-02-08 16:44:42 -08:00
parent 38e4c3f772
commit b001cb6947
@@ -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