Bluebuild

by Mylon

Allows blueprints to be used much earlier. Once a blueprint is placed, nearby entities will be auto-placed at 5/second so long as you have the objects in inventory and are standing still. Once items are marked for deconstruction, they will be auto-removed and put into inventory so long as you are standing still. Press b to toggle building, press n to toggle demolishing.

Utilities
3 years ago
0.14 - 1.1
5.55K
Blueprints

g I've fixed some of the issues

4 years ago

Hey there. I absolutely love this mod. I've had problems with turning autobuild off after recent patch so I took a peek into the mod's code. I've had a free evening so it turned out I was able to find the bug.

I also fixed the demo function (limit 200 wasn't working for me because of long reach mod) and I optimized the demo function so that it works much faster - essentially it only looks through the entities marked for demolition. It doesn't yet remove them when mark was cancelled but it's a good start nonetheless.
I've never written a line in Lua before so excuse me if the code quality is garbage.
Have a nice day y'all
https://gist.github.com/wende/ba26e224d4fb65a9fcd53d4fd5aab327

PS. For people wanting to fix it on their own just paste the file above into C:\Users{User}\AppData\Roaming\Factorio\mods\BlueBuild_1.2.0.zip

New response