Page 1 of 1
[18.25] LuaGuiElement::elem_filters is missing Concept
Posted: Tue May 19, 2020 12:38 pm
by LuziferSenpai
Hey,
in the current API Description the LuaGuiElement::elem_filters is missing the concept, so we know how to add the filters.
Greetz,
Luzifer
Re: [18.25] LuaGuiElement::elem_filters is missing Concept
Posted: Tue May 19, 2020 12:46 pm
by Zomis
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]`
Re: [18.25] LuaGuiElement::elem_filters is missing Concept
Posted: Tue May 19, 2020 4:49 pm
by Rseding91
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.