Hey,
in the current API Description the LuaGuiElement::elem_filters is missing the concept, so we know how to add the filters.
Greetz,
Luzifer
[18.25] LuaGuiElement::elem_filters is missing Concept
- LuziferSenpai
- Filter Inserter
- Posts: 374
- Joined: Tue Jul 08, 2014 10:06 am
- Contact:
Re: [18.25] LuaGuiElement::elem_filters is missing Concept
Yep, I was just about to report the same thing. Was very happy to see it added but it should be documented how to use it. Is it an array of strings? (of types such as "item", "fluid" etc.?)
By the way, your title should be `[0.18.25]`
By the way, your title should be `[0.18.25]`
Re: [18.25] LuaGuiElement::elem_filters is missing Concept
Whoops. It's an array of prototype filters. Basically take one of LuaGameScript::get_filtered_X_prototypes and you can use that in place of elem_filters.
If you want to get ahold of me I'm almost always on Discord.