mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Merge pull request #15480 from bgobandit/kitty
Cats now display a variety of catlike behaviors!
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user