Page 1 of 1

LuaEntityPrototype.burns_fluid ?

Posted: Wed Feb 12, 2020 2:04 pm
by Helfima
Hello
I try to find the fluid consumption on a boiler using fluid for energy (mod Pyanodon)
but I see nothing for "burns_fluid = true" in EntityPrototype of the api
probably need some information on energy_consumption when burns_fluid = true

could we at least have this property: [R] LuaEntityPrototype.burns_fluid = boolean

Code: Select all

type = "boiler",
name = "oil-boiler-mk01",
energy_consumption = "1.8MW",
    energy_source =
    {
      type = "fluid",
      emissions_per_minute = 30,
	  fluid_box =
		{
		base_area = 1,
		height = 2,
		base_level = -1,
		pipe_connections =
		{
			{type = "input", position = {0, 3.0}}
		},
		pipe_covers = DATA.Pipes.covers(false, true, true, true),
		pipe_picture = DATA.Pipes.pictures("assembling-machine-2", nil, {0.0, -0.96}, nil, nil),
		production_type = "input",
		},
	effectivity = 1,
	burns_fluid = true,
	scale_fluid_usage = true,

Re: LuaEntityPrototype.burns_fluid ?

Posted: Wed Feb 12, 2020 7:50 pm
by Rseding91
This will be available on the energy source prototype in the next version after this addition: viewtopic.php?f=65&t=78211

Re: LuaEntityPrototype.burns_fluid ?

Posted: Wed Feb 12, 2020 8:11 pm
by Helfima
oooh ok, it's good