Adds Skeleton Crew Access (#31389)

* Spooky scary skeletons

* Spooky scary skeletons

* Spooky scary skeletons

* Merge

* Merge

* Update job_defines.dm

* Update support.dm

* Update support.dm

* Update science_jobs.dm

* Update support.dm

* Update security_jobs.dm

* Update cards_ids.dm

* Update cards_ids.dm

* Update support.dm

* Update cards_ids.dm

* config

* Update SSjobs.dm

* captaincy
This commit is contained in:
CRUNCH
2026-01-11 19:22:15 +00:00
committed by GitHub
parent 2df60ba208
commit b7ac71d48a
12 changed files with 302 additions and 104 deletions
@@ -1,5 +1,11 @@
/// Config holder for all job related things
/datum/configuration_section/job_configuration
/// Will the crew be given extended access if the manifest count is low enough?
var/allow_skeleton_crew_access = TRUE
/// Number of crew on the manifest needed to activate skeleton crew access
var/skeleton_crew_threshold = 30
/// Number of crew on the manifest needed to disable skeleton crew access
var/skeleton_crew_escape_threshold = 35
/// Do we want to restrict jobs based on account age
var/restrict_jobs_on_account_age = FALSE
/// Allow admins to bypass age-based job restrictions
@@ -29,6 +35,9 @@
/datum/configuration_section/job_configuration/load_data(list/data)
// Use the load wrappers here. That way the default isnt made 'null' if you comment out the config line
CONFIG_LOAD_BOOL(allow_skeleton_crew_access, data["allow_skeleton_crew_access"])
CONFIG_LOAD_BOOL(skeleton_crew_threshold, data["skeleton_crew_threshold"])
CONFIG_LOAD_BOOL(skeleton_crew_escape_threshold, data["skeleton_crew_escape_threshold"])
CONFIG_LOAD_BOOL(restrict_jobs_on_account_age, data["restrict_jobs_on_account_age"])
CONFIG_LOAD_BOOL(restrict_jobs_on_account_age_admin_bypass, data["restrict_jobs_on_account_age_admin_bypass"])
CONFIG_LOAD_BOOL(enable_exp_tracking, data["enable_exp_tracking"])