/tg/ Station 13 - Modules - TypesVar Details - Proc Details

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

extra_accessThe extra access the card should have when CONFIG_GET(flag/jobs_have_minimal_access) is FALSE.
extra_wildcard_accessThe extra wildcard_access the card should have when CONFIG_GET(flag/jobs_have_minimal_access) is FALSE.
jobThe typepath to the job datum from the id_trim. This is converted to one of the job singletons in New().
job_changesStatic list. Cache of any mapping config job changes.
minimal_accessThe base access the card should have when CONFIG_GET(flag/jobs_have_minimal_access) is TRUE.
minimal_wildcard_accessThe base wildcard_access the card should have when CONFIG_GET(flag/jobs_have_minimal_access) is TRUE.
template_accessAn 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_accessGoes through various non-map config settings and modifies the trim's access based on this.

Var Details

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.