Prototype/OffshorePump: Difference between revisions
m (whitespace) |
(Converted to SMW format) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/EntityWithHealth}} | {{Prototype parent|Prototype/EntityWithHealth}} | ||
An [[offshore pump]]. | |||
{{Prototype TOC|offshore-pump}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | ||
{{Prototype property|fluid_box|[[Types/FluidBox|FluidBox]]}} | |||
{{Prototype property|pumping_speed|[[Types/float|float]]}} | |||
How many units of fluid are produced per tick. | How many units of fluid are produced per tick. | ||
{{Prototype property|fluid|[[Types/string|string]]}} | |||
The name of the fluid that is produced by the pump. | The name of the fluid that is produced by the pump. | ||
{{Prototype property|picture|[[Types/Sprite4Way|Sprite4Way]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|fluid_box_tile_collision_test|[[Types/CollisionMask|CollisionMask]]|"ground-tile"|optional=true}} | |||
{{Prototype property|adjacent_tile_collision_test|[[Types/CollisionMask|CollisionMask]]|"water-tile"|optional=true}} | |||
{{Prototype property|placeable_position_visualization|[[Types/Sprite|Sprite]]||optional=true}} | |||
{{Prototype property|circuit_wire_max_distance|[[Types/double|double]]|0|optional=true}} | |||
The maximum circuit wire distance for this entity. | The maximum circuit wire distance for this entity. | ||
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}} | |||
= | |||
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}} | |||
{{Prototype property|remove_on_tile_collision|[[Types/bool|bool]]|false|optional=true}} | |||
{{Prototype property|circuit_wire_connection_points|[[Types/table|table]] of [[Types/WireConnectionPoint|WireConnectionPoint]]|optional=true}} | |||
Mandatory if circuit_wire_max_distance > 0. | Mandatory if circuit_wire_max_distance > 0. | ||
{{Prototype property|circuit_connector_sprites|[[Types/table|table]] of [[Types/CircuitConnectorSprites|CircuitConnectorSprites]]|optional=true}} | |||
Mandatory if circuit_wire_max_distance > 0. | Mandatory if circuit_wire_max_distance > 0. |
Revision as of 16:45, 5 August 2019
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/OffshorePump
An offshore pump.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
fluid_box
Type: FluidBox
pumping_speed
Type: float
How many units of fluid are produced per tick.
fluid
Type: string
The name of the fluid that is produced by the pump.
picture
Type: Sprite4Way
Optional properties
fluid_box_tile_collision_test
Type: CollisionMask
Default: "ground-tile"
adjacent_tile_collision_test
Type: CollisionMask
Default: "water-tile"
placeable_position_visualization
Type: Sprite
circuit_wire_max_distance
Type: double
Default: 0
The maximum circuit wire distance for this entity.
draw_copper_wires
Type: bool
Default: true
draw_circuit_wires
Type: bool
Default: true
remove_on_tile_collision
Type: bool
Default: false
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.