Liquid in the assembling machine
Liquid in the assembling machine
Is it possible to find out if the assembly machine (LuaEntityPrototype) supports the liquid at the input?
Re: Liquid in the assembling machine
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.
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.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: Liquid in the assembling machine
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.