[0.18.x] game.get_filtered_recipe_prototypes
Posted: Sun Jun 14, 2020 1:16 am
Hello all, does anyone have examples on how, or know how, to filter recipe prototypes? I can't get the results I want.
Code: Select all
local filteredRecipies = game.get_filtered_recipe_prototypes{{
filter = "has-ingredient-item",
elem_filters = {{filter = "name", name = inventoryContent,
elem_filters = {{filter = "category", category = "smelting",
mode = "and"}}
}}}}