Treasure chest expansion
This customizable mod greatly expands the range of items available in Underground Treasure Chests, allowing each chest to contain multiple items and adding gold to chest rewards.
Screenshots 8 screenshots
About this mod Machine translation
This customizable mod greatly expands the range of items available in Underground Treasure Chests, allowing each chest to contain multiple items and adding gold to chest rewards.
Treasure Chest Expansion 🎁
Overview
✨ This mod makes the treasure chest loot in the Skull Cave fully customizable! Through the configuration file, you can adjust the item type, quantity and gold reward in the chest according to your preferences.
Prerequisites
⚠️ **IMPORTANT NOTE**: This mod requires the Advanced Loot Framework mod to be installed in order to function properly.
---
🎯 Core Functions
- **Multi-Item Bonus**: Each treasure chest can now contain up to 5 items
- **Gold Coin System**: Add gold coin drops to chest rewards
- **Fully Customizable**: adjust all parameters via configuration files
- **Value Calculation**: Intelligently calculate the value of items based on the depth of the mineral layer
⚙️ Configuration options
A default config.json file is created when running the mod for the first time:
```json
{
"EnableMod": true,
"MaxItems": 5,
"ItemsBaseMaxValue": 100,
"MinItemValue": 20,
"MaxItemValue": -1,
"CoinBaseMin": 20,
"CoinBaseMax": 100,
"IncreaseRate": 0.2,
"ItemListChances": {
"MeleeWeapon": 100,
"Shirt": 0,
"Pants": 0,
"Hat": 0,
"Boots": 100,
"BigCraftable": 100,
"Ring": 100,
"Seed": 100,
"Mineral": 100,
"Relic": 100,
"Cooking": 0,
"Fish": 0,
"BasicObject": 0
}
}
```
📊 Detailed configuration explanation
**Item Value Calculation**:
- Item value is based on the formula: `ItemsBaseMaxValue * (mineLevel - 120)^IncreaseRate`
- **ItemsBaseMaxValue**: The maximum gold coin value of the treasure in the first level of the Skull Cave (mineral level 121)
- **IncreaseRate**: The speed at which the value of each layer increases
**Item Selection Mechanism**:
- Randomly select items until any of the following conditions are met:
- The number of items in the box reaches **MaxItems**
- The total value of the items reaches the calculated maximum value
- The list of all possible items has been exhausted
**Item Type Chance**:
- **ItemListChances** controls the chance of each item type being selected
- 0% means it will never appear, 100% means it will always be added
🔗 Recommended related modules
**Other Box Mods**:
- Overworld Chests
- Fishing Chests Expanded
**Underground related modules**:
- Underground Secrets
- Custom Ore Nodes
- Custom Resource Clumps
- Boss Creatures
🎮 Usage suggestions
💡 **Tip**: This mod will not increase the number of treasure chests you encounter in the mines. If you want more treasure chests, try the Custom Dungeon Floors mod.
🛠️Technical Information
- **Requirements**: SMAPI and Advanced Loot Framework required
- **Compatibility**: Compatible with Mod Updater, supports automatic updates
- **Source code**: GitHub repository
Get ready to make your Skull Cave adventure even more enriching and exciting! 🎉
Install & use Install: SMAPI mod (Stardew Valley standard)
- Install SMAPI first (Stardew Valley's mod loader): download it from smapi.io, run 'install on Windows.bat' and pick your game folder.
- Unzip the archive from playbuff and find the folder that contains manifest.json — that folder is the mod.
- Copy that whole folder into Stardew Valley/Mods/.
- Launch the game through SMAPI (run StardewModdingAPI.exe or set it as the launch option). The console before the title screen lists each mod's load result.
Cheat-style tools may not need SMAPI — unzip and run them as the readme describes. Back up your save before editing it; SMAPI lists failed mods in its console.