mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
dchat now gets an alert on what jobs have changed in Bureaucratic error (#21214)
* dchat now gets an alert on what jobs have changed in a Bureaucratic Error event * Update code/modules/events/bureaucratic_error.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> --------- Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
if(overflow.type in blacklisted_jobs)
|
||||
continue
|
||||
overflow.total_positions = max(overflow.total_positions + random_change, 0)
|
||||
affected_jobs += "[overflow.title] slot changed by [random_change]."
|
||||
affected_jobs += "[overflow.title] slot changed by [random_change]"
|
||||
errors++
|
||||
log_and_message_admins(affected_jobs.Join("\n"))
|
||||
log_and_message_admins(affected_jobs.Join(".\n"))
|
||||
for(var/mob/M as anything in GLOB.dead_mob_list)
|
||||
to_chat(M, "<span class='deadsay'><b>Bureaucratic Error:</b> The following job slots have changed: [affected_jobs.Join(", ")].</span>")
|
||||
|
||||
Reference in New Issue
Block a user