Yogstation 13 - Modules - TypesVar Details - Proc Details

/obj/machinery/plumbing/floor_pump

Base class for underfloor plumbing machines that mess with floor liquids.

Vars

drain_flatBase amount to drain
drain_percentAdditional ratio of liquid volume to drain
duct_layerThe default duct layer for mapping
height_regulatorOnly pump to this liquid level height. 0 means pump the most possible.
is_pumpingCurrently pumping.
tile_placedFloor tile is placed down
turned_onPump is turned on by engineer, etc.

Procs

are_reagents_readyIs the internal reagents container able to give or take liquid as appropriate?
can_runCan the pump actually run at all?
on_hideHandle COMSIG_OBJ_HIDE to toggle whether we're on the floor
pump_turfPump out the liquids on a turf.
set_regulatorChange regulator level -- ie. what liquid depth we are OK with, like a thermostat.
should_pumpShould we actually be pumping this tile right now? Arguments:
should_regulator_permitShould the liquid height regulator allow water to be pumped here?

Var Details

drain_flat

Base amount to drain

drain_percent

Additional ratio of liquid volume to drain

duct_layer

The default duct layer for mapping

height_regulator

Only pump to this liquid level height. 0 means pump the most possible.

is_pumping

Currently pumping.

tile_placed

Floor tile is placed down

turned_on

Pump is turned on by engineer, etc.

Proc Details

are_reagents_ready

Is the internal reagents container able to give or take liquid as appropriate?

can_run

Can the pump actually run at all?

on_hide

Handle COMSIG_OBJ_HIDE to toggle whether we're on the floor

pump_turf

Pump out the liquids on a turf.

Arguments:

set_regulator

Change regulator level -- ie. what liquid depth we are OK with, like a thermostat.

should_pump

Should we actually be pumping this tile right now? Arguments:

should_regulator_permit

Should the liquid height regulator allow water to be pumped here?