You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Py includes four types of wagons. For items, they are (1) 20 slots, six tiles long, one space between; (2) 20 slots, three tiles long, see image for the weird way inserters map to wagons; (3) 40 slots, six tiles long; (4) 40 slots, three tiles long, same as #2.
The layout code has things like "length = length - 7" in it that assume the vanilla wagon size, so I have to disable automatic allow-listing to use the compact trains.
I haven't looked yet at how the compact trains are implemented to figure out how to detect their layout. It's not obvious how to connect with the auto-allow-list code because a station can accept both 1-4 basic trains and 1-8 advanced trains.
The text was updated successfully, but these errors were encountered:
I looked into this a while ago and the way that the layout code works currently makes this A LOT of work to implement. Everything is hardcoded, and even the way that train layout is stored assumes that every wagon and locomotive is the same length. The py wagons in particular overlapping a bit makes things even worse since there are now tiles that line up with more than wagon.
I might decide to have another look into it at some point but it's not high priority for me at least.
Py includes four types of wagons. For items, they are (1) 20 slots, six tiles long, one space between; (2) 20 slots, three tiles long, see image for the weird way inserters map to wagons; (3) 40 slots, six tiles long; (4) 40 slots, three tiles long, same as #2.
The layout code has things like "length = length - 7" in it that assume the vanilla wagon size, so I have to disable automatic allow-listing to use the compact trains.
I haven't looked yet at how the compact trains are implemented to figure out how to detect their layout. It's not obvious how to connect with the auto-allow-list code because a station can accept both 1-4 basic trains and 1-8 advanced trains.
The text was updated successfully, but these errors were encountered: