huoyan1231-UnlimitedPouch icon

UnlimitedPouch

Unlimited pouch mod for White Knuckle. Removes all inventory capacity limits.

Last updated 17 hours ago
Total downloads 48
Total rating 0 
Categories Misc
Dependency string huoyan1231-UnlimitedPouch-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
huoyan1231-WK_huoyan1231COMLib-1.0.0 icon
huoyan1231-WK_huoyan1231COMLib

Common library for huoyan1231's White Knuckle mods. Provides shared leaderboard management utilities — automatically disables leaderboards when any dependent mod exceeds the vanilla Trinket budget, and restores them after each run.

Preferred version: 1.0.0

README

UnlimitedPouch

Unlimited pouch mod for White Knuckle. Removes all inventory capacity limits.

Features

  • Unlimited Pouch Capacity: Set pouch capacity to 9999 (effectively unlimited)
  • Disable Leaderboard Uploads: Automatically disables leaderboard uploads via WK_huoyan1231COMLib (soft dependency)
  • Harmony Patches: Uses Harmony to patch Inventory initialization and pouch creation

Installation

  1. Install BepInEx 5.x for White Knuckle
  2. Download UnlimitedPouch.dll from the bin/Release/net472/ folder
  3. Place UnlimitedPouch.dll in White Knuckle/BepInEx/plugins/UnlimitedPouch/
  4. (Optional) Install WK_huoyan1231COMLib to automatically disable leaderboard uploads

Building from Source

dotnet restore UnlimitedPouch.csproj
dotnet build UnlimitedPouch.csproj -c Release

Requirements

  • BepInEx 5.4.21 or later
  • White Knuckle (Assembly-CSharp.dll)
  • WK_huoyan1231COMLib (optional, for leaderboard disable feature)

How it Works

The mod uses Harmony to patch the following:

  1. Inventory.Initialize() - Sets pouchMaxCapacity to 9999 after initialization
  2. Inventory.CreatePouches() - Sets all pouch maxCapacity and maxLargeCapacity to 9999
  3. Inventory.Pouch.CanAddItemToPouch() - Always returns true, allowing any item to be added

Soft Dependencies

  • WK_huoyan1231COMLib: If installed, the mod will automatically call LeaderboardManager.DisableForThisRun() to disable leaderboard uploads for the current session

Version History

1.0.0

  • Initial release
  • Unlimited pouch capacity
  • Automatic leaderboard disable (if COMLib is installed)

License

MIT License