[Bilka] [2.1.7] Logistics group filters in Lua API have no way to report if they import from planet, platforms, or both

This subforum contains all the issues which we already resolved.
User avatar
rycieos
Burner Inserter
Burner Inserter
Posts: 9
Joined: Wed Feb 27, 2019 8:35 pm
Contact:

[Bilka] [2.1.7] Logistics group filters in Lua API have no way to report if they import from planet, platforms, or both

Post by rycieos »

The Lua API for logistic group filters:
https://lua-api.factorio.com/latest/con ... ilter.html
Contains an `import_from` field, which contains the space location for the filter. But there is no field for read/writing the new in 2.1 radio button to select between "Planet", "Platforms", and "All".
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5495
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [2.1.7] Logistics group filters in Lua API have no way to report if they import from planet, platforms, or both

Post by Klonan »

I think there is the `request_from`, it is just not documented? could you try it?
Bilka
Factorio Staff
Factorio Staff
Posts: 3816
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [Bilka] [2.1.7] Logistics group filters in Lua API have no way to report if they import from planet, platforms, or b

Post by Bilka »

Thanks for the report. I confirmed that the type has the "request_from" field of type RequestFromLocation, defaulting to "planet". Added it to the docs for the next release.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Problems and Bugs”