Merge pull request #4855 from Citadel-Station-13/upstream-merge-34266

[MIRROR] Goats eat plant people
This commit is contained in:
LetterJay
2018-01-16 03:53:55 -06:00
committed by GitHub

View File

@@ -90,6 +90,16 @@
else
return ..()
/mob/living/simple_animal/hostile/retaliate/goat/AttackingTarget()
. = ..()
if(. && ishuman(target))
var/mob/living/carbon/human/H = target
if(istype(H.dna.species, /datum/species/pod))
var/obj/item/bodypart/NB = pick(H.bodyparts)
H.visible_message("<span class='warning'>[src] takes a big chomp out of [H]!</span>", \
"<span class='userdanger'>[src] takes a big chomp out of your [NB]!</span>")
NB.dismember()
//cow
/mob/living/simple_animal/cow
name = "cow"