Merge pull request #3300 from Citadel-Station-13/upstream-merge-31406
[MIRROR] Adds Slappers
This commit is contained in:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user