Yogstation 13 - Modules - TypesVar Details - Proc Details

shadows

Vars

healing_rateThe amount that shadow heals us per SSobj tick (times delta_time)
light_alert_givenHas the jaunter recently recieved a warning about light?
light_step_cooldownWhen cooldown is active, you are prevented from moving into tiles that would eject you from your jaunt

Procs

check_light_levelChecks the light level. If above the minimum acceptable amount (0.2), returns TRUE.
light_step_warningChecks if the user should recieve a warning that they're moving into light.
reactivate_light_alertSets light_alert_given to false.

Var Details

healing_rate

The amount that shadow heals us per SSobj tick (times delta_time)

light_alert_given

Has the jaunter recently recieved a warning about light?

light_step_cooldown

When cooldown is active, you are prevented from moving into tiles that would eject you from your jaunt

Proc Details

check_light_level

Checks the light level. If above the minimum acceptable amount (0.2), returns TRUE.

Checks the light level of a given location to see if it is too bright to continue a jaunt in. Returns FALSE if it's acceptably dark, and TRUE if it is too bright.

light_step_warning

Checks if the user should recieve a warning that they're moving into light.

Checks the cooldown for the warning message on moving into the light. If the message has been displayed, and the cooldown (delay period) is complete, returns TRUE.

reactivate_light_alert

Sets light_alert_given to false.

Sets light_alert_given to false, making the light alert pop up and intercept movement once again. Added in its own proc to reset the alert without having to call light_step_warning().