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"
<br />"Farm,FarmCave,8,11":"8,10"
<br />"FarmCave,8,11":"8,10"
<br />
Usage
config.json
Edit this mod's config.json file (created after running the game with it installed). Example:
{
<br /> "EnableMod": true,
<br /> "AdditionalWarpDictFilePath": "CustomWarpPoints",
<br /> "WarpDict": { "Farm,FarmCave,8,11":"8,10" }
<br />}
<br />
Content Patcher
You can create a Content Patcher mod that adds custom warp points by referencing the file path specified in
AdditionalWarpDictFilePath.E.g.:
{
<br /> "Format": "1.23.0",
<br /> "Changes": [
<br /> {
<br /> "Action": "EditData",
<br /> "Target": "CustomWarpPoints",
<br /> "Entries": {
<br /> "Farm,FarmCave,8,11":"8,10"
<br /> }
<br /> }
<br /> ]
<br />}
<br />
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.