Tiger !. change, round 3

This commit is contained in:
Kyep
2017-01-28 21:34:31 -08:00
parent 3d893dae71
commit 23cd0f5563
3 changed files with 13 additions and 12 deletions
@@ -42,14 +42,15 @@
/mob/living/simple_animal/hostile/poison/terror_spider/purple/Life()
..()
if(!degenerate && spider_myqueen)
if(dcheck_counter >= 10)
dcheck_counter = 0
purple_distance_check()
else
dcheck_counter++
. = ..()
if(.) // if mob is NOT dead
if(!degenerate && spider_myqueen)
if(dcheck_counter >= 10)
dcheck_counter = 0
purple_distance_check()
else
dcheck_counter++
return .
/mob/living/simple_animal/hostile/poison/terror_spider/purple/proc/purple_distance_check()
if(spider_myqueen)
@@ -61,8 +61,8 @@
/mob/living/simple_animal/hostile/poison/terror_spider/queen/Life()
..()
if(stat != DEAD)
. = ..()
if(.) // if mob is NOT dead
if(ckey && canlay < 12 && hasnested) // max 12 eggs worth stored at any one time, realistically that's tons.
if(world.time > (spider_lastspawn + spider_spawnfrequency))
canlay++
@@ -73,7 +73,7 @@
to_chat(src, "<span class='notice'>You have [canlay] eggs available to lay. You won't grow any more eggs until you lay some of your existing ones.</span>")
else
to_chat(src, "<span class='notice'>You have [canlay] eggs available to lay.</span>")
return .
/mob/living/simple_animal/hostile/poison/terror_spider/queen/death(gibbed)
if(!hasdied)
@@ -277,7 +277,7 @@ var/global/list/ts_spiderling_list = list()
regen_points -= regen_points_per_hp
if(prob(5))
CheckFaction()
return .