Adds the Frost Spider. Starts support for more complicated spiderlings.

This commit is contained in:
Anewbe
2017-09-17 23:43:31 -05:00
parent 356d551ace
commit d79a983eba
3 changed files with 19 additions and 1 deletions
+2 -1
View File
@@ -125,6 +125,7 @@
var/amount_grown = -1
var/obj/machinery/atmospherics/unary/vent_pump/entry_vent
var/travelling_in_vent = 0
var/list/grow_as = list(/mob/living/simple_animal/hostile/giant_spider, /mob/living/simple_animal/hostile/giant_spider/nurse, /mob/living/simple_animal/hostile/giant_spider/hunter)
/obj/effect/spider/spiderling/New(var/location, var/atom/parent)
pixel_x = rand(6,-6)
@@ -218,7 +219,7 @@
break
if(amount_grown >= 100)
var/spawn_type = pick(typesof(/mob/living/simple_animal/hostile/giant_spider))
var/spawn_type = pick(grow_as)
new spawn_type(src.loc, src)
qdel(src)
else if(isorgan(loc))
@@ -78,6 +78,22 @@
poison_per_bite = 5
/mob/living/simple_animal/hostile/giant_spider/frost
desc = "Icy and blue, it makes you shudder to look at it. This one has brilliant blue eyes."
icon_state = "frost"
icon_living = "frost"
icon_dead = "frost_dead"
maxHealth = 175
health = 175
melee_damage_lower = 15
melee_damage_upper = 20
poison_per_bite = 5
poison_type = "cryotoxin"
/mob/living/simple_animal/hostile/giant_spider/New(var/location, var/atom/parent)
get_light_and_color(parent)
..()
@@ -234,6 +250,7 @@
busy = 0
stop_automated_movement = 0
#undef SPINNING_WEB
#undef LAYING_EGGS
#undef MOVING_TO_TARGET
Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 KiB

After

Width:  |  Height:  |  Size: 250 KiB