Merge pull request #8995 from Kyep/job_slot_scaling

High-Pop Job Slots
This commit is contained in:
tigercat2000
2018-06-13 15:35:44 -07:00
committed by GitHub
3 changed files with 49 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
/hook/roundstart/proc/jobscaling()
sleep(10 SECONDS) // give everyone time to finish spawning, and the lag to die down
var/playercount = length(clients)
var/highpop_trigger = 80
if(playercount >= highpop_trigger)
log_debug("Playercount: [playercount] versus trigger: [highpop_trigger] - loading highpop job config");
job_master.LoadJobs("config/jobs_highpop.txt")
else
log_debug("Playercount: [playercount] versus trigger: [highpop_trigger] - keeping standard job config");
return 1
+37
View File
@@ -0,0 +1,37 @@
Captain=1
Head of Personnel=1
Head of Security=1
Chief Engineer=1
Research Director=1
Chief Medical Officer=1
Station Engineer=5
Roboticist=1
Medical Doctor=5
Geneticist=2
Virologist=1
Scientist=3
Chemist=2
Bartender=1
Botanist=2
Chef=1
Janitor=1
Quartermaster=1
Shaft Miner=3
Warden=1
Detective=1
Security Officer=7
Assistant=-1
Atmospheric Technician=4
Cargo Technician=3
Chaplain=1
Lawyer=2
Librarian=1
AI=1
Cyborg=1
+1
View File
@@ -530,6 +530,7 @@
#include "code\game\jobs\job_controller.dm"
#include "code\game\jobs\job_exp.dm"
#include "code\game\jobs\job_objective.dm"
#include "code\game\jobs\job_scaling.dm"
#include "code\game\jobs\jobs.dm"
#include "code\game\jobs\whitelist.dm"
#include "code\game\jobs\job\central.dm"