mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Recategorize in-game announcements by priority. (#19639)
This commit is contained in:
@@ -747,14 +747,14 @@
|
||||
to_chat(H, "<span class='userdanger'>You feel surrounded by sadness. Sadness... and HONKS!</span>")
|
||||
H.makeCluwne()
|
||||
else if(myeffect == "Demote")
|
||||
GLOB.event_announcement.Announce("[target.real_name] is hereby demoted to the rank of Assistant. Process this demotion immediately. Failure to comply with these orders is grounds for termination.","CC Demotion Order")
|
||||
GLOB.major_announcement.Announce("[target.real_name] is hereby demoted to the rank of Assistant. Process this demotion immediately. Failure to comply with these orders is grounds for termination.","CC Demotion Order")
|
||||
for(var/datum/data/record/R in sortRecord(GLOB.data_core.security))
|
||||
if(R.fields["name"] == target.real_name)
|
||||
R.fields["criminal"] = SEC_RECORD_STATUS_DEMOTE
|
||||
R.fields["comments"] += "Central Command Demotion Order, given on [GLOB.current_date_string] [station_time_timestamp()]<BR> Process this demotion immediately. Failure to comply with these orders is grounds for termination."
|
||||
update_all_mob_security_hud()
|
||||
else if(myeffect == "Demote with Bot")
|
||||
GLOB.event_announcement.Announce("[target.real_name] is hereby demoted to the rank of Assistant. Process this demotion immediately. Failure to comply with these orders is grounds for termination.","CC Demotion Order")
|
||||
GLOB.major_announcement.Announce("[target.real_name] is hereby demoted to the rank of Assistant. Process this demotion immediately. Failure to comply with these orders is grounds for termination.","CC Demotion Order")
|
||||
for(var/datum/data/record/R in sortRecord(GLOB.data_core.security))
|
||||
if(R.fields["name"] == target.real_name)
|
||||
R.fields["criminal"] = SEC_RECORD_STATUS_ARREST
|
||||
|
||||
Reference in New Issue
Block a user