Tinyboss wrote: Thu Nov 14, 2024 2:53 pm
Currently for auto requests, if multiple platforms are requesting the same thing, it must decide somehow--first maybe? It could work the same for a manually-loaded rocket. If two or more platforms are requesting everything on the rocket, just pick one to send it to, using the same method.
Would that work?
No idea if that would work, but in my head, if we are sending rockets trough logic circuit, then the platform won't be requesting anything.
But that comes with the pain that we can't talk to the platform.
Well, thinking more, station A is set to request lets 1k belts, station B is set to request 1k substation.
Currently in the game, it decies somehow which one to send first, fifo maybe, but it does know which one is request which item...
Now, if we had this on logic circuit, would have the station requesting, and rocket silo set to not automatically send.
Then one reads it from the rocket silo with logic and do something with the request, and at some point, want to trigger the launch rocket signal. Which would sent do the first platform that request belts.
That wouldn't just work, as we might just sent the wrong item to the platform.
Having multiple platforms requesting different items would just group all requests into one big messy signal.
I think we must target a platform with surface id, assuming we had a box to input it from signal, that it would reads the requests from that surface, and send the rocket to that surface.
I imagine that when we open the rocket silo UI, it does count how many stations are on that planet and mask their ids behind each "launch" button.
Similarly, if those are exposed for mods, we should be able to mod it to show as a logic signal, right?
Rocket silo would have similarly to roboport, ship count, that would return how many ships are waiting there, and then a number box for its id, like train id.
From that we could make a circuit that loops trough the station and send the items. I think we don't even need the station id, a simple index would work, like fifo, first to arrive, second to arrive, third to arrive.