New FilteredContainer prototype
Posted: Tue Apr 20, 2021 1:36 am
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.
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.