[18.25] LuaGuiElement::elem_filters is missing Concept

This subforum contains all the issues which we already resolved.
User avatar
LuziferSenpai
Filter Inserter
Filter Inserter
Posts: 373
Joined: Tue Jul 08, 2014 10:06 am
Contact:

[18.25] LuaGuiElement::elem_filters is missing Concept

Post 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
Coding is awesome!
Animes are love!
Factorio is life!

My MODs:
Click

Greetz,

Senpai
Zomis
Inserter
Inserter
Posts: 33
Joined: Fri Apr 21, 2017 7:01 pm
Contact:

Re: [18.25] LuaGuiElement::elem_filters is missing Concept

Post 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]`
Rseding91
Factorio Staff
Factorio Staff
Posts: 14280
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [18.25] LuaGuiElement::elem_filters is missing Concept

Post 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.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”