Allow "input-output" fluid arrows for crafting machines
Posted: Thu Aug 04, 2022 4:25 pm
Here's the "casting machine" from Space Exploration and the "greenhouse" from Krastorio 2:
These entities have fluid boxes with `production-type = "input"` and some `pipe_connections` of type `"input-output"`. So they can pass-through fluids and be chained together.
But it's difficult to convey that to players because players expect "in-and-out" fluid arrows on the pipe connections, just like the boilers and steam engines. So every day we get people going "Wait you can chain those?!!".
It'd be great if we could have the same "in-and-out" arrows for crafting machines too. I'm not sure internally how that'd work, but probably one of those:
a) Allow `production_type = "input-output"` for crafting machines for the purpose of the fluid arrows. Currently this causes a load error: "Error ModManager.cpp Error while loading entity prototype "se-casting-machine" (assembling-machine): Crafting machine fluidboxes must be input or output types."
b) Add a parameter on Types/PipeConnectionDefinition to override which arrow gets drawn. none/input/output/input-output. As a bonus I could see some use in being able to remove the fluid arrows for some composite entities.
Thanks!
These entities have fluid boxes with `production-type = "input"` and some `pipe_connections` of type `"input-output"`. So they can pass-through fluids and be chained together.
But it's difficult to convey that to players because players expect "in-and-out" fluid arrows on the pipe connections, just like the boilers and steam engines. So every day we get people going "Wait you can chain those?!!".
It'd be great if we could have the same "in-and-out" arrows for crafting machines too. I'm not sure internally how that'd work, but probably one of those:
a) Allow `production_type = "input-output"` for crafting machines for the purpose of the fluid arrows. Currently this causes a load error: "Error ModManager.cpp Error while loading entity prototype "se-casting-machine" (assembling-machine): Crafting machine fluidboxes must be input or output types."
b) Add a parameter on Types/PipeConnectionDefinition to override which arrow gets drawn. none/input/output/input-output. As a bonus I could see some use in being able to remove the fluid arrows for some composite entities.
Thanks!