Containers for certain item groups only

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
Trippelbob
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Apr 01, 2018 3:53 pm
Contact:

Containers for certain item groups only

Post by Trippelbob »

TL;DR / What
Add an optional property to container entities to accept only certain items and/or item-groups.
Why
This would create the possibility for modders to create specific container entities like nuclear waste disposal zones or granaries and cold storage houses if a modder would want to add some sort of agriculture into the game (storing perishable items for ages in normal chests next to industrial goods just feels awkward for example). Because of the item group limitation, these specific containers could have a huge capacity making them lucrative compared to regular chests without being overpowered.

User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2633
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: Containers for certain item groups only

Post by steinio »

Storage chests with set filter?
Image

Transport Belt Repair Man

View unread Posts

Trippelbob
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Apr 01, 2018 3:53 pm
Contact:

Re: Containers for certain item groups only

Post by Trippelbob »

Yeah, it could be implemented as a non-changeable filter, just like fuel inventories only accept certain item types. Of course, you might also code a CPU-heavy Lua-based script that regularly throws out every other item. But that’s not quite appealing, isn’t it?

User avatar
Stragemque
Inserter
Inserter
Posts: 23
Joined: Wed Sep 10, 2014 11:20 am
Contact:

Re: Containers for certain item groups only

Post by Stragemque »

Did you figure this out? I am adding colonists and want to limit a chest type entity to just allow that the colonists item group, similar to an ammo category. i.e colonist, injured-colonist, tierd-colonist etc.
zinovic

Post Reply

Return to “Modding interface requests”