Update bumbles.dm

This commit is contained in:
Ghom
2020-03-28 03:35:12 +01:00
committed by GitHub
parent 013e591218
commit a85d590b1d
@@ -44,21 +44,19 @@
icon_state = "[icon_living]"
regenerate_icons()
/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) || 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)
if(!isturf(loc) || !CHECK_MOBILITY(src, MOBILITY_MOVE) || buckled)
return
/mob/living/simple_animal/pet/bumbles/bee_friendly()
return TRUE //treaty signed at the Beeneeva convention
/mob/living/simple_animal/pet/bumbles/update_mobility()
. = ..()
@@ -67,4 +65,4 @@
icon_state = "[icon_living]_rest"
else
icon_state = "[icon_living]"
regenerate_icons()
regenerate_icons()