Page 1 of 1

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

Posted: Sun Jan 07, 2024 10:21 pm
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 329 times