LuaEntityPrototype.burns_fluid ?

Post Reply
Helfima
Fast Inserter
Fast Inserter
Posts: 199
Joined: Tue Jun 28, 2016 11:40 am
Contact:

LuaEntityPrototype.burns_fluid ?

Post 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,

Rseding91
Factorio Staff
Factorio Staff
Posts: 13232
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: LuaEntityPrototype.burns_fluid ?

Post by Rseding91 »

This will be available on the energy source prototype in the next version after this addition: viewtopic.php?f=65&t=78211
If you want to get ahold of me I'm almost always on Discord.

Helfima
Fast Inserter
Fast Inserter
Posts: 199
Joined: Tue Jun 28, 2016 11:40 am
Contact:

Re: LuaEntityPrototype.burns_fluid ?

Post by Helfima »

oooh ok, it's good

Post Reply

Return to “Implemented mod requests”