mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 20:14:31 +01:00
Touchup soulcatcher emoting
This commit is contained in:
@@ -1,20 +1,4 @@
|
||||
// Not specifically /human type because those won't allow FBPs to use them
|
||||
/decl/emote/helper/nif/check_user(mob/living/carbon/human/user)
|
||||
if(!istype(user) || !user.nif)
|
||||
return FALSE
|
||||
return ..()
|
||||
|
||||
/decl/emote/helper/nif/nsay
|
||||
key = "nsay"
|
||||
/decl/emote/helper/nsay/do_emote(var/mob/living/carbon/human/user, var/extra_params)
|
||||
user.nsay()
|
||||
|
||||
/decl/emote/helper/nif/nme
|
||||
key = "nme"
|
||||
/decl/emote/helper/nme/do_emote(var/mob/living/carbon/human/user, var/extra_params)
|
||||
user.nme()
|
||||
|
||||
|
||||
/decl/emote/helper/vwag
|
||||
key = "vwag"
|
||||
emote_message_3p = ""
|
||||
|
||||
@@ -44,6 +44,14 @@
|
||||
act = copytext(tempstr,1,splitpoint)
|
||||
message = copytext(tempstr,splitpoint+1,0)
|
||||
|
||||
//VOREStation Add - NIF soulcatcher shortcuts
|
||||
if(act == "nsay")
|
||||
return nsay(message)
|
||||
|
||||
if(act == "nme")
|
||||
return nme(message)
|
||||
//VOREStation Add End
|
||||
|
||||
var/decl/emote/use_emote = usable_emotes[act]
|
||||
if(!use_emote)
|
||||
to_chat(src, SPAN_WARNING("Unknown emote '[act]'. Type <b>say *help</b> for a list of usable emotes."))
|
||||
|
||||
Reference in New Issue
Block a user