Circular Roboports


Adds a shitty implementation of roboports with a circular sphere of influence

Tweaks
a month ago
1.1
40
Logistic network

b script error

a month ago
(updated a month ago)
The mod Circular Roboports (1.0.1) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event circular-roboports::on_player_mined_entity (ID 67)
__circular-roboports__/control.lua:52: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
    [C]: in function 'pairs'
    __circular-roboports__/control.lua:52: in function 'remove_circle'
    __circular-roboports__/control.lua:85: in function <__circular-roboports__/control.lua:82>

The above error occurred when attempting to remove a roboport that was placed via copy/paste in an editing environment (blueprint sandboxes) and didn't have the circular area applied to it. I believe this method of creation uses script_raised_built or script_raised_revive instead of the usual on_built_entity event or others. Similarly, script_raised_destroy can also be used for destruction of the roboport instead of on_player_mined_entity or others.

a month ago

Thanks, that was exactly what was missing. Should be fixed now.

New response