PipeConnectionDefinition positions not marked optional

User avatar
_CodeGreen
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Sat Mar 05, 2022 11:30 am
Contact:

PipeConnectionDefinition positions not marked optional

Post by _CodeGreen »

PipeConnectionDefinition doesn't have positions (plural) marked as optional, when it depends on whether or not position (singular) is defined. Is this intentional, or should it be optional? It's trickling down to the Lua typedefs making me disable diagnostics every time.
My Mods | If you can't make it perfect, make it adjustable
Bilka
Factorio Staff
Factorio Staff
Posts: 3310
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: PipeConnectionDefinition positions not marked optional

Post by Bilka »

It's mandatory when position is not defined. I marked it optional and added that note for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Requests”