mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-16 02:24:11 +01:00
Bureacratic error event tweak
This commit is contained in:
@@ -11,10 +11,11 @@
|
||||
priority_announce("A recent bureaucratic error in the Organic Resources Department may result in personnel shortages in some departments and redundant staffing in others.", "Paperwork Mishap Alert")
|
||||
|
||||
/datum/round_event/bureaucratic_error/start()
|
||||
var/list/jobs = SSjob.occupations.Copy()
|
||||
var/list/jobs = SSjob.occupations.Copy()
|
||||
if(prob(33)) // Only allows latejoining as a single role. Add latejoin AI bluespace pods for fun later.
|
||||
var/datum/job/overflow = pick_n_take(jobs)
|
||||
SSjob.set_overflow_role(overflow.title) // Ensures infinite slots as this role. Assistant will still be open for those that cant.
|
||||
overflow.spawn_positions = -1
|
||||
overflow.total_positions = -1 // Ensures infinite slots as this role. Assistant will still be open for those that cant play it.
|
||||
for(var/job in jobs)
|
||||
var/datum/job/current = job
|
||||
if(current.title == "AI") // AI currently doesnt support latejoining past one total.
|
||||
|
||||
Reference in New Issue
Block a user