Space Engineers

Space Engineers

Cargo Container Filters
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://steamhost.cn/steamcommunity_com/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.
pashants 27 Aug, 2020 @ 9:35am 
Awesome
ThePandaNetwork 11 Jul, 2020 @ 3:37am 
Mod is not broken .. 100 % no problem
coldform  [author] 3 Mar, 2020 @ 7:08am 
I've tested my mod thuroughly... I can't replicate any issues in either single or multiplayer. please send me you mod lists in the pinned discussion.
diex40 14 Dec, 2019 @ 11:02am 
going to assume the mod is dead at this point
Cal Dasiri 28 Nov, 2019 @ 12:33am 
@diex Does not work for me too. Settings are resetting
diex40 8 Nov, 2019 @ 11:51am 
gess not
diex40 31 Oct, 2019 @ 8:16am 
anyone els having probs with filters getting reset?
Bluewave101 19 Oct, 2019 @ 10:07pm 
yeeeeeeeeeesssssssssss!!!!!!!!!! yay tks u
Yori 16 Oct, 2019 @ 4:26am 
add the "Drain all" function like the sorter and then it's perfect
Skallabjorn 11 Oct, 2019 @ 8:03pm 
excellent
coldform  [author] 11 Oct, 2019 @ 7:48pm 
@skallabjorn this mod pulls a list of all physical items in the game at post-init phase, so any modded components will show up on the list.
Skallabjorn 7 Oct, 2019 @ 5:48pm 
Works for Modded Components as well?
coldform  [author] 6 Oct, 2019 @ 12:20am 
@Thistle Thorn I think I could possibly extend this functionality to any block that has an inventory and isn't using an input constraint - connectors being one of them. I, however would leave out production blocks, as they already come with a preset input constraint. I don't think it would be wise to mess with those with code.

I am also planning on making an active inventory sorter tho...
The Helmsman 1 Oct, 2019 @ 12:47pm 
Any chance of either extending this for other blocks that have an inventory or making a separate mod to do that? What I am thinking of in particular is connectors. In the same spirit of reducing scripts or sorters, connectors (especially on large mining ships where they are used as ejectors) would be an ideal application for this. PS, thank you for a GREAT mod that is in my top 5 of must haves! :)
jokerace45 20 Sep, 2019 @ 1:12pm 
Haven't tested it out yet but I will give it an immediate thumbs up like.
coldform  [author] 13 Aug, 2019 @ 7:32pm 
@zero: ya, kinda. I also didn't want to use my one PB for an inventory script.
Lord Zero 13 Aug, 2019 @ 3:34pm 
Hell yea codl!

- - keeps your faction members with storage OCD sane

this is because of me isn't it, lol
Roger Wilco 7 Aug, 2019 @ 6:36am 
Coldform has become on of my favorite people because of this mod and others he's worked on for us, come check it out and talk to us on Eden's Wrath Server! https://discord.gg/dExBtC4
StarCpt 6 Aug, 2019 @ 1:40pm 
can you add a thumbnail plz
AutoMcDonough 5 Aug, 2019 @ 2:47pm 
cool idea!
Rulin 5 Aug, 2019 @ 7:17am 
Thanks for the clarification! So it would be still useful in a mining ship or a station where a lot of cargo gets auto filled in all the available cargo.
coldform  [author] 4 Aug, 2019 @ 10:55pm 
@Rulin these are passive input filters - they will only allow you to choose what goes into the container, and will not actively pull items.
Rulin 4 Aug, 2019 @ 10:19pm 
Sounds interesting!
Just to be clear, does a filter mean it will pull this item in the container?
If yes, what if there are multiple container with the same filter?
bossbill1 4 Aug, 2019 @ 6:00pm 
Just what I have been looking for, Most of the inventory mods come with a lot of other stuff I just don't want. Thanks.
Steady 4 Aug, 2019 @ 4:15pm 
omg thankyou