Merge pull request #4783 from Citadel-Station-13/upstream-merge-34259
[MIRROR] Pointing will now properly reflect a lack of arms (and legs!)
This commit is contained in:
@@ -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, <span class='userdanger'>falling down</span> in the process!"
|
||||
H.Knockdown(20)
|
||||
else
|
||||
message_param = "<span class='userdanger'>bumps their head on the ground</span> trying to motion towards %t."
|
||||
H.adjustBrainLoss(5)
|
||||
..()
|
||||
|
||||
/datum/emote/living/pout
|
||||
key = "pout"
|
||||
key_third_person = "pouts"
|
||||
|
||||
Reference in New Issue
Block a user