job

This file contains all the trims associated with station jobs. It also contains special prisoner trims and the miner's spare ID trim. ID Trims for station jobs.
Vars | |
config_job | What config entry relates to this job. Should be a lowercase job name with underscores for spaces, eg "prisoner" "research_director" "head_of_security" |
---|---|
extra_access | The extra access the card should have when CONFIG_GET(flag/jobs_have_minimal_access) is FALSE. |
extra_wildcard_access | The extra wildcard_access the card should have when CONFIG_GET(flag/jobs_have_minimal_access) is FALSE. |
job | The typepath to the job datum from the id_trim. This is converted to one of the job singletons in New(). |
job_changes | Static list. Cache of any mapping config job changes. |
minimal_access | The base access the card should have when CONFIG_GET(flag/jobs_have_minimal_access) is TRUE. |
minimal_wildcard_access | The base wildcard_access the card should have when CONFIG_GET(flag/jobs_have_minimal_access) is TRUE. |
template_access | An ID card with an access in this list can apply this trim to IDs or use it as a job template when adding access to a card. If the list is null, cannot be used as a template. Should be Head of Staff or ID Console accesses or it may do nothing. |
Procs | |
refresh_trim_access | Goes through various non-map config settings and modifies the trim's access based on this. |
Var Details
config_job

What config entry relates to this job. Should be a lowercase job name with underscores for spaces, eg "prisoner" "research_director" "head_of_security"
extra_access

The extra access the card should have when CONFIG_GET(flag/jobs_have_minimal_access) is FALSE.
extra_wildcard_access

The extra wildcard_access the card should have when CONFIG_GET(flag/jobs_have_minimal_access) is FALSE.
job

The typepath to the job datum from the id_trim. This is converted to one of the job singletons in New().
job_changes

Static list. Cache of any mapping config job changes.
minimal_access

The base access the card should have when CONFIG_GET(flag/jobs_have_minimal_access) is TRUE.
minimal_wildcard_access

The base wildcard_access the card should have when CONFIG_GET(flag/jobs_have_minimal_access) is TRUE.
template_access

An ID card with an access in this list can apply this trim to IDs or use it as a job template when adding access to a card. If the list is null, cannot be used as a template. Should be Head of Staff or ID Console accesses or it may do nothing.
Proc Details
refresh_trim_access
Goes through various non-map config settings and modifies the trim's access based on this.
Returns TRUE if the config is loaded, FALSE otherwise.