If I add this feature to depots it creates a many-to-many network mapping problem where previously it was just one-to-many. Algorithmically this would be difficult to implement in a way that is efficient. I'll put it back on my todo list, but I can't make any promises it will come until I find an algorithm to solve the many-to-many problem.
Noted, but I wish to continue the discussion, just for the sake of understanding the problem.
I didn't study the algorithm in-depth, forgive me if it sounds naive. Referring to this part, I observed this possibility:
What if a Cybersyn train is allowed to appear more than once in the global.available_trains
table under different network_name
? What problems can such redundancy lead to? My impression is that the housekeeping code just need to make sure the (multiple) entries of a multi-network train are inserted and removed together in that table.
Edit: Just saw your new reply, took too long to post this XD