[0.15.5] MINOR: Missing API documentation for recipes
[0.15.5] MINOR: Missing API documentation for recipes
At http://lua-api.factorio.com/latest/LuaR ... otype.html the new constructs for normal and expensive ingredients are not documented.
Re: [0.15.5] MINOR: Missing API documentation for recipes
Hi, there are no new repice prototpye properties exposed to Lua API regarding to difficulty settings (the API should always give you values based on current map difficulty settings).
Re: [0.15.5] MINOR: Missing API documentation for recipes
Perhaps I should not have used API in my topic title. What is missing in the documentation is a description of the recipe data structure. Mods that want to provide normal and expensive recipes have no documentation to use.posila wrote:Hi, there are no new repice prototpye properties exposed to Lua API regarding to difficulty settings (the API should always give you values based on current map difficulty settings).
Re: [0.15.5] MINOR: Missing API documentation for recipes
There's zero prototype documentation so it's expected that there's no documentation on the normal/expensive format.DRY411S wrote:Perhaps I should not have used API in my topic title. What is missing in the documentation is a description of the recipe data structure. Mods that want to provide normal and expensive recipes have no documentation to use.posila wrote:Hi, there are no new repice prototpye properties exposed to Lua API regarding to difficulty settings (the API should always give you values based on current map difficulty settings).
If you want to get ahold of me I'm almost always on Discord.
Re: [0.15.5] MINOR: Missing API documentation for recipes
As Rseding said, we don't have documentation for prototypes unfortunately. It is something in our backlog and hopefully we will be able to create it before 1.0, but for now, you have to just "guess" how to use it based on usage in base mod.
Re: [0.15.5] MINOR: Missing API documentation for recipes
Thanks for the clarification folks. Perhaps a section in the wiki would be a way to go forward?posila wrote:As Rseding said, we don't have documentation for prototypes unfortunately. It is something in our backlog and hopefully we will be able to create it before 1.0, but for now, you have to just "guess" how to use it based on usage in base mod.