Bluebuild rewritten

by gheift

Allows automatic blueprint building and deconstruction without bots. Once a blueprint is placed, nearby entities will be auto-placed as long as you have the objects in your inventory and are standing still. Once items are marked for deconstruction, they will be auto-removed and put into your inventory as long as you are standing still. Deconstruction speed is based on the mining time and the currently used tool. Press SHIFT+K to toggle building, press SHIFT+L to toggle deconstruction.

Utilities
7 years ago
0.15
17

g crash when deconstructing item with health (control.lua:153: src[i] on nil value)

7 years ago

In control.lua in function inv_remove_item_with_health in line 153 you do

        local stack = src[i]

I believe this should be inv[i] instead. The global src is not defined and indexing a nil value crashes the game.

7 years ago

Thanks for the notice. I fixed it in v0.1.6.

New response