Space Station 13 - Modules - TypesVar Details - Proc Details

monitor

Vars

historyThe history list itself of the power
is_secret_monitorWill this monitor be hidden from viewers?
next_recordTime to next record power
power_monitorTGUI module this power monitor uses to produce a UI for the user
powernetThe regional powernet this power monitor is hooked into
record_intervalInterval between power snapshots
record_sizeHow many records to keep of supply and demand

Procs

recordPower snapshot recording proc

Var Details

history

The history list itself of the power

is_secret_monitor

Will this monitor be hidden from viewers?

next_record

Time to next record power

power_monitor

TGUI module this power monitor uses to produce a UI for the user

powernet

The regional powernet this power monitor is hooked into

record_interval

Interval between power snapshots

record_size

How many records to keep of supply and demand

Proc Details

record

Power snapshot recording proc

This proc handles recording powernet history for the graph on the TGUI It is called every process(), but only logs every 5 seconds