Blueprint Janitor

by folk
Instantly investigates and indiscriminately incinerates indistinguishable items from your inventory. Specifically, blueprints.
1 year, 8 months ago
0.15 - 0.16
911
Owner: folk
Source: folknor/factorio-janitor
Homepage: N/A
License: CC-BY-NC 4.0
Created: 2 years ago
Latest Version: 0.1.1 (1 year, 8 months ago)
Factorio version: 0.15 - 0.16
Downloaded: 911 times

Blueprint Janitor

Exceptionally simple mod that de-clutters blueprints from your main inventory (not quickbar).

  1. Whenever you pick up a blueprint or book - from anywhere, including the blueprint library - that has an explicit label set, it looks through your inventory to see if the same type of item with the exact same label exists already. If it does, it destroys it instantly.

This way, you don't end up with more than one copy in your inventory.

That's it.

It will never touch blueprints or books that have not had their labels explicitly set.
And it does not touch anything in your quickbar, only the main inventory.

I did this mostly because I find it easier to find blueprints in the library, and I got annoyed that my inventory kept filling up.

Planned features

What I really wanted to do was delete any blueprint or book in your inventory if you pick the same one up from the library, but as of 0.15.3 it's impossible - as far as I can see - to tell the difference. You can't detect that the buttons in the library are clicked, you can't detect that the item in the cursor changes in a manner that's different from picking things up from the inventory, and so forth. This is explained more detailed in the code (the explanation is longer than the actual code).

Changelog

0.1.1: Update for 0.16.
0.1.0: Initial release.

Artwork

Janitor scribble uncolored by whitemedia http://whitemedia.deviantart.com/art/WIP-Yarny-the-Janitor-60628043 licensed under CC-BY-SA-3.0. Colored by folk (well, technically the creators of The Simpsons :-P).