[0.15] Blueprint Remover Mod
[0.15] Blueprint Remover Mod
Hey, i made a mod that automatically removes Blueprints from your inventory. This is if you prefer to use the library 100% of the time.
https://mods.factorio.com/mods/mISSAO/BlueprintRemover
No more clutter and a mess in your inventory. No questions asked. Just removal
The functionality is very basic, it deletes blueprints when it finds them. Usage: Make sure that when creating a blueprint, you place it in your library, as dropping it will erase it.
edit: my first ever mod
Based on suggestions from these threads:
viewtopic.php?f=23&t=44679
viewtopic.php?f=6&t=45761
viewtopic.php?f=6&t=45443
viewtopic.php?f=6&t=45476
viewtopic.php?f=6&t=45479
viewtopic.php?f=6&t=44881
viewtopic.php?f=6&t=44931
viewtopic.php?f=6&t=44681
https://mods.factorio.com/mods/mISSAO/BlueprintRemover
No more clutter and a mess in your inventory. No questions asked. Just removal
The functionality is very basic, it deletes blueprints when it finds them. Usage: Make sure that when creating a blueprint, you place it in your library, as dropping it will erase it.
edit: my first ever mod
Based on suggestions from these threads:
viewtopic.php?f=23&t=44679
viewtopic.php?f=6&t=45761
viewtopic.php?f=6&t=45443
viewtopic.php?f=6&t=45476
viewtopic.php?f=6&t=45479
viewtopic.php?f=6&t=44881
viewtopic.php?f=6&t=44931
viewtopic.php?f=6&t=44681
Last edited by aober93 on Wed May 03, 2017 6:19 pm, edited 1 time in total.
Re: [0.15] Blueprint Remover Mod
Excellent work! Good job realizing you didn't need to check every tick
If the code was longer I'd suggest de-duplicating it a bit with some variables and a loop, but for such a short mod you've done just fine.
If the code was longer I'd suggest de-duplicating it a bit with some variables and a loop, but for such a short mod you've done just fine.
Re: [0.15] Blueprint Remover Mod
Thanks!
- 5thHorseman
- Smart Inserter
- Posts: 1193
- Joined: Fri Jun 10, 2016 11:21 pm
- Contact:
Re: [0.15] Blueprint Remover Mod
Feature request: Don't destroy blueprints that are in filtered quickbar slots. This way I can filter one or a few slots, and keep exactly that many blueprints on hotkeys.
If you post your mod to github, I would code and PR this feature. If you want to do it yourself, there's some code here about filtered quickbar slots:
https://github.com/sparr/factorio-mod-g ... ol.lua#L15
If you post your mod to github, I would code and PR this feature. If you want to do it yourself, there's some code here about filtered quickbar slots:
https://github.com/sparr/factorio-mod-g ... ol.lua#L15
-
- Long Handed Inserter
- Posts: 85
- Joined: Sun Dec 04, 2016 9:18 pm
- Contact:
Re: [0.15] Blueprint Remover Mod
Bug: Mod should not delete deconstruction planners, because they cannot be stored in the library. It's actually kind of a hassle to set up a deconstruction planner that destroys every kind of rock and tree, so this makes the mod unusable for me.
I also second the request about not removing blueprints in filtered quickbar slots. I use this for a temporary copy/paste blueprint.
I also second the request about not removing blueprints in filtered quickbar slots. I use this for a temporary copy/paste blueprint.
Re: [0.15] Blueprint Remover Mod
TIL. Thanks.Vegemeister wrote:It's actually kind of a hassle to set up a deconstruction planner that destroys every kind of rock and tree
Re: [0.15] Blueprint Remover Mod
Well even this little mod is NOT trivial to do. I figured 15.7 introduced a bug.
i sent a bug report
viewtopic.php?f=7&t=46456
i sent a bug report
viewtopic.php?f=7&t=46456
- Ranakastrasz
- Smart Inserter
- Posts: 2168
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [0.15] Blueprint Remover Mod
What? Deconstruction planners can be filtered??
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: [0.15] Blueprint Remover Mod
i updated this mod, to allow blueprints as well as deconstruction planners in filtered quickbar slots. Not sure if they are 100% secure lol. Now trying to make it work in sandbox gamemode.
Re: [0.15] Blueprint Remover Mod
yea, good if you wanna remove trees or tiny power poles in your baseRanakastrasz wrote:What? Deconstruction planners can be filtered??