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

functional

The true wings that you can use to fly and shit (you cant actually shit with them, but it does wing stuff)

Vars

flyThe flight action object
wings_closed_preferenceThe preference type for closed wings
wings_openAre our wings open or closed?
wings_open_preferenceThe preference type for opened wings

Procs

can_flyCheck if we're still eligible for flight (wings covered, atmosphere too thin, etc)
close_wingsclose our wings
fly_slipSlipping but in the air?
handle_flightCalled on_life(). Handle flight code and check if we're still flying
open_wingsSPREAD OUR WINGS AND FLLLLLYYYYYY
toggle_flightUNSAFE PROC, should only be called through the Activate or other sources that check for CanFly

Var Details

fly

The flight action object

wings_closed_preference

The preference type for closed wings

wings_open

Are our wings open or closed?

wings_open_preference

The preference type for opened wings

Proc Details

can_fly

Check if we're still eligible for flight (wings covered, atmosphere too thin, etc)

close_wings

close our wings

fly_slip

Slipping but in the air?

handle_flight

Called on_life(). Handle flight code and check if we're still flying

open_wings

SPREAD OUR WINGS AND FLLLLLYYYYYY

toggle_flight

UNSAFE PROC, should only be called through the Activate or other sources that check for CanFly