Hi again!
Any chance to get efficiency property on Prototype/Boiler?
Is pratically impossible balance Prototype/Boiler if they EnergySource is electric, will be a free energy soruce.
Prototype/Boiler efficiency
Re: Prototype/Boiler efficiency
Just set up multiplying for your electric energy source.
So you need twice more power than before.
Code: Select all
local power = "600kW"
local factor = 2
local value = tonumber(string.match(power, "%d[%d.,]*"))
local unit = string.match(power, "%a+")
local new_power = (factor*value) .. unit -- "1200kW"
Re: Prototype/Boiler efficiency
I didn't understand ur fix. Pratically in the Prototype/Boiler the energy_consumption define how much steam is produced from the Boiler. No matter how u set the energy_source, all will be scaled on the energy_consumption, and if exist a sort of energy consumer that with the produced steam can produce more energy than consumed, bam! Infinite energy. Also:darkfrei wrote: Fri Mar 13, 2020 8:21 am Just set up multiplying for your electric energy source.
So you need twice more power than before.Code: Select all
local power = "600kW" local factor = 2 local value = tonumber(string.match(power, "%d[%d.,]*")) local unit = string.match(power, "%a+") local new_power = (factor*value) .. unit -- "1200kW"
- Change the input_flow_limit or energy_consumption will only change the fluid per second, not the problem.
- Set a very low value in energy_consumption also will not fix the problem, is enough build many electric boilers.
- Add a big drain in the electric energy_source will confuse the users and consume energy when is not needed.
Re: Prototype/Boiler efficiency
I second that proposal. All entities converting energy should have efficiency.
Currently efficiency of a boiler - engine combination can only be set at the engine. Doing so changes the engine-boiler ratio towards more engines instead of requiring an equal amount of both.
Currently efficiency of a boiler - engine combination can only be set at the engine. Doing so changes the engine-boiler ratio towards more engines instead of requiring an equal amount of both.
My Mods: mods.factorio.com