Types/PipeConnectionDefinition: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Definition of a pipe connection. Used in fluidboxes. == Mandatory properties == Either <code>position</code> or <code>positions</code> must be specified. (<code>...")
(No difference)

Revision as of 21:20, 28 May 2018

Basics

Definition of a pipe connection. Used in fluidboxes.

Mandatory properties

Either position or positions must be specified. (position takes priority)

position

Type: Types/vector

Position of the pipe connection.

positions

Type: Types/table of Types/vector

Table must have 4 members, which are 4 explicit positions for the pipe connection (corresponding to 4 directions). Positions must correspond to directions going one after another.

Optional properties

max_underground_distance

Type: Types/uint32

Default: 0

0 means not underground.

type

Type: Types/string

Default: "input-output"

Possible values:

  • "input"
  • "input-output"
  • "output"