diff --git a/code/modules/mob/living/carbon/human/emote.dm b/code/modules/mob/living/carbon/human/emote.dm index 15cd226ec68..d79a58f22d8 100644 --- a/code/modules/mob/living/carbon/human/emote.dm +++ b/code/modules/mob/living/carbon/human/emote.dm @@ -202,6 +202,31 @@ if(miming) m_type = 1 + if ("flip") + m_type = 1 + if (!src.restrained()) + var/M = null + if (param) + for (var/mob/A in view(1, null)) + if (param == A.name) + M = A + break + if (M == src) + M = null + + if (M) + if(src.lying || src.weakened) + message = "[src] flops and flails around on the floor." + else + message = "[src] flips in [M]'s general direction." + src.SpinAnimation(5,1) + else + if(src.lying || src.weakened) + message = "[src] flops and flails around on the floor." + else + message = "[src] does a flip!" + src.SpinAnimation(5,1) + if ("aflap") if (!src.restrained()) message = "[src] flaps his wings ANGRILY!"