Merge pull request #15480 from bgobandit/kitty

Cats now display a variety of catlike behaviors!
This commit is contained in:
duncathan salt
2016-02-17 17:07:05 -06:00
2 changed files with 17 additions and 0 deletions
@@ -66,6 +66,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.", "crouches on its hind legs."))
icon_state = "[icon_living]_sit"
resting = 1
else if (prob(1))
if (resting)
emote("me", 1, pick("gets up and meows.", "walks around."))
icon_state = "[icon_living]"
resting = 0
else
emote("me", 1, pick("grooms its fur.", "twitches its whiskers."))
//MICE!
if((src.loc) && isturf(src.loc))
if(!stat && !resting && !buckled)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 30 KiB