I'd really like to be able to create a `type = container` prototype that allows filters, like character and vehicle inventories. An optional prototype property in https://wiki.factorio.com/Prototype/Container perhaps?
For performance reasons this would presumably have to be a separate prototype e.g. FilteredContainer (kinda like LinkedContainer!).
I'd like it for the docks in Spidertron Patrols which act as a proxy to a spidertron's inventory by scripting to sync the inventory. But a spidertron can have filters and the docks (which are of type Container) can't, which causes a mess if filters are used.
I know that quite a few things (e.g. cargo rockets in Space Exploration) could benefit from this.
New FilteredContainer prototype
New FilteredContainer prototype
Last edited by Xorimuth on Mon May 30, 2022 8:20 pm, edited 7 times in total.
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
-
- Inserter
- Posts: 25
- Joined: Tue Mar 26, 2019 6:13 pm
- Contact:
Re: New FilteredContainer prototype
+1 really want this please
Re: New FilteredContainer prototype
I've added support for containers to have the inventor-with-filters type for the next release:
Added support for container entities with filters by using inventory_type = "with_bar" or "with_filters_and_bar".
If you want to get ahold of me I'm almost always on Discord.