pick_up_loot

by meifray

if in_roboport_radius(loot) then loot.deconstruction=true; end

Utilities
2 years ago
1.1
310
Owner:
meifray
Source:
N/A
Homepage:
N/A
License:
The Unlicense (Public Domain)
Created:
2 years ago
Latest Version:
0.0.1 (2 years ago)
Factorio version:
1.1
Downloaded by:
310 users

if you have roboport and construction bot,then loot can be pickup by them.
this script trigger every second instead of tick,so it should not bottleneck of anything,
but any optimization can be provided or you can just fork a better version by youself.