connect_rolling_stock(direction, max_distance)

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
Godmave
Long Handed Inserter
Long Handed Inserter
Posts: 89
Joined: Tue Nov 15, 2016 3:52 pm
Contact:

connect_rolling_stock(direction, max_distance)

Post by Godmave »

new optional parameter "distance", that allows for farther rolling_stock connecting

Boodals
Fast Inserter
Fast Inserter
Posts: 129
Joined: Sun Feb 11, 2018 7:10 pm
Contact:

Re: connect_rolling_stock(direction, max_distance)

Post by Boodals »

Something like connect_rolling_stock(direction, other_rolling_stock) could be more useful, so you can build trains without having to move each wagon into place. Maybe including a way to get the distance to another rolling stock so we can do the distance comparison ourselves if that is important.

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: connect_rolling_stock(direction, max_distance)

Post by Optera »

Direction always seems wonky with trains. We'd need a clear way to get a carriage direction first before we can say connect the next carriage in a direction.

Post Reply

Return to “Modding interface requests”