crew_self_serve 
Vars | |
| authenticated_card | The ID card used to authenticate. |
|---|---|
| authenticated_user | The name of the registered user, related to authenticated_card. |
| target_trim | What trim is applied to inserted IDs? |
Procs | |
| authenticate | Authenticates the program based on the specific ID card. |
| clock_in | Clocks the currently inserted ID Card back in |
| clock_out | Clocks out the currently inserted ID Card |
| id_cooldown_check | Is the inserted ID on cooldown? return -1 if invalid ID, 0 if ID is not on cooldown, and remaining time until cooldown ends otherwise. |
| id_cooldown_minutes_seconds | Returns the remaining time left for the ID, as a minutes:seconds string. |
| id_locked_check | Is the inserted ID locked from clocking in? returns TRUE if the ID is locked |
| job_is_CMD_or_SEC | Is the job of the inserted ID being worked by a job that in an important department? If so, this proc will return TRUE. |
| off_duty_check | Is the inserted ID off-duty? Returns true if the ID is off-duty |
| secure_items | Places any items inside of the eligible_items list to a lockbox, to be opened by the player when they clock back in. |
Var Details
authenticated_card 
The ID card used to authenticate.
authenticated_user 
The name of the registered user, related to authenticated_card.
target_trim 
What trim is applied to inserted IDs?
Proc Details
authenticate
Authenticates the program based on the specific ID card.
Arguments:
- auth_card - The ID card to attempt to authenticate under.
clock_in
Clocks the currently inserted ID Card back in
clock_out
Clocks out the currently inserted ID Card
id_cooldown_check
Is the inserted ID on cooldown? return -1 if invalid ID, 0 if ID is not on cooldown, and remaining time until cooldown ends otherwise.
id_cooldown_minutes_seconds
Returns the remaining time left for the ID, as a minutes:seconds string.
id_locked_check
Is the inserted ID locked from clocking in? returns TRUE if the ID is locked
job_is_CMD_or_SEC
Is the job of the inserted ID being worked by a job that in an important department? If so, this proc will return TRUE.
off_duty_check
Is the inserted ID off-duty? Returns true if the ID is off-duty
secure_items
Places any items inside of the eligible_items list to a lockbox, to be opened by the player when they clock back in.