Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/pump_ui

Vars

incr_lgThe amount to change by the large increment.
incr_smThe amount to change by the small increment.
max_valueThe maximum our value can be.
min_valueThe minimum our value can be.
pump_nameOur pump's name, simple enough.
value_nameThe name of the value we use.
value_unitsThe units used by our value.

Procs

get_atomReturn some atom from our pump.
get_valueReturn value from our pump.
is_onIs our pump on?
renderGenerates the HTML
set_valueWhat value to set arg to.
show_uiDisplays the UI
toggle_powerToggle our pump's power.

Var Details

incr_lg

The amount to change by the large increment.

incr_sm

The amount to change by the small increment.

max_value

The maximum our value can be.

min_value

The minimum our value can be.

pump_name

Our pump's name, simple enough.

value_name

The name of the value we use.

value_units

The units used by our value.

Proc Details

get_atom

Return some atom from our pump.

get_value

Return value from our pump.

is_on

Is our pump on?

render

Generates the HTML

set_value

What value to set arg to.

show_ui

Displays the UI

toggle_power

Toggle our pump's power.