Stardew Valley

File information

Last updated

Original upload

Created by

aedenthorn

Uploaded by

aedenthorn

Virus scan

Safe to use

About this mod

Lets you use Content Patcher to allow for custom, unlimited backpack upgrades.

Requirements
Permissions and credits
Changelogs
Donations
With this mod you can customize the backpack upgrade system, allowing for larger backpacks beyond 36 slots!

This mod adds scroll capability to the inventory grid. Scroll using the mouse scroll wheel, up and down arrow keys, or up and down on a controller. You can also click on the arrow keys and scroll bar with the mouse.

There is also a + button beside the inventory grid to show an expanded view of the inventory.

This mod does change backpack upgrades by itself. You need a mod that uses this framework, like More Backpack Upgrades.





You can create your own Content Patcher mod to set custom backpack upgrades like More Backpack Upgrades.

You can also manually set your backpack size using the SMAPI console, e.g.:

custombackpack 60

to set your backpack slots to 60. Only use multiples of 12.


Content Patcher

An example content.json file would be:

{
    "Format": "1.23.0",
    "Changes": [
        {
            "Action": "EditData",
            "Target": "aedenthorn.CustomBackpack/dictionary",
            "Entries": {
                "24": {
                    "name": "Large Backpack",
                    "cost": 2000,
                    "texturePath": "aedenthorn.CPCustomBackpacks/backpacks",
                    "textureRect":
                    {
                        "X":0,
                        "Y":0,
                        "Width": 12,
                        "Height":14
                    }
                }
        },
        {
            "Action": "Load",
            "Target": "aedenthorn.CPCustomBackpacks/backpacks",
            "FromFile": "assets/backpacks.png"
        }
    ]
}


textureRect refers to the part of the texture used for the specific backpack.


Technical

Requires SMAPI, uses Harmony.

Implements a Generic Mod Config Menu interface to change config settings in-game.

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.