Watching LuaBurner.remaining_burning_fuel, I can't figure out why it's slowly draining fuel (once I stick a piece of coal in it) even when freshly built and not connected to any pipes.
Code: Select all
local ass = util.table.deepcopy(data.raw["pump"]["pump"])
ass.name = "testpmp1"
ass.minable.result = ass.name
ass.energy_usage = "1kW"
ass.energy_source =
{
type = "burner",
emissions_per_minute = 0,
fuel_inventory_size = 5,
}
data.raw["pump"][ass.name] = ass