mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
moves all admin requests in admin stuff section (#88396)
## About The Pull Request ~~i have absolutely no idea what all this is called correctly~~ adds `type = MESSAGE_TYPE_PRAYER` to all messages that are a request to admins. Because there is no reason why half of these requests should be of type "info" <details> <summary>Screenshots (before)</summary>   </details> <details> <summary>Screenshots (now)</summary>  </details> ## Why It's Good For The Game All requests can now be moved to a separate tab, without unnecessary information ## Changelog 🆑 admin: moves all admin requests in admin stuff section. Now they have type Prayers /🆑
This commit is contained in:
@@ -57,7 +57,9 @@
|
||||
to_chat(user, span_notice("Your name has been sent to your employers for approval."))
|
||||
// Autoapproves after a certain time
|
||||
response_timer_id = addtimer(CALLBACK(src, PROC_REF(rename_station), new_name, user.name, user.real_name, key_name(user)), approval_time, TIMER_STOPPABLE)
|
||||
to_chat(GLOB.admins, span_adminnotice("<b><font color=orange>CUSTOM STATION RENAME:</font></b>[ADMIN_LOOKUPFLW(user)] proposes to rename the [name_type] to [new_name] (will autoapprove in [DisplayTimeText(approval_time)]). [ADMIN_SMITE(user)] (<A HREF='?_src_=holder;[HrefToken(forceGlobal = TRUE)];reject_custom_name=[REF(src)]'>REJECT</A>) [ADMIN_CENTCOM_REPLY(user)]"))
|
||||
to_chat(GLOB.admins,
|
||||
span_adminnotice("<b><font color=orange>CUSTOM STATION RENAME:</font></b>[ADMIN_LOOKUPFLW(user)] proposes to rename the [name_type] to [new_name] (will autoapprove in [DisplayTimeText(approval_time)]). [ADMIN_SMITE(user)] (<A HREF='?_src_=holder;[HrefToken(forceGlobal = TRUE)];reject_custom_name=[REF(src)]'>REJECT</A>) [ADMIN_CENTCOM_REPLY(user)]"),
|
||||
type = MESSAGE_TYPE_PRAYER)
|
||||
for(var/client/admin_client in GLOB.admins)
|
||||
if(admin_client.prefs.toggles & SOUND_ADMINHELP)
|
||||
window_flash(admin_client, ignorepref = TRUE)
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
for(var/client/staff as anything in GLOB.admins)
|
||||
if(staff?.prefs.read_preference(/datum/preference/toggle/comms_notification))
|
||||
SEND_SOUND(staff, sound('sound/misc/server-ready.ogg'))
|
||||
to_chat(GLOB.admins, msg, confidential = TRUE)
|
||||
to_chat(GLOB.admins, msg, type = MESSAGE_TYPE_PRAYER, confidential = TRUE)
|
||||
for(var/obj/machinery/computer/communications/console in GLOB.shuttle_caller_list)
|
||||
console.override_cooldown()
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
for(var/client/staff as anything in GLOB.admins)
|
||||
if(staff?.prefs.read_preference(/datum/preference/toggle/comms_notification))
|
||||
SEND_SOUND(staff, sound('sound/misc/server-ready.ogg'))
|
||||
to_chat(GLOB.admins, msg, confidential = TRUE)
|
||||
to_chat(GLOB.admins, msg, type = MESSAGE_TYPE_PRAYER, confidential = TRUE)
|
||||
for(var/obj/machinery/computer/communications/console in GLOB.shuttle_caller_list)
|
||||
console.override_cooldown()
|
||||
|
||||
@@ -81,6 +81,6 @@
|
||||
msg = span_adminnotice("<b><font color=orange>NUKE CODE REQUEST:</font>[ADMIN_FULLMONTY(sender)] [ADMIN_CENTCOM_REPLY(sender)] [ADMIN_SET_SD_CODE]:</b> [msg]")
|
||||
for(var/client/staff as anything in GLOB.admins)
|
||||
SEND_SOUND(staff, sound('sound/misc/server-ready.ogg'))
|
||||
to_chat(GLOB.admins, msg, confidential = TRUE)
|
||||
to_chat(GLOB.admins, msg, type = MESSAGE_TYPE_PRAYER, confidential = TRUE)
|
||||
for(var/obj/machinery/computer/communications/console in GLOB.shuttle_caller_list)
|
||||
console.override_cooldown()
|
||||
|
||||
@@ -326,7 +326,10 @@ GLOBAL_VAR_INIT(nt_fax_department, pick("NT HR Department", "NT Legal Department
|
||||
history_add("Send", params["name"])
|
||||
|
||||
GLOB.requests.fax_request(usr.client, "sent a fax message from [fax_name]/[fax_id] to [params["name"]]", fax_paper)
|
||||
to_chat(GLOB.admins, span_adminnotice("[icon2html(src.icon, GLOB.admins)]<b><font color=green>FAX REQUEST: </font>[ADMIN_FULLMONTY(usr)]:</b> [span_linkify("sent a fax message from [fax_name]/[fax_id][ADMIN_FLW(src)] to [html_encode(params["name"])]")] [ADMIN_SHOW_PAPER(fax_paper)] [ADMIN_PRINT_FAX(fax_paper, fax_name, params["id"])]"), confidential = TRUE)
|
||||
to_chat(GLOB.admins,
|
||||
span_adminnotice("[icon2html(src.icon, GLOB.admins)]<b><font color=green>FAX REQUEST: </font>[ADMIN_FULLMONTY(usr)]:</b> [span_linkify("sent a fax message from [fax_name]/[fax_id][ADMIN_FLW(src)] to [html_encode(params["name"])]")] [ADMIN_SHOW_PAPER(fax_paper)] [ADMIN_PRINT_FAX(fax_paper, fax_name, params["id"])]"),
|
||||
type = MESSAGE_TYPE_PRAYER,
|
||||
confidential = TRUE)
|
||||
for(var/client/staff as anything in GLOB.admins)
|
||||
if(staff?.prefs.read_preference(/datum/preference/toggle/comms_notification))
|
||||
SEND_SOUND(staff, sound('sound/misc/server-ready.ogg'))
|
||||
|
||||
Reference in New Issue
Block a user