Cats now display a variety of catlike behaviors!

This commit is contained in:
bgobandit
2016-02-12 19:09:24 -05:00
parent 1449640867
commit 6ffbb12bef
2 changed files with 17 additions and 0 deletions
@@ -41,6 +41,23 @@
gold_core_spawnable = 0
/mob/living/simple_animal/pet/cat/Life()
if(!stat && !buckled)
if(prob(1))
emote("me", 1, pick("stretches out for a belly rub.", "wags its tail."))
icon_state = "[icon_living]_rest"
resting = 1
else if (prob(1))
emote("me", 1, pick("sits down."))
icon_state = "[icon_living]_sit"
resting = 1
else if (prob(1))
if (resting)
emote("me", 1, pick("gets up and meows."))
icon_state = "[icon_living]"
resting = 0
else
emote("me", 1, pick("grooms her fur."))
//MICE!
if((src.loc) && isturf(src.loc))
if(!stat && !resting && !buckled)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 26 KiB