Page 1 of 1

[0.13.11] LUA Api - Recipe class, wrong attribute name

Posted: Thu Jul 28, 2016 11:07 pm
by Neemys
Will browsing the online doc for factorio API, I found this little typo in an attribute name. in this page : http://lua-api.factorio.com/0.13.11/LuaRecipe.html

The attribute "energy" doesn't work because ingame it is "energy_required".

Re: [0.13.11] LUA Api - Recipe class, wrong attribute name

Posted: Thu Jul 28, 2016 11:10 pm
by Rseding91
The API is for the in-game Lua API not the prototypes - which is correct as it's auto-generated.