Goonstation 13 - Modules - TypesVar Details - Proc Details

Pump control computer

Vars

frequencyDefault frequency of the computer. Can be varedited so it only listens to relevant pumps, e.g. toxins computer controls toxins pumps
pump_infosetThis is a list in which contains pump information datums keyed by their areas.

Procs

check_if_aliveCheck for pumps that 'sploded or are otherwise unreachable
getPumpGet a pump by net id. Does not ask for pump data from pump
receive_signalAdd or update a new pump
togglePumpGet a pump by net id and toggle its power

Var Details

frequency

Default frequency of the computer. Can be varedited so it only listens to relevant pumps, e.g. toxins computer controls toxins pumps

pump_infoset

This is a list in which contains pump information datums keyed by their areas.

Proc Details

check_if_alive

Check for pumps that 'sploded or are otherwise unreachable

getPump

Get a pump by net id. Does not ask for pump data from pump

receive_signal

Add or update a new pump

togglePump

Get a pump by net id and toggle its power