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
- Install BepInEx 5.x for White Knuckle
- Download
UnlimitedPouch.dll from the bin/Release/net472/ folder
- Place
UnlimitedPouch.dll in White Knuckle/BepInEx/plugins/UnlimitedPouch/
- (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:
Inventory.Initialize() - Sets pouchMaxCapacity to 9999 after initialization
Inventory.CreatePouches() - Sets all pouch maxCapacity and maxLargeCapacity to 9999
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