Recursive Blueprints+

by FoxLBA

Automate blueprints to build a self-expanding factory. Fork of Recursive Blueprints with new features.

Content
a month ago
1.1 - 2.1
33.2K
Circuit network Blueprints

b 1.5.0 crash on deconstruction

a month ago

Crashes the game when mining a BAD chest with

Error while running event rec-blue-plus::on_object_destroyed (ID 180)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__rec-blue-plus
/lualib/deployer2.lua:594: in function 'reset_IO'
rec-blue-plus/lualib/deployer2.lua:66: in function 'destroy'
rec-blue-plus/lualib/deployer2.lua:41: in function 'on_destroy'
rec-blue-plus/control.lua:114: in function <rec-blue-plus/control.lua:108>

a month ago
(updated a month ago)

My temporary fix is to wrap the block into an extra IF statement like this:

  if self.entity.valid then
    local cb = self.entity.get_control_behavior()
    if cb and cb.output_networks then
      cb.output_networks = {red = true, green = true}
    end
  end
a month ago

Thanks, I fixed it in the next version.

New response