Fixes basic spiderlings becoming ice spiders
This commit is contained in:
@@ -172,7 +172,7 @@
|
|||||||
amount_grown += rand(0,2)
|
amount_grown += rand(0,2)
|
||||||
if(amount_grown >= 100)
|
if(amount_grown >= 100)
|
||||||
if(!grow_as)
|
if(!grow_as)
|
||||||
grow_as = pick(typesof(/mob/living/simple_animal/hostile/poison/giant_spider))
|
grow_as = pick(/mob/living/simple_animal/hostile/poison/giant_spider, /mob/living/simple_animal/hostile/poison/giant_spider/hunter, /mob/living/simple_animal/hostile/poison/giant_spider/nurse)
|
||||||
var/mob/living/simple_animal/hostile/poison/giant_spider/S = new grow_as(src.loc)
|
var/mob/living/simple_animal/hostile/poison/giant_spider/S = new grow_as(src.loc)
|
||||||
S.poison_per_bite = poison_per_bite
|
S.poison_per_bite = poison_per_bite
|
||||||
S.poison_type = poison_type
|
S.poison_type = poison_type
|
||||||
|
|||||||
@@ -218,26 +218,7 @@
|
|||||||
|
|
||||||
//mobs//--
|
//mobs//--
|
||||||
|
|
||||||
/mob/living/simple_animal/hostile/poison/giant_spider/ice //spiders dont usually like tempatures of 140 kelvin who knew
|
//ice spiders moved to giant_spiders.dm
|
||||||
name = "giant ice spider"
|
|
||||||
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)
|
|
||||||
minbodytemp = 0
|
|
||||||
maxbodytemp = 1500
|
|
||||||
color = rgb(114,228,250)
|
|
||||||
|
|
||||||
/mob/living/simple_animal/hostile/poison/giant_spider/nurse/ice
|
|
||||||
name = "giant ice spider"
|
|
||||||
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)
|
|
||||||
minbodytemp = 0
|
|
||||||
maxbodytemp = 1500
|
|
||||||
color = rgb(114,228,250)
|
|
||||||
|
|
||||||
/mob/living/simple_animal/hostile/poison/giant_spider/hunter/ice
|
|
||||||
name = "giant ice spider"
|
|
||||||
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)
|
|
||||||
minbodytemp = 0
|
|
||||||
maxbodytemp = 1500
|
|
||||||
color = rgb(114,228,250)
|
|
||||||
|
|
||||||
//objs//--
|
//objs//--
|
||||||
|
|
||||||
|
|||||||
@@ -103,6 +103,30 @@
|
|||||||
poison_per_bite = 5
|
poison_per_bite = 5
|
||||||
move_to_delay = 5
|
move_to_delay = 5
|
||||||
|
|
||||||
|
/mob/living/simple_animal/hostile/poison/giant_spider/ice //spiders dont usually like tempatures of 140 kelvin who knew
|
||||||
|
name = "giant ice spider"
|
||||||
|
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)
|
||||||
|
minbodytemp = 0
|
||||||
|
maxbodytemp = 1500
|
||||||
|
color = rgb(114,228,250)
|
||||||
|
gold_core_spawnable = 0
|
||||||
|
|
||||||
|
/mob/living/simple_animal/hostile/poison/giant_spider/nurse/ice
|
||||||
|
name = "giant ice spider"
|
||||||
|
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)
|
||||||
|
minbodytemp = 0
|
||||||
|
maxbodytemp = 1500
|
||||||
|
color = rgb(114,228,250)
|
||||||
|
gold_core_spawnable = 0
|
||||||
|
|
||||||
|
/mob/living/simple_animal/hostile/poison/giant_spider/hunter/ice
|
||||||
|
name = "giant ice spider"
|
||||||
|
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)
|
||||||
|
minbodytemp = 0
|
||||||
|
maxbodytemp = 1500
|
||||||
|
color = rgb(114,228,250)
|
||||||
|
gold_core_spawnable = 0
|
||||||
|
|
||||||
/mob/living/simple_animal/hostile/poison/giant_spider/handle_automated_action()
|
/mob/living/simple_animal/hostile/poison/giant_spider/handle_automated_action()
|
||||||
if(!..()) //AIStatus is off
|
if(!..()) //AIStatus is off
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user