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

Bugs that are actually features.
Neemys
Filter Inserter
Filter Inserter
Posts: 461
Joined: Sat Apr 09, 2016 6:16 pm
Contact:

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

Post 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".
Want more space restriction ? Or maybe you want to be forced to use train for other thing than ore and oil ? Try Building Platform Mod !
Rseding91
Factorio Staff
Factorio Staff
Posts: 15908
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

The API is for the in-game Lua API not the prototypes - which is correct as it's auto-generated.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”