Mutant passive mobs

Just the mice and the lizards before they evolve
This commit is contained in:
Razgriz
2020-07-14 15:39:01 -07:00
committed by GitHub
parent 3fc88dee58
commit acfb4994b7
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
/mob/living/simple_mob/animal/passive/lizard/event
desc = "This one looks like it is growing huge!"
var/amount_grown = 0
/mob/living/simple_mob/animal/passive/lizard/event/Life()
. = ..()
if(amount_grown >= 0)
amount_grown += rand(0,4)
if(amount_grown >= 100 && icon_state != icon_dead)
man()
return
/mob/living/simple_mob/animal/passive/lizard/event/proc/man()
visible_message("<span class='warning'>\The [src] suddenly evolves!</span>")
new /mob/living/simple_mob/vore/aggressive/lizardman(get_turf(src))
qdel(src)

View File

@@ -0,0 +1,16 @@
/mob/living/simple_mob/animal/passive/mouse/event
desc = "This one looks like it is growing huge!"
var/amount_grown = 0
/mob/living/simple_mob/animal/passive/mouse/event/Life()
. = ..()
if(amount_grown >= 0)
amount_grown += rand(0,4)
if(amount_grown >= 100 && icon_state != icon_dead)
rat()
return
/mob/living/simple_mob/animal/passive/mouse/event/proc/rat()
visible_message("<span class='warning'>\The [src] suddenly evolves!</span>")
new /mob/living/simple_mob/vore/aggressive/rat/event(get_turf(src))
qdel(src)