Vacuum Cleaner

by majoca

Automatically pick up desired items from belts, inserters, and/or the ground. Can filter for an unlimited number of items with whitelist and blacklist. Useful for when items get on the wrong belt.

Utilities
6 days ago
1.1 - 2.0
4.11K

i [Resolved] Planner item

17 days ago
(updated 16 days ago)

It would be nice if the "Vacuum Cleaner" GUI had a button to give you a planner item, which would use the same settings as the currently selected filter preset.

When you select a region as the character controller, it would attempt to send the items to the character inventory, and fail if it runs out of room, similar to your normal function.

When you select a region in Remote View (even if your character is on the same surface), it would destroy the items and not send them anywhere. This is good for dealing with jams on other planets, but should bear an appropriate warning when using this mode.

EDIT: By the way, since I saw you posted here, I'll clarify that I would expect this selection-tool to be only-in-cursor. Being able to make multiple of them in the inventory each with their own settings is not too important to me.

16 days ago

Thanks for the suggestion, this sounds like a neat idea. I'll play around with some prototypes and see what I can come up with.

6 days ago

Alright, I've added the remote vacuum to the newest update. I set it up so that the items "spill" onto the ground and can be picked up by bots (or the player), so there's no worry about destroying items. I think this nicely fits the Space Age theme of "let your bots do everything for you on other planets" :)

And nice work connecting those dots lol :P I was exploring some different options and I do think it would be cool in general to setup multiple planners similar to how the deconstruction planner works. But while it might be possible with the current API, it definitely wouldn't be user-friendly, so I'm leaving that idea alone for now. I'm pretty happy with the implementation I have now.

6 days ago
(updated 6 days ago)

Very nice, that's exactly how I wanted it to work.

The only thing I'll say is that it might be a little irritating to use before you have robots, but in the old version of the mod you had to walk around and hoover up the items yourself anyway.

EDIT: It might be worth testing Space platforms if you haven't already, particularly what would happen if you pick up a load of asteroid chunks from the belt and the platform hasn't got room.

5 days ago

Have you had any particular issue with space platforms? Spilling onto the floor will send the items to the hub, and if there's no room in the hub they'll stay on the floor. And if there's literally no space left on the platform it will just fail to remove the items from the belt.

5 days ago

No, I was just speculating. It's the kind of thing that I would forget, personally, but it sounds like you did test it. ;)

5 days ago

To be fair, I did not specifically test that interaction before releasing :P but luckily in this case it did behave as I would have expected!

New response