mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-07-12 16:45:12 +01:00
Merge branch 'release' of https://github.com/VOREStation/VOREStation into voreupdate-2
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
|
||||
var/decl/emote/use_emote = get_emote_by_key(act)
|
||||
if(!istype(use_emote))
|
||||
to_chat(src, span_warning("Unknown emote '[act]'. Type <b>say *help</b> for a list of usable emotes."))
|
||||
to_chat(src, span_warning("Unknown emote '[act]'. Type " + span_bold("say *help") + " for a list of usable emotes. ([act] [message])")) // Add full message in the event you used * instead of ! or something like that
|
||||
return
|
||||
|
||||
if(!use_emote.mob_can_use(src))
|
||||
@@ -210,6 +210,7 @@
|
||||
var/turf/T = get_turf(src)
|
||||
|
||||
if(!T) return
|
||||
|
||||
if(client)
|
||||
playsound(T, pick(emote_sound), 25, TRUE, falloff = 1 , is_global = TRUE, frequency = ourfreq, ignore_walls = FALSE, preference = /datum/preference/toggle/emote_sounds)
|
||||
|
||||
@@ -224,7 +225,11 @@
|
||||
message = span_emote(span_bold("[src]") + " ([ghost_follow_link(src, M)]) [input]")
|
||||
if(usr && usr.client && M && !(get_z(usr) == get_z(M)))
|
||||
message = span_multizsay("[message]")
|
||||
M.show_message(message, m_type)
|
||||
// If you are in the same tile, right next to, or being held by a person doing an emote, you should be able to see it while blind
|
||||
if(m_type != AUDIBLE_MESSAGE && (src.Adjacent(M) || (istype(src.loc, /obj/item/holder) && src.loc.loc == M)))
|
||||
M.show_message(message)
|
||||
else
|
||||
M.show_message(message, m_type)
|
||||
M.create_chat_message(src, "[runemessage]", FALSE, list("emote"), (m_type == AUDIBLE_MESSAGE))
|
||||
|
||||
for(var/obj/O as anything in o_viewers)
|
||||
|
||||
Reference in New Issue
Block a user