Page 1 of 1

stack-filter-inserter missing energy_required

Posted: Wed Jan 03, 2024 7:16 pm
by beco
Dear Factorio developers,

First of all, thanks for this great game.

Browsing the prototypes/recipe.lua file I've noticed that the

Code: Select all

stack-filter-inserter 
block is missing a directive for

Code: Select all

energy_required = 0.5
Maybe this values comes from other places, I'm not sure if it is intended or if it is a bug, but even if just for standardization reasons I'd think it is worth reporting.

Thanks and keep up the good work.

Dr. Bèco

Re: stack-filter-inserter missing energy_required

Posted: Wed Jan 03, 2024 7:19 pm
by boskid
Not a bug.

RecipePrototype::energy_required has a default value of 0.5 and we are allowed to use it. https://lua-api.factorio.com/latest/pro ... y_required

Re: stack-filter-inserter missing energy_required

Posted: Wed Jan 03, 2024 7:23 pm
by beco
boskid wrote:
Wed Jan 03, 2024 7:19 pm
Not a bug.

RecipePrototype::energy_required has a default value of 0.5 and we are allowed to use it. https://lua-api.factorio.com/latest/pro ... y_required

Thanks. Good to know the default value is 0.5, since I'll need it for my small experiment here.