Merge pull request #415 from Razgriz1032/Razgriz1032-Lizardman

Lizardman & Event
This commit is contained in:
Vollybally
2019-02-19 20:36:42 -05:00
committed by GitHub
5 changed files with 62 additions and 2 deletions
+2 -2
View File
@@ -61,14 +61,14 @@
var/list/spawn_types = list()
var/max_number
vermin = rand(0,2)
vermin = rand(0,1)
switch(vermin)
if(VERM_RATS)
spawn_types = list(/mob/living/simple_animal/mouse/event)
max_number = 6
vermstring = "mutant mice"
if(VERM_LIZARDMEN)
spawn_types = list(/mob/living/simple_animal/lizard)
spawn_types = list(/mob/living/simple_animal/lizard/event)
max_number = 6
vermstring = "mutant lizards"
@@ -22,3 +22,27 @@
speak_chance = 1
speak_emote = list("hisses")
var/amount_grown = 0
/mob/living/simple_animal/lizard/event
desc = "This one looks like it is growing huge!"
/mob/living/simple_animal/lizard/event/Life()
. = ..()
if(amount_grown >= 0)
amount_grown += rand(0,2)
if(amount_grown >= 100)
lizardman()
return
/mob/living/simple_animal/lizard/event/proc/lizardman()
visible_message("<span class='warning'>\The [src] suddenly evolves!</span>")
if(prob(99.999))
new /mob/living/simple_animal/hostile/lizardman(get_turf(src))
qdel(src)
else
new /mob/living/simple_animal/hostile/deathclaw(get_turf(src))
qdel(src)
@@ -0,0 +1,35 @@
/mob/living/simple_animal/hostile/lizardman //CHOMPERS addition, an aggressive angry lizardman.
name = "lizardman"
desc = "That is one buff, angry lizard."
tt_desc = "E Anolis cuvieri muscular"
icon = 'icons/mob/vore32x64.dmi'
icon_state = "lizardman"
icon_living = "lizardman"
icon_dead = "lizardman-dead"
maxHealth = 50
health = 50
speed = 4
investigates = TRUE
melee_damage_lower = 5
melee_damage_upper = 15
grab_resist = 100
attack_sound = 'sound/weapons/bite.ogg'
speak_chance = 4
speak = list("Gwar!","Rawr!","Hiss.")
speak_emote = list("growls","hisses")
say_maybe_target = list("Rawr?")
say_got_target = list("GWAR!!")
response_help = "pets the"
response_disarm = "bops the"
response_harm = "hits the"
attacktext = list("bit")
friendly = list("nuzzles", "licks", "noses softly at", "noseboops", "headbumps against", "leans on", "nibbles affectionately on")
vore_active = TRUE
vore_capacity = 1
vore_pounce_chance = 1
vore_icons = SA_ICON_LIVING