Space Engineers

Space Engineers

91 ratings
Cargo Container Filters
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Other
File Size
Posted
Updated
61.727 KB
18 Jul, 2019 @ 10:02pm
13 Aug, 2019 @ 8:42pm
20 Change Notes ( view )

Subscribe to download
Cargo Container Filters

Description


this mod adds an input filter to cargo containers, allowing you to better organize your inventories without the need for sorters -

- each cargo container has its own unique filter
- each filter is fully configurable in the same manner as sorters
- works with all cargo containers, non-vanilla too
- only affects input side only (putting stuff in is filtered, taking stuff out is not)
- passive filters only, but still may eliminate the need for costly inventory scripts
- keeps your faction members with storage OCD sane
- very low server performance impact - small amounts of code only running when the filter is changed
Popular Discussions View All (1)
15
14 Sep, 2022 @ 2:46pm
PINNED: ERRORS, BUGS, AND SUGGESTIONS
coldform
35 Comments
RaSvet 15 Oct, 2022 @ 8:16am 
I found a problem - Your mod periodically stops working. Yes, I use many different mods. It was obvious that this was a conflict between mods. By the method of exclusion, I found that the conflict is caused by another mod - Cargo Container with Fill Level Bars (https://steamproxy.net/sharedfiles/filedetails/?id=677790017) .
It's very sad that I had to choose between two good mods, but my choice fell on your mod. After all, the order in the containers is much more important than the scenery.
Thank you for the great work!
StormLondon 5 Jul, 2022 @ 9:56am 
Didnt work on my server, but did disable all my other mods :steamfacepalm:
mazrados 13 Mar, 2022 @ 1:52am 
Is it possible to add it for other (not production) components with cargo, like cockpits for example?
coldform  [author] 25 Feb, 2022 @ 4:27pm 
I would love to enable this across production inventories as well, but that code is used.

everything that has an inventory, has what's called an inventory constraint . this is essentially what is used to filter inventory. Not every inventory uses the constraint, such as cargo containers. my mod simply "turns on" this constraint for cargo containers, and lets you manipulate it in the terminal.

production inventories - such as assemblers and refineries - have this filter already turned on, set to certain default values, without letting the player change those. this is important to maintain, otherwise, a player can change what is allowed to go into these blocks, and thus may cause problems - everything from players abusing the extra inventory space, to unforeseen bugs.
Oneill_SFA 25 Feb, 2022 @ 2:11pm 
If you could do as JarutheDamaja suggested and include refineries/assemblers/etc this could replace a lot of inventory/production scripts. Add a way to limit inventory per item by quantity and you could automatically shift cargo whever you wanted, keep reactors filled with just X amount of uranium so you have enough left for ammo, keep turrets full, all kinds of things.
JarutheDamaja 18 Apr, 2021 @ 7:39am 
For me both blacklists and whitelists saves well after a reload of the SP savegame.

Any chance the filter list could be applied to all blocks having cargo space? Especially connectors and survival kits and cryo chambers to start with?
I love the idea of passive filters, but I would need it on any other block more than on cargo containers.
Annastasya 4 Mar, 2021 @ 2:42pm 
It seems almost like the filtration switches from whitelist to blacklist (default for filter dropdown box). I haven't tested this yet to be certain but that seems to be a possibility. Admittedly, I am using quite a large volume of mods, but nothing that effects cargo or sorter filtration. The filter settings for cargo look correct and show up visually as they have been saved correctly but the cargos that are filtered will not allow items to be moved into them (after reload) until I empty the filter list, then it all works as normal. I setup the filter again, as it appeared to be, and it filters without issue as your mod intends. Again, it is only on load of the world that existing whitelist filters on cargos act like blacklist, once they are cleared and setup again it works without issue until reloading the world.
coldform  [author] 2 Mar, 2021 @ 12:27pm 
@Annastasya the biggest trick this mod pulls off isn't actually adding the filter, but loading and saving them. I would dive into the code and figure this out. also, what other mods are you using?
Annastasya 28 Feb, 2021 @ 8:16am 
I love the mod and it works great once you set it up, however loading up a save with containers already setup makes the containers not accept anything until they are re-setup. Frustrating when you have a lot of filtered containers to reset.
enenra 23 Nov, 2020 @ 7:08am 
@coldform
Hi, I love the idea of this mod. One issue I've hit though: It doesn't seem to be possible to set the filter for multiple cargo containers at once by having multiple selected. Do you think that could be implemented? It would make setting up much easier.