SelectableStationCargo/2.5

From TTWiki
Jump to navigationJump to search

Choose what type of cargo should appear at a station.

2.0.1 alpha 10 or later

Switch

Configuration file: selectgoods on|off|<days>

Command line: -G

Description

Sometimes you may want to build two stations at a busy factory, one for deliveries of steel etc. and one to pick up the goods. The problem is that normally goods will appear at both of the stations, making this setup rather useless.

With this patch, no goods will appear until a carrier for that particular type of cargo has arrived.

Think of the factory manager being very mistrusting. He won't send any cargo to your station until he's sure it'll be picked up, because he's afraid that it might spoil. This means that you have to prove your capabilities by showing him your carrier.

So, if you just make sure that no goods trains ever enter your delivery station, you'll never see any goods there, and you won't get bad ratings for not picking them up. This is easier to do with the new non-stop handling, because that way no train will stop at the station if it isn't on the schedule. On the other hand, the pickup station will only ever see goods, even if there's a coal mine nearby, which might have its own station.

After a certain time of no cargo pickup attempts, the station will forget this cargo type. By default, this happens after 365 days, but you can choose the number of days with the parameter to the selectgoods switch. If you specific "selectgoods 2", the forgetting feature is disabled, and stations will never forget any cargo that has been picked up before.

To make one or all stations forget their cargo selection immediately, you can use the StationReset cheats.