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"}}
}}}}