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

crew_self_serve

Vars

target_trimWhat trim is applied to inserted IDs?

Procs

clock_inClocks the currently inserted ID Card back in
clock_outClocks out the currently inserted ID Card
id_cooldown_checkIs 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_secondsReturns the remaining time left for the ID, as a minutes:seconds string.
id_locked_checkIs the inserted ID locked from clocking in? returns TRUE if the ID is locked
is_job_importantIs 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_checkIs the inserted ID off-duty? Returns true if the ID is off-duty
secure_itemsPlaces any items inside of the eligible_items list to a lockbox, to be opened by the player when they clock back in.

Var Details

target_trim

What trim is applied to inserted IDs?

Proc Details

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

is_job_important

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.