Add an API to access a recipe's Total Raw on the LuaRecipePrototype

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
Muppet9010
Filter Inserter
Filter Inserter
Posts: 278
Joined: Sat Dec 09, 2017 6:01 pm
Contact:

Add an API to access a recipe's Total Raw on the LuaRecipePrototype

Post by Muppet9010 »

Within Factorio when the user hovers over a recipe the context information includes the total raw ingredients and craft time.
It would be great if this could be exposed on the Runtime API as part of the LuaRecipePrototype object. At present a mod would have to walk the recipes that make the ingredients and do this recursively down.
Capture.PNG
Capture.PNG (281.91 KiB) Viewed 186 times

Post Reply

Return to “Modding interface requests”