Automatic Clear Cutting


Will automatically mark trees and rocks within a roboport's range for deconstruction when built or upgraded.

Tweaks
2 days ago
1.1 - 2.0
427

g Error when Construction Bots place Roboports

a month ago

The following message appears when my construction robots build a roboport.

The mod Automatic Clear Cutting (0.1.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event autoclearcut::on_robot_built_entity (ID 14)
autoclearcut/control.lua:98: attempt to index field 'created_entity' (a nil value)
stack traceback:
autoclearcut/control.lua:98: in function <autoclearcut/control.lua:98>

a month ago

ok, pushed an update with a fix.

They changed some names and I forgot one place.

a month ago

Holy, that was fast. Thanks :D

a month ago

No problem.

Just luck that I looked at my email minutes after you initially posted. :P

25 days ago
(updated 25 days ago)

I get the exact same error when copying a Factorissimo (https://mods.factorio.com/mod/factorissimo-2-notnotmelon) building with roboports inside.

The mod Automatic Clear Cutting (0.1.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event autoclearcut::on_robot_built_entity (ID 14)
autoclearcut/control.lua:98: attempt to index field 'last_user' (a nil value)
stack traceback:
autoclearcut/control.lua:98: in function <autoclearcut/control.lua:98>

Edit: oh It's not exactly the same now that I look closer

New response