About this mod
DOES NOT DO ANYTHING ON ITS OWN.
This mod adds several Content Patcher tokens for use by other mods.
- Requirements
- Permissions and credits
- Changelogs
by sophie
This mod has no effect on gameplay by itself. It provides more options to people using Content Patcher to create patches, and as such may be a required dependency of any such content packs.
This mod exposes several internal game values related to the Mines as Content Patcher tokens, for use in your patches. This means you can easily determine what floor of the mines a player is on, whether they're in the Mines/Skull Cavern/Quarry, and whether or not Hard Mode is enabled. More tokens may be added in the future on request.
Installation (for Mod Users)
- Install the latest version of SMAPI.
- Download this mod and unzip it into Stardew Valley/Mods.
Usage (for Mod Authors)
- Add this mod as a dependency to your manifest.json.
- Reference the custom tokens as shown below.
Documentation
This mod adds the following tokens:
- IsMines, IsQuarry and IsSkullCavern: these tokens will return "true" if you are in the specified area and "false" otherwise.
- If these aren't granular enough for you, consider using MineLevel which will return the numeric value of the level of the mines you are on. 1-120 indicates you are in the regular mines, 121+ indicates you're in the skull caverns, and 77377 is reserved for the quarry.
- Finally, IsHardMode will return "true" if the mines are set to Hard Mode and "false" otherwise.
Compatibility
- Works with Stardew Valley 1.5 on Windows. Linux/Mac have not been tested but should work. Earlier versions have not been tested but should work. Please report any issues you encounter.
- Works in single player and multiplayer.
Source code:
Available here.