Read belt contents, hold (all belts), read belt length

by Quezler

Sometimes you wish to keep the belt a certain percentage full of items, with this mod you can read the belt length.

Utilities
4 months ago
2.0
466
Logistics Circuit network

g Crash when rebuilding a belt which read the belt length:

4 months ago

read-belt-contents-hold-all-belts-read-belt-count::on_object_destroyed (ID 174)
...nts-hold-all-belts-read-belt-count__/scripts/helpers.lua:35: assertion failed!
stack traceback:
[C]: in function 'assert'
...nts-hold-all-belts-read-belt-count__/scripts/helpers.lua:35: in function 'attach_belt_to_struct'
...lt-contents-hold-all-belts-read-belt-count__/control.lua:222: in function <...lt-contents-hold-all-belts-read-belt-count__/control.lua:210>

Screenshot of the area:
https://i2.paste.pics/7a62701e0e4455cf53a32cbdaa1be633.png?trs=7384659f82328ea39911c4c1570c6e1a07084db9d74ca6c49ca39b09d18b489c&rand=gGJ9DjQuOe

Removing the read belt length from the ghost prior reconstruction, circumvents the crash.

4 months ago

the link gives me a cloudflare error page.

4 months ago

https://paste.pics/T4OIY

Hopefully this one works

4 months ago

fixed in 1.0.5.

New response