diff --git a/code/modules/mob/living/simple_animal/friendly/bumbles.dm b/code/modules/mob/living/simple_animal/friendly/bumbles.dm index 013bb31b63..9f9ee68813 100644 --- a/code/modules/mob/living/simple_animal/friendly/bumbles.dm +++ b/code/modules/mob/living/simple_animal/friendly/bumbles.dm @@ -5,10 +5,10 @@ icon_living = "bumbles" icon_dead = "bumbles_dead" turns_per_move = 1 - response_help = "shoos" + response_help = "pets" response_disarm = "brushes aside" response_harm = "squashes" - speak_emote = list("bzzzs") + speak_emote = list("buzzes") maxHealth = 100 health = 100 harm_intent_damage = 1 @@ -20,10 +20,12 @@ mob_size = MOB_SIZE_TINY mob_biotypes = MOB_ORGANIC|MOB_BEAST gold_core_spawnable = FRIENDLY_SPAWN - verb_say = "bzzs" - verb_ask = "bzzs inquisitively" - verb_exclaim = "bzzs intensely" - verb_yell = "bzzs intensely" + verb_say = "buzzs" + verb_ask = "buzzes inquisitively" + verb_exclaim = "buzzes intensely" + verb_yell = "buzzes intensely" + emote_see = list("buzzes.", "makes a loud buzz.", "rolls several times.", "buzzes happily.") + speak_chance = 1 /mob/living/simple_animal/pet/bumbles/Initialize() . = ..() @@ -44,3 +46,22 @@ /mob/living/simple_animal/pet/bumbles/bee_friendly() return TRUE //treaty signed at the Beeneeva convention + +/mob/living/simple_animal/pet/bumbles/handle_automated_movement() + . = ..() + if(!isturf(loc) || !CHECK_MOBILITY(src, MOBILITY_MOVE) || buckled) + return + if(!resting && prob(1)) + emote("me", EMOTE_VISIBLE, pick("curls up on the surface below ", "is looking very sleepy.", "buzzes softly ", "looks around for a flower nap ")) + set_resting(TRUE) + else if (resting && prob(1)) + emote("me", EMOTE_VISIBLE, pick("wakes up with a smiling buzz.", "rolls upside down before waking up.", "stops resting.")) + set_resting(FALSE) +/mob/living/simple_animal/pet/bumbles/update_mobility() + . = ..() + if(stat != DEAD) + if(!CHECK_MOBILITY(src, MOBILITY_STAND)) + icon_state = "[icon_living]_rest" + else + icon_state = "[icon_living]" + regenerate_icons()