mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-21 19:16:22 +01:00
Merge pull request #415 from Razgriz1032/Razgriz1032-Lizardman
Lizardman & Event
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user