[2.0.6] Add pipe connection category mask to PipeConnectionDefinition

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
robot256
Filter Inserter
Filter Inserter
Posts: 891
Joined: Sun Mar 17, 2019 1:52 am
Contact:

[2.0.6] Add pipe connection category mask to PipeConnectionDefinition

Post by robot256 »

Currently there is no way to read the new connection_category value from LuaFluidboxPrototype's Pipe. I would like to determine via script if two pipes will connect to each other before placing them. One place this could be added is in LuaFluidboxPrototype::pipe_connections, alongside the flow_direction value. Providing it as a binary mask (as shown in the Prototype Explorer) is fine.

(I also submitted this as an F10 suggestion)
Post Reply

Return to “Modding interface requests”