mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
Set Ore Redemption Machines to use Low Priority Messages (#26444)
* Refactor createMessage out of message server * Change radio message * Add reminder * Fix linting errors * Fix more linting errors * Update priorities * Add low priority icon * Lower indent * Fix switch statement * Add low priority icon * No reminders for low priority messages * Update priorities in frontend * Build and update /tg/ui * Fix typo * Clarify purpose of return * [ci skip] * Build and update /tg/ui * [ci skip] * Build and update /tg/ui --------- Co-authored-by: Arthri <41360489+a@users.noreply.github.com> Co-authored-by: /tg/ui Builder <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Arthri
/tg/ui Builder <41898282+github-actions[bot]@users.noreply.github.com>
parent
5a897730c2
commit
494704e323
@@ -82,7 +82,7 @@ GLOBAL_LIST_EMPTY(message_servers)
|
||||
/obj/machinery/message_server/proc/send_pda_message(recipient = "", sender = "", message = "")
|
||||
pda_msgs += new/datum/data_pda_msg(recipient,sender,message)
|
||||
|
||||
/obj/machinery/message_server/proc/send_rc_message(recipient = "", sender = "", message = list(), stamp = "Not stamped", id_auth = "Not verified", priority = 1)
|
||||
/obj/machinery/message_server/proc/send_rc_message(recipient = "", sender = "", message = list(), stamp = "Not stamped", id_auth = "Not verified", priority = RQ_NORMALPRIORITY)
|
||||
if(!islist(message))
|
||||
message = list(message)
|
||||
rc_msgs += new/datum/data_rc_msg(recipient,sender,message,stamp,id_auth)
|
||||
@@ -91,7 +91,7 @@ GLOBAL_LIST_EMPTY(message_servers)
|
||||
if(ckey(RC.department) == ckey(recipient))
|
||||
var/title
|
||||
switch(priority)
|
||||
if(2)
|
||||
if(RQ_HIGHPRIORITY)
|
||||
title = "PRIORITY Alert from [sender]"
|
||||
else
|
||||
title = "Message from [sender]"
|
||||
|
||||
Reference in New Issue
Block a user