Merge pull request #20924 from KorPhaeron/frogs

Frog fixes and updates
This commit is contained in:
Cheridan
2016-10-11 23:25:13 -05:00
committed by GitHub
2 changed files with 11 additions and 4 deletions
@@ -20,16 +20,23 @@
ventcrawler = 2
faction = list("hostile")
attack_sound = 'sound/effects/Reee.ogg'
butcher_results = list(/obj/item/weapon/reagent_containers/food/snacks/nugget = 1)
pass_flags = PASSTABLE | PASSGRILLE | PASSMOB
mob_size = MOB_SIZE_TINY
gold_core_spawnable = 1
/mob/living/simple_animal/frog/New()
/mob/living/simple_animal/hostile/retaliate/frog/New()
..()
if(prob(1))
name = "rare frog"
desc = "It seems a little smug."
icon_state = "rare_frog"
icon_living = "rare_frog"
icon_dead = "rare_frog_dead"
butcher_results = list(/obj/item/weapon/reagent_containers/food/snacks/nugget = 5)
/mob/living/simple_animal/hostile/retaliate/frog/Crossed()
if(!stat)
playsound(src, 'sound/effects/Huuu.ogg', 100, 1)
/mob/living/simple_animal/hostile/retaliate/frog/Crossed(AM as mob|obj)
if(!stat && isliving(AM))
var/mob/living/L = AM
if(L.mob_size > MOB_SIZE_TINY)
playsound(src, 'sound/effects/Huuu.ogg', 50, 1)