Page 1 of 1

read required platform construction materials without "auto request"

Posted: Sat Nov 08, 2025 9:39 pm
by sh4dow
I'd like to be able to read all the necessary construction materials for a platform, without it requesting missing materials from the planet.

When implementing mods for inter platform logistics, it's currently quite difficult to account for required materials (one would have to manually scan/keep track of entity blueprints, tile blueprints and item/module insertion requests). Since the game already does the required logic for that, it would be nice if there was an API to directly read missing materials without having to enable auto requests and then reading the logistic section...

Re: read required platform construction materials without "auto request"

Posted: Sun Nov 09, 2025 12:44 am
by Rseding91
When auto requests are enabled that’s exactly what the engine is doing.

Re: read required platform construction materials without "auto request"

Posted: Sun Nov 09, 2025 7:27 pm
by BraveCaperCat
Rseding91 wrote: Sun Nov 09, 2025 12:44 am When auto requests are enabled that’s exactly what the engine is doing.
Perhaps, but the native C++ code probably runs a lot faster than equivalent lua code, it would be simpler to code this kind of behaviour in lua and it would prevent the game from having to check every space platform twice each for ghost entities/tiles.