mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 08:29:57 +01:00
Help Emote Tweak (#17457)
This commit is contained in:
@@ -61,7 +61,16 @@
|
||||
return
|
||||
|
||||
if(act == "help")
|
||||
to_chat(src,"<b>Usable emotes:</b> [english_list(usable_emotes)]")
|
||||
var/list/help_text = list()
|
||||
for(var/emote_key in usable_emotes)
|
||||
var/emote_text = emote_key
|
||||
var/singleton/emote/emote = usable_emotes[emote_key]
|
||||
if(istype(emote, /singleton/emote/audible))
|
||||
var/singleton/emote/audible/audible_emote = emote
|
||||
if(audible_emote.emote_sound)
|
||||
emote_text = SPAN_NOTICE(emote_key)
|
||||
help_text += emote_text
|
||||
to_chat(src,"<b>Usable emotes:</b> [english_list(help_text)]")
|
||||
return
|
||||
|
||||
if(!can_emote(m_type))
|
||||
|
||||
Reference in New Issue
Block a user