Prototype/Pipe: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Removed old prototype docs)
 
(6 intermediate revisions by 2 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/PipePrototype.html https://lua-api.factorio.com/latest/prototypes/PipePrototype.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: '''pipe'''
 
An entity to transport gas and fluids over a distance, and between machines. This is an extension of [[Prototype/EntityWithHealth]]
== Mandatory properties ==
=== fluid_box ===
'''Type''': [[Types/FluidBox]]
 
The area of the entity where fluid/gas inputs, and outputs.
 
=== horizontal_window_bounding_box ===
'''Type''': [[Types/BoundingBox]]
 
=== vertical_window_bounding_box ===
'''Type''': [[Types/BoundingBox]]
 
=== pictures ===
'''Type''': [[Types/table]]
 
Table with the following mandatory members:
 
* straight_vertical_single - [[Types/Sprite]]
* straight_vertical - [[Types/Sprite]]
* straight_vertical_window - [[Types/Sprite]]
* straight_horizontal - [[Types/Sprite]]
* straight_horizontal_window - [[Types/Sprite]]
* corner_up_right - [[Types/Sprite]]
* corner_up_left - [[Types/Sprite]]
* corner_down_right - [[Types/Sprite]]
* corner_down_left - [[Types/Sprite]]
* t_up - [[Types/Sprite]]
* t_down - [[Types/Sprite]]
* t_right - [[Types/Sprite]]
* t_left - [[Types/Sprite]]
* cross - [[Types/Sprite]]
* ending_up - [[Types/Sprite]]
* ending_down - [[Types/Sprite]]
* ending_right - [[Types/Sprite]]
* ending_left - [[Types/Sprite]]
* horizontal_window_background - [[Types/Sprite]]
* vertical_window_background - [[Types/Sprite]]
* fluid_background - [[Types/Sprite]]
* low_temperature_flow - [[Types/Sprite]]
* middle_temperature_flow - [[Types/Sprite]]
* high_temperature_flow - [[Types/Sprite]]
* gas_flow - [[Types/Animation]]

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/PipePrototype.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.