Prototype/OffshorePump: Difference between revisions
(→pumping_speed: unit) |
m (whitespace) |
||
Line 14: | Line 14: | ||
=== pumping_speed === | === pumping_speed === | ||
'''Type''': [[Types/float]] | '''Type''': [[Types/float]] | ||
How many units are produced per tick. | |||
How many units of fluid are produced per tick. | |||
=== fluid === | === fluid === |
Revision as of 16:52, 29 July 2019
Basics
Prototype type: offshore-pump
Extends Prototype/EntityWithHealth.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
fluid_box
Type: Types/FluidBox
pumping_speed
Type: Types/float
How many units of fluid are produced per tick.
fluid
Type: Types/string
The name of the fluid that is produced by the pump.
picture
Type: Types/Sprite4Way
Optional properties
fluid_box_tile_collision_test
Type: Types/CollisionMask
Default: "ground-tile"
adjacent_tile_collision_test
Type: Types/CollisionMask
Default: "water-tile"
placeable_position_visualization
Type: Types/Sprite
circuit_wire_max_distance
Type: Types/double
Default: 0
The maximum circuit wire distance for this entity.
draw_copper_wires
Type: Types/bool
Default: true
draw_circuit_wires
Type: Types/bool
Default: true
remove_on_tile_collision
Type: Types/bool
Default: false
circuit_wire_connection_points
Type: Types/table of Types/WireConnectionPoint
Mandatory if circuit_wire_max_distance > 0.
circuit_connector_sprites
Type: Types/table of Types/CircuitConnectorSprites
Mandatory if circuit_wire_max_distance > 0.