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

skyfall

Savannah Skyfall

Vars

skyfall_charge_levelskyfall builds up in charges every 2 seconds, when it reaches 5 charges the ability actually starts
skyfall_cooldown_timecooldown time between skyfall uses

Procs

abort_skyfall
begin_landing
land
reset_button_icon
skyfall_charge_loop

Var Details

skyfall_charge_level

skyfall builds up in charges every 2 seconds, when it reaches 5 charges the ability actually starts

skyfall_cooldown_time

cooldown time between skyfall uses

Proc Details

abort_skyfall

abort_skyfall

Called by skyfall_charge_loop if the charging is interrupted. Applies cooldown and resets charge level

begin_landing

begin_landing

Called by skyfall_charge_loop after some time if it reaches full charge level. it's just the animations of the mecha coming down + another timer for the final landing effect

land

land

Called by skyfall_charge_loop after some time if it reaches full charge level. it's just the animations of the mecha coming down + another timer for the final landing effect

reset_button_icon

reset_button_icon

called after an addtimer when the cooldown is finished with the skyfall, resets the icon

skyfall_charge_loop

skyfall_charge_loop

The actual skyfall loop itself. Repeatedly calls itself after a do_after, so any interruptions will call abort_skyfall and end the loop the other way the loop ends is if charge level (var it's ticking up) gets to SKYFALL_CHARGELEVEL_LAUNCH, in which case it ends the loop and does the ability.