mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 12:35:33 +01:00
Fixes for asay, asay darkmode, and asay when custom asay colors enabled (#43422)
About The Pull Request Fixes several annoying and unintentional things about asay. Fixes #43370 Changelog cl Nervere fix: Default color for when custom asay colors is not enabled is now orange, not red. fix: Asay is now properly bolded in lightmode. fix: Asay is now properly bolded in darkmode. tweak: Default color for when custom asay colors is enabled is now orange, not black. /cl closes #43370
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
mob.log_talk(msg, LOG_ASAY)
|
||||
msg = keywords_lookup(msg)
|
||||
var/custom_asay_color = (CONFIG_GET(flag/allow_admin_asaycolor) && prefs.asaycolor) ? "<font color=[prefs.asaycolor]>" : "<font color='red'>"
|
||||
var/custom_asay_color = (CONFIG_GET(flag/allow_admin_asaycolor) && prefs.asaycolor) ? "<font color=[prefs.asaycolor]>" : "<font color='#FF4500'>"
|
||||
msg = "<span class='adminsay'><span class='prefix'>ADMIN:</span> <EM>[key_name(usr, 1)]</EM> [ADMIN_FLW(mob)]: [custom_asay_color]<span class='message linkify'>[msg]</span></span>[custom_asay_color ? "</font>":null]"
|
||||
to_chat(GLOB.admins, msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user