From 8af2ee0fddf7d7d95f9f3f032739f706f60edd86 Mon Sep 17 00:00:00 2001
From: ExcessiveUseOfCobblestone
<11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
Date: Thu, 11 Jan 2018 22:37:41 -0500
Subject: [PATCH] Pointing will now properly reflect a lack of arms (and legs!)
(#34259)
* Update emote.dm
* Update emote.dm
* Update emote.dm
* toot
---
code/modules/mob/living/emote.dm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/code/modules/mob/living/emote.dm b/code/modules/mob/living/emote.dm
index 7a7a6e19d7..ef2cebecf2 100644
--- a/code/modules/mob/living/emote.dm
+++ b/code/modules/mob/living/emote.dm
@@ -231,6 +231,19 @@
message_param = "points at %t."
restraint_check = TRUE
+/datum/emote/living/point/run_emote(mob/user, params)
+ message_param = initial(message_param) // reset
+ if(ishuman(user))
+ var/mob/living/carbon/human/H = user
+ if(H.get_num_arms() == 0)
+ if(H.get_num_legs() != 0)
+ message_param = "tries to point at %t with a leg, falling down in the process!"
+ H.Knockdown(20)
+ else
+ message_param = "bumps their head on the ground trying to motion towards %t."
+ H.adjustBrainLoss(5)
+ ..()
+
/datum/emote/living/pout
key = "pout"
key_third_person = "pouts"