P2P-Automation : Platform to Platform Logistics

by SirPuck

Automated logistic requests from Platfrom to Platfrom in the same orbit (space location) using vanilla mechanics.

Content
3 months ago
2.0
1.15K
Logistics Logistic network

g Feature request: Set request based on platform requests.

4 months ago

So it could be that this is already possible, and I just don't realize how, but I want the P2P requests to be able to fulfil "normal" requests the platform has, such as the missing materials requests or requests that would otherwise be filled by rocket launches.
My reason for requesting this is that this is one of the several mods I've looked into in my quest to make a functioning orbital shipyard, where the core problem lies in getting things from the shipyard platform to newly created platforms / platform blueprints.
With this mod as it is now, I find myself checking how many the requesting platform needs of any given part, then entering a request for that specific amount from the shipyard platform. This gets a bit tedious when there's dozens of different parts to enter, and the time it takes to do so may throw off the math as the incomplete platform is pelted with asteroids.
Such a functionality would enable not only my little shipyard project, but also things like orbital resupply stations or transport buffer stations with a bit more ease and grace.

4 months ago

Hello, I thought about that already, unfortunately, I don't think I can read the requests of the hub, or I haven't found how to do it.
I could make an API request tho.

4 months ago

Yeah, from an 'outside perspective' (I have little technical knowledge of Factorio modding), it looks like there's no real connection between the hub logistics systems and any planetside logistics or signal systems. Weird though, I thought for sure Earendel would at least have brought it up during Space Age development, being the creator of AAI Signals and all.

4 months ago

Hello Soldin.
I dug a bit deeper and I MAY have found a way to finally implement this feature. Big if true, honestly, I've been wanting to do this for a while now.
It may take me a bit of time but I'm gonna work on it :).
You can join my Discord if you want more regular updates.

4 months ago

Well that's just fabulous. I must admit, I'm kinda curious as to the process on this one. What looks like it might work?

4 months ago

So I discovered that there actually is an endpoint that lets you read some parts of what the PF is doing in terms of logistics. I'm not yet entirely sure of what the infos I'm reading are (from what i've seen, it's either the items being delivered, either the items being picked up by robots for the platform on the planet side, either the items being dropped by the platform).
But it's promising. I need to explore this a little more.
I also found a way to disable planetary requests based on the state of P2P, like a global override that says STOP DOING STUFF WITH PLANET UNTIL I SAY SO !

New response