Project Zomboid

Project Zomboid

JB Max Capacity Override
目前顯示第 1-10 項,共 18 項
< 1  2 >
更新:11 月 20 日 @ 下午 2:43
jbdiablo 發表

added a check for CleanUI so I don't break it again

更新:11 月 20 日 @ 下午 1:59
jbdiablo 發表

reverted because I broke CleanUI

更新:11 月 20 日 @ 上午 10:04
jbdiablo 發表

added "per vehicle" cap changes. You can set ie "Base.PickUpTruck" to have whatever capacity. Works only on trunks/truck beds atm. seats and glove boxes will come later

added Black Moon's ISInventoryPage.prerender weight display pretty-fier (with permission)

更新:11 月 11 日 @ 下午 4:24
jbdiablo 發表

fixed placing on floor when container is equipped. it's still janky - you'll usually just drop it. After looking through the game code, I'm not going to fix this 100% until TIS finishes up whatever they're cooking up. There's just a bunch of new "floor" checks in the code.

更新:10 月 15 日 @ 上午 9:36
jbdiablo 發表

added patches for CC, SOTO and True Smoking to defer whichever function won the loading war

更新:9 月 5 日 @ 下午 7:24
jbdiablo 發表

When using "Place Item" with a big ass bag, the weight is the lesser of 49 or the actual bag weight so y'all can make your bases all pretty

更新:7 月 31 日 @ 下午 6:14
jbdiablo 發表

Fixed ItemContainer.getEffectiveCapacity patch to return the correct capacity. Did a little more tidying up.

更新:7 月 31 日 @ 上午 10:53
jbdiablo 發表

🆕 07/31/25
Re-added mod data override for single containers. Example usage:
yourContainer:getModData()["JB_MaxCapacityOverride"] = { capacity = 75 }

✅ Works if the container type exists in the lookup table
✅ Compatible with bags and sprite containers
❌ Not yet compatible with trunks (WIP)
⚠️ Mod data will be lost if a sprite container is moved

left an errant test print that I'll remove soon...

更新:7 月 29 日 @ 下午 5:05
jbdiablo 發表

I broke it

更新:7 月 29 日 @ 下午 2:50
jbdiablo 發表

Added mod data capacity override for single containers. To use:

yourContainer:getModData()["JB_MaxCapacityOverride"] = { capacity = 75 }

It still checks if your container type is in the lookup table first.

Also tightened the code a bit.