ExpandedCrates
Overrides how many items fit in crates
模組介紹 作者原文
Expanded Crates
Overrides how many items fit in crates. The default is 32, But you can set CrateCapacity in the
F4 menu if you need too, setting it to 0 makes the mod use the default number.
How it works:
Crates size their storage from the selected class data, which is where
the usual limit of 4 comes from when selecting pinata. The mod hooks
entityAvatarPinataCrateGetStorageSlot and rewrites maxObj in the moment
before the crate allocates its storage buffer. The game then uses maxObj to know when to stop letting you select items, Since we already set it to the new amount the game will let you pack up to that limit.
Known Issues:
- Only applies to new crates.
- If the CrateCapacity is set too high you might cause heap corruption.
- Should be fixed: Pinata Central crates would expect increased input too, mod no longer applies to any crates with a starting max capacity of 1 (quick fix)
- Set FixCrate variable to 1 to retroactively fix this - Don't have any other crates out when you do this
Credit:
- All Credit goes to SolarCookies
- For any help creating your own mod, check out the VP Modding Discord
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。