mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Pops up a little bubble when you're requesting a high-five, along with some other emotes (#20472)
* High five! * Add in-hand use * use in hand too * closing remarks * better looking * Fixes daps * grab my hand fat man * hand shake * Implement missed messages * i can spell * Update code/modules/mob/living/carbon/human/human_emote.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * Review concerns * Add some auto-doc, minor changes * more cleverly handles pointing * Update code/modules/point/point.dm Path clarity Co-authored-by: Farie82 <farie82@users.noreply.github.com> --------- Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
@@ -18,6 +18,18 @@
|
||||
if(force)
|
||||
return ..()
|
||||
|
||||
/obj/item/slapper/attack_self(mob/user)
|
||||
. = ..()
|
||||
if(!isliving(user))
|
||||
return
|
||||
var/mob/living/L = user
|
||||
if(!L.has_status_effect(STATUS_EFFECT_HIGHFIVE))
|
||||
L.apply_status_effect(STATUS_EFFECT_HIGHFIVE)
|
||||
L.visible_message(
|
||||
"<span class='notice'[user] raises [user.p_their()] hand for a high-five!</span>",
|
||||
"<span class='notice'>You raise your hand for a high-five!</span>"
|
||||
)
|
||||
|
||||
/obj/item/slapper/attack_obj(obj/O, mob/living/user, params)
|
||||
if(!istype(O, /obj/structure/table))
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user