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

generator

Vars

activeCurrent power mode of the machine, between FG_OFFLINE, FG_CHARGING, FG_ONLINE
clean_upCheck for asynk cleanups for this and the connected gens
connected_gensList of every field generators connected to this one
fieldsList of every containment fields connected to this generator
powerCurrent amount of power
power_levelAmount of energy stored, used for visual overlays (over 9000?)
stateCurrent state of the machine, between FG_UNSECURED, FG_SECURED, FG_WELDED
warming_upTimer between 0 and 3 before the field gets made

Procs

check_power_levelThe power level is displayed using overlays. The current displayed power level is stored in 'powerlevel'. The overlay in use and the powerlevel variable must be kept in sync. A powerlevel equal to 0 means that no power level overlay is currently in the overlays list.

Var Details

active

Current power mode of the machine, between FG_OFFLINE, FG_CHARGING, FG_ONLINE

clean_up

Check for asynk cleanups for this and the connected gens

connected_gens

List of every field generators connected to this one

fields

List of every containment fields connected to this generator

power

Current amount of power

power_level

Amount of energy stored, used for visual overlays (over 9000?)

state

Current state of the machine, between FG_UNSECURED, FG_SECURED, FG_WELDED

warming_up

Timer between 0 and 3 before the field gets made

Proc Details

check_power_level

The power level is displayed using overlays. The current displayed power level is stored in 'powerlevel'. The overlay in use and the powerlevel variable must be kept in sync. A powerlevel equal to 0 means that no power level overlay is currently in the overlays list.