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

plane_master_controller

Atom that manages and controls multiple planes. It's an atom so we can hook into add_filter etc. Multiple controllers can control one plane.

Vars

controlled_planesList of planes in this controllers control. Initially this is a normal list, but becomes an assoc list of plane numbers as strings | plane instance
owner_hudhud that owns this controller

Procs

InitializeEnsures that all the planes are correctly in the controlled_planes list.
add_atom_colourFull override so we can just use filterrific
add_filterFull override so we can just use filterrific
get_filtersGets all filters for this controllers plane masters
remove_atom_colourRemoves an instance of colour_type from the atom's atom_colours list
remove_filterFull override so we can just use filterrific
transition_filterTransitions all filters owned by this plane master controller
update_atom_colourResets the atom's color to null, and then sets it to the highest priority colour available

Var Details

controlled_planes

List of planes in this controllers control. Initially this is a normal list, but becomes an assoc list of plane numbers as strings | plane instance

owner_hud

hud that owns this controller

Proc Details

Initialize

Ensures that all the planes are correctly in the controlled_planes list.

add_atom_colour

Full override so we can just use filterrific

add_filter

Full override so we can just use filterrific

get_filters

Gets all filters for this controllers plane masters

remove_atom_colour

Removes an instance of colour_type from the atom's atom_colours list

remove_filter

Full override so we can just use filterrific

transition_filter

Transitions all filters owned by this plane master controller

update_atom_colour

Resets the atom's color to null, and then sets it to the highest priority colour available