Merge pull request #3300 from Citadel-Station-13/upstream-merge-31406

[MIRROR] Adds Slappers
This commit is contained in:
LetterJay
2017-10-10 22:34:28 -04:00
committed by GitHub
2 changed files with 38 additions and 0 deletions
+13
View File
@@ -513,3 +513,16 @@
else
qdel(N)
to_chat(user, "<span class='warning'>You don't have any free hands to make a circle with.</span>")
/datum/emote/living/slap
key = "slap"
key_third_person = "slaps"
restraint_check = TRUE
/datum/emote/living/slap/run_emote(mob/user, params)
. = ..()
var/obj/item/slapper/N = new(user)
if(user.put_in_hands(N))
to_chat(user, "<span class='notice'>You ready your slapping hand.</span>")
else
to_chat(user, "<span class='warning'>You're incapable of slapping in your current state.</span>")