Prototype/OffshorePump: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Removed old prototype docs)
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/OffshorePumpPrototype.html https://lua-api.factorio.com/latest/prototypes/OffshorePumpPrototype.html]


== Basics ==
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
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 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.

Latest revision as of 14:32, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/OffshorePumpPrototype.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.