Prototype/Pipe: Difference between revisions
(Added extensions) |
(Updated styling of prototype doc migration note) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<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] | |||
</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> | |||
An entity to transport gas and fluids over a distance, and between machines. | |||
{{Prototype parent|Prototype/EntityWithOwner}} | |||
An entity to transport gas and fluids over a distance, and between machines. | |||
{{Prototype TOC|pipe}} | |||
== Extensions == | == Extensions == | ||
Line 10: | Line 14: | ||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/EntityWithOwner]]. | |||
{{Prototype property|fluid_box|[[Types/FluidBox|FluidBox]]}} | |||
The area of the entity where fluid/gas inputs, and outputs. | The area of the entity where fluid/gas inputs, and outputs. | ||
{{Prototype property|horizontal_window_bounding_box|[[Types/BoundingBox|BoundingBox]]}} | |||
{{Prototype property|vertical_window_bounding_box|[[Types/BoundingBox|BoundingBox]]}} | |||
{{Prototype property|pictures|[[Types/table|table]]}} | |||
Table with the following mandatory members: | Table with the following mandatory members: | ||
* straight_vertical_single - [[Types/Sprite]] | * straight_vertical_single - [[Types/Sprite|Sprite]] | ||
* straight_vertical - [[Types/Sprite]] | * straight_vertical - [[Types/Sprite|Sprite]] | ||
* straight_vertical_window - [[Types/Sprite]] | * straight_vertical_window - [[Types/Sprite|Sprite]] | ||
* straight_horizontal - [[Types/Sprite]] | * straight_horizontal - [[Types/Sprite|Sprite]] | ||
* straight_horizontal_window - [[Types/Sprite]] | * straight_horizontal_window - [[Types/Sprite|Sprite]] | ||
* corner_up_right - [[Types/Sprite]] | * corner_up_right - [[Types/Sprite|Sprite]] | ||
* corner_up_left - [[Types/Sprite]] | * corner_up_left - [[Types/Sprite|Sprite]] | ||
* corner_down_right - [[Types/Sprite]] | * corner_down_right - [[Types/Sprite|Sprite]] | ||
* corner_down_left - [[Types/Sprite]] | * corner_down_left - [[Types/Sprite|Sprite]] | ||
* t_up - [[Types/Sprite]] | * t_up - [[Types/Sprite|Sprite]] | ||
* t_down - [[Types/Sprite]] | * t_down - [[Types/Sprite|Sprite]] | ||
* t_right - [[Types/Sprite]] | * t_right - [[Types/Sprite|Sprite]] | ||
* t_left - [[Types/Sprite]] | * t_left - [[Types/Sprite|Sprite]] | ||
* cross - [[Types/Sprite]] | * cross - [[Types/Sprite|Sprite]] | ||
* ending_up - [[Types/Sprite]] | * ending_up - [[Types/Sprite|Sprite]] | ||
* ending_down - [[Types/Sprite]] | * ending_down - [[Types/Sprite|Sprite]] | ||
* ending_right - [[Types/Sprite]] | * ending_right - [[Types/Sprite|Sprite]] | ||
* ending_left - [[Types/Sprite]] | * ending_left - [[Types/Sprite|Sprite]] | ||
* horizontal_window_background - [[Types/Sprite]] | * horizontal_window_background - [[Types/Sprite|Sprite]] | ||
* vertical_window_background - [[Types/Sprite]] | * vertical_window_background - [[Types/Sprite|Sprite]] | ||
* fluid_background - [[Types/Sprite]] | * fluid_background - [[Types/Sprite|Sprite]] | ||
* low_temperature_flow - [[Types/Sprite]] | * low_temperature_flow - [[Types/Sprite|Sprite]] | ||
* middle_temperature_flow - [[Types/Sprite]] | * middle_temperature_flow - [[Types/Sprite|Sprite]] | ||
* high_temperature_flow - [[Types/Sprite]] | * high_temperature_flow - [[Types/Sprite|Sprite]] | ||
* gas_flow - [[Types/Animation]] | * gas_flow - [[Types/Animation|Animation]] |
Latest revision as of 10:43, 21 September 2023
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.
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Pipe
An entity to transport gas and fluids over a distance, and between machines.
Extensions
- Prototype/InfinityPipe infinity-pipe
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
fluid_box
Type: FluidBox
The area of the entity where fluid/gas inputs, and outputs.
horizontal_window_bounding_box
Type: BoundingBox
vertical_window_bounding_box
Type: BoundingBox
pictures
Type: table
Table with the following mandatory members:
- straight_vertical_single - Sprite
- straight_vertical - Sprite
- straight_vertical_window - Sprite
- straight_horizontal - Sprite
- straight_horizontal_window - Sprite
- corner_up_right - Sprite
- corner_up_left - Sprite
- corner_down_right - Sprite
- corner_down_left - Sprite
- t_up - Sprite
- t_down - Sprite
- t_right - Sprite
- t_left - Sprite
- cross - Sprite
- ending_up - Sprite
- ending_down - Sprite
- ending_right - Sprite
- ending_left - Sprite
- horizontal_window_background - Sprite
- vertical_window_background - Sprite
- fluid_background - Sprite
- low_temperature_flow - Sprite
- middle_temperature_flow - Sprite
- high_temperature_flow - Sprite
- gas_flow - Animation