Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

Cherry

Uploaded by

CherryChain

Virus scan

Safe to use

Tags for this mod

About this mod

Makes the train station at the railroad a functioning train station and allows modders to add more train stations to create a connected travel network

Requirements
Permissions and credits
Changelogs
Train Station is a mod that transforms the train station at the railroad into a working train station. A ticket booth is added that allows players to pay a fee to travel to other train stations set by modders.

Heavily inspired by the mod Bus Locations which does something similar but with the Bus.

This mod does more by not only adding destinations to the rail station, but also allow the placement of more rail stations via a map property. In this way, it's like a second minecart system. Train travel is accessed by a new ticket machine added to the station on the Railroads map. However, until other locations are added through content packs, the train station isn't functional.

Please make all bug reports in the Bugs tab, not Posts. I do not come on Nexus often and I can't read all the comments, but I will look at bugs. For suggestions, please submit an issue to my github

Instructions:
  1. Make sure you have the latest version of SMAPI
  2. Download and unzip Train Station into your mods folder
  3. Download content packs using

Common issues:
"The ticket station works, but the sprite is broken!" You are using a map mod that messed up the order of tilesheets on the railroad map. Train Station accesses tilesheets the same way vanilla does in code, and this is a common error even in vanilla when map mods are not properly done. Make a report to the map mod's page, not here. Let the dev know they need to ensure that they did not rename the vanilla tilesheets and that any additional tilesheet is prefixed with a "z_"

Compatibility:
In the event that another mod modifies the railroad map and the ticket station ends up somewhere it shouldn't be, or getting off the train at the railroad map becomes an invalid spot, both can be adjusted in the Config.json

{
  "TicketStationX": 32,
  "TicketStationY": 40,
  "RailroadWarpX": 32,
  "RailroadWarpY": 42
}

I'm accepting translations

For modders:
Adding a train station requires two parts. One is to add an access point to open the train menu. This is done via a map property, similar to the minecart one. The second part is to add a new option to that menu, which is done via a content pack.

Destinations can be made conditionally available through the vanilla event preconditions system

You can find the details at the README and take a look at the example pack I provided under optional downloads.

Find the source code of all my mods on my github