Prototype/OffshorePump: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (whitespace)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
{{Prototype parent|Prototype/EntityWithHealth}}
An [[offshore pump]].


== Basics ==
{{Prototype TOC|offshore-pump}}
Prototype type: '''offshore-pump'''
 
Extends [[Prototype/EntityWithHealth]].


== Mandatory properties ==
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].


=== fluid_box ===
{{Prototype property|fluid_box|[[Types/FluidBox|FluidBox]]}}
'''Type''': [[Types/FluidBox]]
 
=== pumping_speed ===
'''Type''': [[Types/float]]


{{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.


=== fluid ===
{{Prototype property|fluid|[[Types/string|string]]}}
'''Type''': [[Types/string]]
 
The name of the fluid that is produced by the pump.
The name of the fluid that is produced by the pump.


=== picture ===
{{Prototype property|picture|[[Types/Sprite4Way|Sprite4Way]]}}
'''Type''': [[Types/Sprite4Way]]


== Optional properties ==
== Optional properties ==


=== fluid_box_tile_collision_test ===
{{Prototype property|fluid_box_tile_collision_test|[[Types/CollisionMask|CollisionMask]]|"ground-tile"|optional=true}}
'''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 ===
{{Prototype property|adjacent_tile_collision_test|[[Types/CollisionMask|CollisionMask]]|"water-tile"|optional=true}}
'''Type''': [[Types/double]]


'''Default''': 0
{{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.


=== draw_copper_wires ===
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}}
'''Type''': [[Types/bool]]
 
'''Default''': true
 
=== draw_circuit_wires ===
'''Type''': [[Types/bool]]
 
'''Default''': true


=== remove_on_tile_collision ===
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}}
'''Type''': [[Types/bool]]


'''Default''': false
{{Prototype property|remove_on_tile_collision|[[Types/bool|bool]]|false|optional=true}}
 
=== circuit_wire_connection_points ===
'''Type''': [[Types/table]] of [[Types/WireConnectionPoint]]


{{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.


=== circuit_connector_sprites ===
{{Prototype property|circuit_connector_sprites|[[Types/table|table]] of [[Types/CircuitConnectorSprites|CircuitConnectorSprites]]|optional=true}}
'''Type''': [[Types/table]] of [[Types/CircuitConnectorSprites]]
 
Mandatory if circuit_wire_max_distance > 0.
Mandatory if circuit_wire_max_distance > 0.

Revision as of 16:45, 5 August 2019

Template:Prototype parent An offshore pump.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property

Template:Prototype property How many units of fluid are produced per tick.

Template:Prototype property The name of the fluid that is produced by the pump.

Template:Prototype property

Optional properties

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property The maximum circuit wire distance for this entity.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property Mandatory if circuit_wire_max_distance > 0.

Template:Prototype property Mandatory if circuit_wire_max_distance > 0.