mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
[MIRROR] Adds a seperate chat category for prayers [MDB IGNORE] (#18434)
* Separate chat category for prayers (#72274) ## About The Pull Request Smithers asked me to, and he's pretty cool. Said something about being hard to notice prayers and wanting to be able to make a unique pane for them. This doesn't include subtle messages, tho they're dumped into admin log so it wouldn't be that hard to stick them in the same subcategory. lemme know if that's an issue 🆑 admin: Added a new chat category for prayers. Filter them out, move them to their own pane, live your best life /🆑 * Adds a seperate chat category for prayers Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
co-authored by
LemonInTheDark
parent
dff152d698
commit
c141754476
@@ -44,7 +44,7 @@
|
||||
msg = span_adminnotice("[icon2html(cross, GLOB.admins)]<b><font color=[font_color]>[prayer_type][deity ? " (to [deity])" : ""]: </font>[ADMIN_FULLMONTY(src)] [ADMIN_SC(src)]:</b> [span_linkify(msg)]")
|
||||
for(var/client/C in GLOB.admins)
|
||||
if(C.prefs.chat_toggles & CHAT_PRAYER)
|
||||
to_chat(C, msg, confidential = TRUE)
|
||||
to_chat(C, msg, type = MESSAGE_TYPE_PRAYER, confidential = TRUE)
|
||||
to_chat(usr, span_info("You pray to the gods: \"[msg_tmp]\""), confidential = TRUE)
|
||||
|
||||
SSblackbox.record_feedback("tally", "admin_verb", 1, "Prayer") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
Reference in New Issue
Block a user