DontRebuildThisStuff

by tkausl

Fixes bots deconstructing and constructing entities when ghosts are placed on top of entities marked for deconstruction.

Content
1 year, 5 months ago
1.1
247
Blueprints

b Crash

2 years ago

I cut piece of my accumulator field with ctrl+X and pasted it back. This crash happened:

Error while running event DontRebuildThisStuff::on_built_entity (ID 6)
Entity is not crafting-machine.
stack traceback:
[C]: in function 'get_recipe'
DontRebuildThisStuff/control.lua:28: in function <DontRebuildThisStuff/control.lua:11>

Otherwise I am very glad that someone revives GhostBuster (https://github.com/dewiniaid/GhostBuster)

2 years ago

Yeah... I kind of broke everything when I implemented recipes and modules, and didn't re-check whether belts and other things still work. Fixed in 0.0.2

I also added a settings option to disable this mod for entities (ghosts) which are placed with a different orientation, as a belt marked for deconstruction is disabled, one with a upgrade request to change direction however keeps shoving items in the wrong direction until a bot finds time to "upgrade" it. This might be undesirable in some circumstances.

New response