Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

aedenthorn

Uploaded by

aedenthorn

Virus scan

Safe to use

About this mod

Lets you easily set custom destinations from one map to another using the config file or content patcher.

Requirements
Permissions and credits
Donations
This mod lets you easily change the tile destination for any existing warp connecting any two maps. 

This mod does not let you create new warp points - it just lets you change destinations for existing warp points.

Custom warp points can be either specified in the config.json file or using Content Patcher.


Syntax

The syntax for warp points is

"<WarpPointToChange>": "<NewX>,<NewY>"


There are three possible ways of specifying a warp point to change:

  • <OriginMapName>,<DestinationMapName>
  • <OriginMapName>,<DestinationMapName>,<VanillaX>,<VanillaY>
  • <DestinationMapName>,<VanillaX>,<VanillaY>

VanillaX and VanillaY refer to the original destination tile point. This is useful if there are two destination points connecting the same two maps.

So, for example, to change the warp point from the farm to the farm cave from 8,11 to 8,10 , you could use one of the following:

"Farm,FarmCave":"8,10"
"Farm,FarmCave,8,11":"8,10"
"FarmCave,8,11":"8,10"


Usage

config.json

Edit this mod's config.json file (created after running the game with it installed). Example:

{
  "EnableMod": true,
  "AdditionalWarpDictFilePath": "CustomWarpPoints",
  "WarpDict": { "Farm,FarmCave,8,11":"8,10" }
}


Content Patcher

You can create a Content Patcher mod that adds custom warp points by referencing the file path specified in AdditionalWarpDictFilePath.E.g.:

{
   "Format": "1.23.0",
   "Changes": [
      {
         "Action": "EditData",
         "Target": "CustomWarpPoints",
         "Entries": {
            "Farm,FarmCave,8,11":"8,10"
         }
      }
   ]
}



Technical

Requires SMAPI, doesn't use Harmony.

Compatible with Mod Updater for automatic updates.

Code is at https://github.com/aedenthorn/StardewValleyMods.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.

A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.