Prototype/OffshorePump: Difference between revisions
(0.17) |
(Set prototype parent) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/EntityWithHealth}} | |||
== Basics == | == Basics == | ||
Prototype type: '''offshore-pump''' | Prototype type: '''offshore-pump''' |
Revision as of 15:49, 24 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
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.