mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
## About The Pull Request Before there were two settings for human authority: `ENFORCE_HUMAN_AUTHORITY` and `ENFORCE_HUMAN_AUTHORITY_ON_EVERYONE` The first, if enabled, would not let non-humans be heads of staff unless they had a specific var on their job set to TRUE. The second, if enabled, would simply ignore that var and reject the non-human anyways. This PR replaces both of those settings with a single one, `HUMAN_AUTHORITY`. You can set it to one of four settings: * "OFF": human authority will be turned OFF. Non-Humans will be able to be heads of staff. * "HUMAN WHITELIST": human authority will be turned OFF, HOWEVER; if a job has its new `human_authority` variable set to `JOB_AUTHORITY_HUMANS_ONLY`, then whoever picks that job will be forced to be human. * "NON-HUMAN WHITELIST": human authority will be turned ON. However, if a job has its `human_authority` variable set to `JOB_AUTHORITY_NON_HUMANS_ALLOWED`, a non-human can become that job. This is what we have now, it works the same as if `ENFORCE_HUMAN_AUTHORITY` were turned on. This is also what I've set as the default value. * "ENFORCED" human authority will be turned ON. Non-Humans will never be able to be heads of staff. This is what `ENFORCE_HUMAN_AUTHORITY_ON_EVERYONE` used to do. You can also now set the `human_authority` variable through `jobconfig.toml`! ## Why It's Good For The Game Allows more configuration options for downstreams, and lets keyholders and headmins have more options over how to set up human authority. ## Changelog 🆑 config: Both human authority settings were combined into a singular one, allowing for more flexibility /🆑 --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
287 lines
8.2 KiB
TOML
287 lines
8.2 KiB
TOML
## This is the configuration file for the job system.
|
|
## This will only be enabled when the config flag LOAD_JOBS_FROM_TXT is enabled.
|
|
## We use a system of keys here that directly correlate to the job, just to ensure they don't desync if we choose to change the name of a job.
|
|
## You are able to change (as of now) five (six if the job is a command head) different variables in this file.
|
|
## Total Positions are how many job slots you get in a shift, Spawn Positions are how many you get that load in at spawn. If you set this to -1, it is unrestricted.
|
|
## Playtime Requirements is in minutes, and the job will unlock when a player reaches that amount of time.
|
|
## However, that can be superseded by Required Account Age, which is a time in days that you need to have had an account on the server for.
|
|
## Also there is a required character age in years. It prevents player from joining as this job, if their character's age as is lower than required. Setting it to 0 means it is turned off for this job.
|
|
## Lastly there's Human Authority Whitelist Setting. You can set it to either "HUMANS_ONLY" or "NON_HUMANS_ALLOWED". Check the "Human Authority" setting on the game_options file to know which you should choose. Note that this entry only appears on jobs that are marked as heads of staff.
|
|
|
|
## As time goes on, more config options may be added to this file.
|
|
## You can use the admin verb 'Generate Job Configuration' in-game to auto-regenerate this config as a downloadable file without having to manually edit this file if we add more jobs or more things you can edit here.
|
|
## It will always respect prior-existing values in the config, but will appropriately add more fields when they generate.
|
|
## It's strongly advised you create your own version of this file rather than use the one provisioned on the codebase.
|
|
|
|
## The game will not read any line that is commented out with a '#', as to allow you to defer to codebase defaults.
|
|
## If you want to override the codebase values, add the value and then uncomment that line by removing the # from the job key's name.
|
|
## Ensure that the key is flush, do not introduce any whitespaces when you uncomment a key. For example:
|
|
## "# Total Positions" should always be changed to "Total Positions", no additional spacing.
|
|
## Best of luck editing!
|
|
|
|
[AI]
|
|
"# Playtime Requirements" = 180
|
|
"# Required Account Age" = 30
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[ASSISTANT]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = -1
|
|
"# Total Positions" = -1
|
|
|
|
[ATMOSPHERIC_TECHNICIAN]
|
|
"# Playtime Requirements" = 60
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 2
|
|
"# Total Positions" = 3
|
|
|
|
[BARTENDER]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[BITRUNNER]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 3
|
|
"# Total Positions" = 3
|
|
|
|
[BOTANIST]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 2
|
|
"# Total Positions" = 3
|
|
|
|
[CAPTAIN]
|
|
"# Human Authority Whitelist Setting" = "HUMANS_ONLY"
|
|
"# Playtime Requirements" = 180
|
|
"# Required Account Age" = 14
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[CARGO_TECHNICIAN]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 3
|
|
"# Total Positions" = 5
|
|
|
|
[CHAPLAIN]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[CHEMIST]
|
|
"# Playtime Requirements" = 60
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 2
|
|
"# Total Positions" = 2
|
|
|
|
[CHIEF_ENGINEER]
|
|
"# Human Authority Whitelist Setting" = "HUMANS_ONLY"
|
|
"# Playtime Requirements" = 180
|
|
"# Required Account Age" = 7
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[CHIEF_MEDICAL_OFFICER]
|
|
"# Human Authority Whitelist Setting" = "HUMANS_ONLY"
|
|
"# Playtime Requirements" = 180
|
|
"# Required Account Age" = 7
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[CLOWN]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[COOK]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 2
|
|
|
|
[CORONER]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[CURATOR]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[CYBORG]
|
|
"# Playtime Requirements" = 120
|
|
"# Required Account Age" = 21
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 3
|
|
"# Total Positions" = 0
|
|
|
|
[DETECTIVE]
|
|
"# Playtime Requirements" = 300
|
|
"# Required Account Age" = 7
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[GENETICIST]
|
|
"# Playtime Requirements" = 60
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 2
|
|
"# Total Positions" = 2
|
|
|
|
[HEAD_OF_PERSONNEL]
|
|
"# Human Authority Whitelist Setting" = "HUMANS_ONLY"
|
|
"# Playtime Requirements" = 180
|
|
"# Required Account Age" = 10
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[HEAD_OF_SECURITY]
|
|
"# Human Authority Whitelist Setting" = "HUMANS_ONLY"
|
|
"# Playtime Requirements" = 300
|
|
"# Required Account Age" = 14
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[JANITOR]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 2
|
|
|
|
[LAWYER]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 2
|
|
"# Total Positions" = 2
|
|
|
|
[MEDICAL_DOCTOR]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 4
|
|
"# Total Positions" = 6
|
|
|
|
[MIME]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[PARAMEDIC]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 2
|
|
"# Total Positions" = 2
|
|
|
|
[PRISONER]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 2
|
|
"# Total Positions" = 0
|
|
|
|
[PSYCHOLOGIST]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[QUARTERMASTER]
|
|
"# Human Authority Whitelist Setting" = "NON_HUMANS_ALLOWED"
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 7
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[RESEARCH_DIRECTOR]
|
|
"# Human Authority Whitelist Setting" = "HUMANS_ONLY"
|
|
"# Playtime Requirements" = 180
|
|
"# Required Account Age" = 7
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|
|
|
|
[ROBOTICIST]
|
|
"# Playtime Requirements" = 60
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 2
|
|
"# Total Positions" = 2
|
|
|
|
[SCIENTIST]
|
|
"# Playtime Requirements" = 60
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 3
|
|
"# Total Positions" = 5
|
|
|
|
[SECURITY_OFFICER]
|
|
"# Playtime Requirements" = 300
|
|
"# Required Account Age" = 7
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 5
|
|
"# Total Positions" = 5
|
|
|
|
[SHAFT_MINER]
|
|
"# Playtime Requirements" = 0
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 3
|
|
"# Total Positions" = 3
|
|
|
|
[STATION_ENGINEER]
|
|
"# Playtime Requirements" = 60
|
|
"# Required Account Age" = 0
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 5
|
|
"# Total Positions" = 5
|
|
|
|
[VETERAN_ADVISOR]
|
|
"# Playtime Requirements" = 6000
|
|
"# Required Account Age" = 7
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 0
|
|
"# Total Positions" = 0
|
|
|
|
[WARDEN]
|
|
"# Playtime Requirements" = 300
|
|
"# Required Account Age" = 7
|
|
"# Required Character Age" = 0
|
|
"# Spawn Positions" = 1
|
|
"# Total Positions" = 1
|