Types/PipeConnectionDefinition

From Official Factorio Wiki
Revision as of 21:20, 28 May 2018 by Bilka (talk | contribs) (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>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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"