Code: Select all
-- Then, there are some types of filters that work on a specific kind of attribute. The following will configure a
-- choose-elem-button of type "entity" to only show entities that have their "hidden" flags set.
button.elem_filters = {{filter = "hidden"}}
Attached mod displays this GUI.
Sending as bug report because I assume it's unexpected behavior. If this happens to be a documentation issue, I'll make an appropriate interface request for something similar, because I'd like to show the player all the different item recycling recipes