Liquid in the assembling machine
Posted: Mon Jul 02, 2018 4:10 pm
Is it possible to find out if the assembly machine (LuaEntityPrototype) supports the liquid at the input?
Thanks for your reply.Bilka wrote:This depends on the recipe, but in general the assembler only supports fluids if it has a fluidbox. This property cannot be read for the LuaEntityPrototype in 0.16, but you will be able to read it in 0.17: https://lua-api.factorio.com/0.17.0-pre ... prototypes
If you are looking at a LuaEntity, use https://lua-api.factorio.com/latest/Lua ... y.fluidbox. There is no easy/straight-forward way to find out which fluid should be in this fluidbox for this machine to work. You can even insert any other fluid.