Stardew Valley

File information

Last updated

Original upload

Created by

aedenthorn and platinummyr

Uploaded by

platinummyr

Virus scan

Safe to use

Tags for this mod

About this mod

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

Requirements
Permissions and credits
Changelogs
This is an update of Custom Backpack Framework to support Stardew Valley 1.6 I have so far only done minimal testing, but it appears to be working ok. It is highly likely that any new 1.6 content which loads the inventory will not be patched properly to load the extended inventory slots.

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 doesn't change backpack upgrades by itself. You need a mod that uses this framework, such as The Return Of 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.

I ported this from Aedenthorn's original mod at https://github.com/aedenthorn/StardewValleyMods, and the new source is now available at https://github.com/jacob-keller/CustomBackpackFramework/

If you have any issues please report them here and I'll do my best to patch things up. I have only done minimal testing currently.