A mysterious disease consumed the protagonist’s village, but he managed to escape. Now the character finds himself alone in the wild, where he must find food and... Read more
Players:
Steam:
Bigger Stacks
Author:
Flusk
Uploaded by:
Size:
2.46 kB
Date:
June 21, 2025, 09:07 AM
Downloads:
61
-
Download (2.46 kB)June 20, 2025, 08:25 PMbigger-stacks_1750440341_920475.rar
The mod increases the maximum stack size of items in the inventory to 999, simplifying inventory management and reducing the need for frequent sorting.
Attention! Test on a non-primary save!
Technical details:
Basics:
- Created as a plugin for BepInEx (IL2CPP version).
- Uses Harmony to modify the game's source code.
Modified method:
- Patches the InventorySlot.SetMaxStackAmount method to override the stack limit (maxStackSizeOverride).
- The value 999 is set via reflection, since the maxStackSizeOverride field is private.
Error handling:
- Logs errors to the console if changes cannot be applied.
Installation:
- Requires BepInEx for a Unity game with IL2CPP. Download link HERE.
- Place the .dll file into BepInEx/plugins.
Compatibility:
- Works only with The Last Plague (TLP).
- May conflict with other mods that modify InventorySlot.
Source code:
Written in C#, uses:
- Il2CppInterop for working with IL2CPP code.
- HarmonyLib for non-destructive patching.
Logging:
- On launch, outputs the message "BiggerStacksPlugin loaded" to the BepInEx log. Note: Reflection is used to modify private fields, which may be unstable after game updates.
Useful links: