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

nightshift

Vars

currentrunAPCs to update through ticks to account for lag.
nightshift_disabledWhether the nightshift is on or not, synced to the alert level (which decides whether we're active) TRUE means they are disabled by red alert.

Procs

send_announcementCustom messages sent throughout the event that we'll do here, instead of using the announce proc that's only at the start.
update_machinesCalled on process that will slowly update all APCs to be nightlight
update_nightshiftCalled several times, to start & stop nightlights including during red alert/de-red alerting.

Var Details

currentrun

APCs to update through ticks to account for lag.

nightshift_disabled

Whether the nightshift is on or not, synced to the alert level (which decides whether we're active) TRUE means they are disabled by red alert.

Proc Details

send_announcement

Custom messages sent throughout the event that we'll do here, instead of using the announce proc that's only at the start.

update_machines

Called on process that will slowly update all APCs to be nightlight

update_nightshift

Called several times, to start & stop nightlights including during red alert/de-red alerting.