Prototype/Pump
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Pump
The Pump is used to transfer liquids or gas between tanks, and pipes.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
fluid_box
Type: FluidBox
The area of the entity where fluid inputs and outputs.
energy_source
Type: EnergySource
The type of energy the pump uses.
energy_usage
Type: Energy
The amount of energy the pump uses.
pumping_speed
Type: double
The amount of fluid this pump transfers per tick.
animations
Type: Animation4Way
The animation for the pump.
Optional properties
fluid_wagon_connector_speed
Type: double
Default: 1 / 64.0
fluid_wagon_connector_alignment_tolerance
Type: double
Default: 2 / 32.0
fluid_wagon_connector_frame_count
Type: uint8
Default: 1
fluid_animation
Type: Animation4Way
glass_pictures
Type: Sprite4Way
circuit_wire_max_distance
Type: double
Default: 0
draw_copper_wires
Type: bool
Default: true
draw_circuit_wires
Type: bool
Default: true
circuit_wire_connection_points
Type: table of WireConnectionPoint
Mandatory if circuit_wire_max_distance > 0.
circuit_connector_sprites
Type: table of CircuitConnectorSprites
Mandatory if circuit_wire_max_distance > 0.
fluid_wagon_connector_graphics
Type: table of PumpConnectorGraphics
Needs load_animations
and unload_animations
keys, both with a PumpConnectorGraphics as the value.