You are viewing a potentially older version of this package. View all versions.
Aolion-BackpackCapacity-1.0.5 icon

BackpackCapacity

A refork of PI's BackpackCapacity, fixed for PEAK 1.0. Configurable backpack capacity (default 6 slots, min 1, max 100), adjustable in airport.

By Aolion
Date uploaded 5 hours ago
Version 1.0.5
Download link Aolion-BackpackCapacity-1.0.5.zip
Downloads 302
Dependency string Aolion-BackpackCapacity-1.0.5

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.2403 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.2403

README

Peak Backpack Capacity Mod (PEAK 1.0 Compatibility Fix)

🙏 Credit: This mod is a compatibility fix built on top of BackpackCapacity by the original author PI. All core functionality and design credit goes to PI, as this release only patches the breakage introduced by PEAK's 1.0 launch (backpacks becoming inaccessible, and a duplicate backpack being spawned on the floor when equipping/interacting).

Features

  • Expand backpack capacity by a configurable amount. Default: 6 slots,
  • Increasing slots only affects slot count; item weight limits still apply.

Installation

  1. Place *.dll into BepInEx/plugins
  2. Make sure BepInEx and Harmony are installed
  3. Start the game; the mod will load automatically

⚠️ Multiplayer Notice: All players must have this mod installed!

CHANGELOG

v1.0.2

添加:房主同步背包容量

v1.0.3

修复:增加、减少容量时的bug

v1.0.4

修复:同步时的bug

v1.0.4-fix1 (community patch)

Fixed for PEAK 1.0 final release:

  • ItemSlot.prefab / ItemSlot.data are now properties (not public fields) in 1.0; direct field access in DeserializeValue/RefreshVisuals patches was throwing MissingFieldException at runtime, corrupting backpack state (inaccessible backpack, duplicate spawned on equip). Now routed through ItemSlot.SetItem() / get_prefab() / get_data() like vanilla 1.0 does.
  • BackpackWheel.InitWheel gained a new slotCount parameter in 1.0 that vanilla now uses to decide how many wheel slices actually get populated with item data (extra slots beyond the base default were being hidden/deactivated even though the mod had expanded capacity). InitWheelPrefix now overrides this value to match the configured capacity.

Original mod and all core design/functionality by PI (https://thunderstore.io/c/peak/p/PI/). This release is a binary-level compatibility patch only.