TrainTaxi 0.0.1 [0.11.11+]

Topics and discussion about specific mods
Post Reply
Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

TrainTaxi 0.0.1 [0.11.11+]

Post by Choumiko »

This mod is mainly for me being lazy when using the Railroad Fetch Trick

From the thread:
DerivePi wrote:So you're building a railroad to a future mining outpost at some distance from your base and you run out of material.
Not a problem! Just place a railroad station marker and rename it "FETCH" and in a little bit of time, your supply train will arrive with all the needed material for you to continue building away from the base.
Here's how it works:
- At your main base, provide a dedicated railroad loop and station marker named "SUPPLY" - Setup this loop to automatically supply your train that's parked there with supply items (RR-Straight, RR-Curved, Walls, Big Electric Poles, Lasers, Signals, etc...)
- Create an inaccessible railroad spur (this can be done by branching off of a one way RR in the wrong direction) and add a Station marker named "FETCH"
- Schedule the train at "SUPPLY" to travel to "FETCH"
- When the train tries to go to "FETCH" it should signal a "No Path" problem because it can't reach the inaccessible "FETCH" station.
- The "No Path" problem goes away when you provide a future accessible "FETCH" station.

When the supply train arrives, turn the auto off so it doesn't leave until you are ready. Grab all the supplies you need. Create a circle so the train can return to "SUPPLY" and then turn the auto on again. Once the train has left, mine the station marker for "FETCH" so that you can use it again further up the line.
TrainTaxi simply adds buttons for configured stations when you open a train-stop. When you click one of them the station gets renamed and your train sets off, once it arrives at the station it is put into manualmode automatically.
When using Factorio >= 0.11.11 you can remove the inaccessible stations once you have the schedule setup, since invalid stations don't get removed from the schedule but are skipped instead.

The names of the stations are defined in control.lua @ line 4. Simply rename them to whatever you prefer, start Factorio/reload the game and it should work.
Attachments
TrainTaxi_0.0.1.zip
(2.11 KiB) Downloaded 176 times

Kane
Filter Inserter
Filter Inserter
Posts: 666
Joined: Fri Sep 05, 2014 7:34 pm
Contact:

Re: TrainTaxi 0.0.1 [0.11.11+]

Post by Kane »

Very nice :)

Post Reply

Return to “Mods”