card_mod
Vars | |
authenticated_card | The name/assignment combo of the ID card used to authenticate. |
---|---|
authenticated_user | The name of the registered user, related to authenticated_card . |
is_centcom | If TRUE, this program only modifies Centcom accesses. |
job_templates | List of job templates that can be applied to ID cards from this program. |
minor | If TRUE, this program is authenticated with limited departmental access. |
region_access | The regions this program has access to based on the authenticated ID. |
target_dept | Which departments this program has access to. See region defines. |
valid_access | The list of accesses this program is verified to change based on the authenticated ID. Used for state checking against player input. |
Procs | |
authenticate | Authenticates the program based on the specific ID card. |
Var Details
authenticated_card
The name/assignment combo of the ID card used to authenticate.
authenticated_user
The name of the registered user, related to authenticated_card
.
is_centcom
If TRUE, this program only modifies Centcom accesses.
job_templates
List of job templates that can be applied to ID cards from this program.
minor
If TRUE, this program is authenticated with limited departmental access.
region_access
The regions this program has access to based on the authenticated ID.
target_dept
Which departments this program has access to. See region defines.
valid_access
The list of accesses this program is verified to change based on the authenticated ID. Used for state checking against player input.
Proc Details
authenticate
Authenticates the program based on the specific ID card.
If the card has ACCESS_CHANGE_IDs, it authenticates with all options. Otherwise, it authenticates depending on SSid_access.sub_department_managers_tgui compared to the access on the supplied ID card. Arguments:
- user - Program's user.
- id_card - The ID card to attempt to authenticate under.