Construction Probe

by Eketek

Scan new constructions within and around a logistics network to assist in automated delivery of construction materials. Proficiency in the use of combinators for mixed shipments is recommended. Or a good set of blueprints.

Content
8 days ago
1.1 - 2.0
285
Logistics Logistic network Circuit network Blueprints

g Space platforms

11 days ago

Can you also use this to read required construction materials for space platforms?

In combination with one of the "space platform logistics" mods, that would allow you to auto-request exclusively from orbital sources...

9 days ago

I added support for construction probes on space platforms (version 2.2.0). enjoy!

8 days ago

After updating, I get a migration crash:

Error while applying migration: Construction Probe: 1.1.0.lua

__eketek-construction-probe__/migrations/1.1.0.lua:3: attempt to index global 'global' (a nil value)
stack traceback:
    __eketek-construction-probe__/migrations/1.1.0.lua:3: in main chunk
8 days ago

I added a null/name check to the migration scripts. I considered doing something like that with the 2.0.0 update, but let it slide on presumption that old migrations would either remain inactive or would be run under a compatible context).

I do not have an old save on hand to test it with (or any idea how/why the old migrations are getting activated), so I am a bit blind about this update. The changes are at least simple enough that it shouldn't make it any more broken.

8 days ago

The issue was that you used global instead of storage (ie. the old 1.1 naming), and not any issue with the data structure itself. Sorry, could have told you that before - thought the crash message was clear enough...

I'm not exactly sure why the migrations were running - perhaps I didn't actually save the game with the previous version? I'm pretty sure migrations do run once when adding a mod to a save, even when the older versions were never actually installed (after all, migrations can also be used to migrate from other mods). The version numbers of the migration scripts don't matter - each save just remembers the names of the migrations that were already run.

New response