Code: Select all
flow.add{
type = "choose-elem-button",
name = "selected-item",
elem_type = "recipe",
elem_filters = {
{filter="category", category="smelting"},
{mode="and", filter="enabled"}
}
}
Is it possible to have the filter work based on what the force has unlocked, or will I need to build a custom GUI to handle that? (eg. a drop-down list of unlocked recipes)