Shuttle Train Continued


The original personal train transport mod, summon your personal train and travel the world !

Content
3 years ago
0.17 - 1.1
12.3K
Transportation

i Filter station for shuttle

5 years ago
(updated 5 years ago)

Hi again,
I prefer my shuttle to only go to station with a specific name, so I made a little change to my version to add a filter function. I don't want to call the shuttle anywhere when i press ctrl+j, only to a station named "shuttle something". If you think it's useful you could add it to your version. I've only replace line 501 and 507 in control to
if (not lowestDistance or distance < lowestDistance) and tempname:find("shuttle") then
(and move tempname up a bit).
Maybe I missed something but it seems to work.

Of course you could add an option for the name. Feel free to add that if you like !

5 years ago
(updated 5 years ago)

Since version 0.17.4 If you just enter the word shuttle in the filter box on the UI it would do this anyways

5 years ago

Well i was talking about the station where the shuttle goes when you call it, not the station where you want to go when you're inside. Anyway it works for me !

5 years ago

yes, the station the shuttle goes to when you call it will automatically respect the filter you apply to the list for destinations also, and has done for several months, your asking for something that has already been done mate ;)

5 years ago

ok i got it i didnt know it was the same filter thanks

New response