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

spacer_born

Vars

last_stateDetermines the last state we were in ([LAST_STATE_PLANET], [LAST_STATE_SPACE], or [LAST_STATE_NOGRAV])
modded_heightHow high spacers get bumped up to
planet_periodHow long on a planet before we get averse effects
planetside_timerTimerID for time spend on a planet
recover_periodHow long in space before we get beneficial effects
recovering_timerTimerID for time spend in space

Procs

comfortably_in_spaceRan when living back in space, or just no-grav in general, for a long enough period.
has_nogravRan when we are on a planet while having no gravity.
in_spaceRan when returning to space / somewhere with low gravity.
on_planetRan when we arrive on a planet.
on_planet_for_too_longRan after remaining on a planet for too long.
spacer_gravCheck on gravity change whether we should start or stop timers
spacer_movedCheck on Z change whether we should start or stop timers
update_effectsUsed to check if we should start or stop timers based on the quirk holder's location.

Var Details

last_state

Determines the last state we were in ([LAST_STATE_PLANET], [LAST_STATE_SPACE], or [LAST_STATE_NOGRAV])

modded_height

How high spacers get bumped up to

planet_period

How long on a planet before we get averse effects

planetside_timer

TimerID for time spend on a planet

recover_period

How long in space before we get beneficial effects

recovering_timer

TimerID for time spend in space

Proc Details

comfortably_in_space

Ran when living back in space, or just no-grav in general, for a long enough period.

has_nograv

Ran when we are on a planet while having no gravity.

in_space

Ran when returning to space / somewhere with low gravity.

on_planet

Ran when we arrive on a planet.

on_planet_for_too_long

Ran after remaining on a planet for too long.

spacer_grav

Check on gravity change whether we should start or stop timers

spacer_moved

Check on Z change whether we should start or stop timers

update_effects

Used to check if we should start or stop timers based on the quirk holder's location.