From aa772eb2c7edb29cc95887782245963a6eac4e1d Mon Sep 17 00:00:00 2001
From: SkyratBot <59378654+SkyratBot@users.noreply.github.com>
Date: Wed, 23 Sep 2020 06:56:14 +0200
Subject: [PATCH] [MIRROR] adds headpatting (#924)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* Merge pull request #53855 from imsxz/twaticus
About The Pull Request
i made a PR just like this like a year or 2 ago and it got closed under dubious circumstances, especially since it had more upvotes than downvotes. this is a feature that the community wants. it is a 5 line change PR, not much to note on it, very simple.
Why It's Good For The Game
/tg/ is lacking in roleplay tailored mechanics and instead relies on the good graces of the players to interact politely with each other.
Changelog
🆑 imsxz
add: you can now pat carbon mobs on the head.
/🆑
* adds headpatting
Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
---
code/modules/mob/living/carbon/carbon_defense.dm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/code/modules/mob/living/carbon/carbon_defense.dm b/code/modules/mob/living/carbon/carbon_defense.dm
index 44fa6b96a54..6a9f322949a 100644
--- a/code/modules/mob/living/carbon/carbon_defense.dm
+++ b/code/modules/mob/living/carbon/carbon_defense.dm
@@ -431,6 +431,11 @@
null, "You hear the rustling of clothes.", DEFAULT_MESSAGE_RANGE, list(M, src))
to_chat(M, "You shake [src] trying to pick [p_them()] up!")
to_chat(src, "[M] shakes you to get you up!")
+
+ else if(check_zone(M.zone_selected) == BODY_ZONE_HEAD) //Headpats!
+ M.visible_message("[M] gives [src] a pat on the head to make [p_them()] feel better!", \
+ "You give [src] a pat on the head to make [p_them()] feel better!")
+
else
M.visible_message("[M] hugs [src] to make [p_them()] feel better!", \
null, "You hear the rustling of clothes.", DEFAULT_MESSAGE_RANGE, list(M, src))