read required platform construction materials without "auto request"

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
sh4dow
Burner Inserter
Burner Inserter
Posts: 16
Joined: Sun May 26, 2019 8:50 pm
Contact:

read required platform construction materials without "auto request"

Post 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...
Rseding91
Factorio Staff
Factorio Staff
Posts: 16282
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

When auto requests are enabled that’s exactly what the engine is doing.
If you want to get ahold of me I'm almost always on Discord.
User avatar
BraveCaperCat
Filter Inserter
Filter Inserter
Posts: 471
Joined: Mon Jan 15, 2024 10:10 pm
Contact:

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

Post 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.
Creator of multiple mods, including Quality Assurance - My most popular one.
Go check them out with the first and second links!
I'll probably be wanting or giving help with modding most of the time I spend here on the forum.
Post Reply

Return to “Modding interface requests”