Project Zomboid

Project Zomboid

1,655 ratings
Fix Capacity Overlap
9
4
5
4
2
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
38.560 KB
5 Apr, 2023 @ 5:28am
1 May, 2023 @ 5:02am
4 Change Notes ( view )

Subscribe to download
Fix Capacity Overlap

Description
Works on 41.78.16 SP/MP
Safe to add to/remove from existing saves

The text of container name will now dynamically change its position to leave space for displaying the weight and capacity. Especially useful for big font size (2x, 3x, 4x).

Only loot inventory (container name) is altered for now, character inventory leaves untouched due to changing position of TransferAll button could break compatibility.

Compatibility
Alternative Inventory Rendering
AutoLoot
Easy Drop'n'Loot
Everything Has a Name
Proximity Inventory
Rename Containers

This mod partially changes the behavior of ISInventoryPage.prerender when not self.onCharacter.

Workshop ID: 2957932451
Mod ID: FixCapacityOverlap

Check out my other mods
61 Comments
bkgarner00 20 Jun @ 11:20pm 
someone let me know if this every gets updated to b42 im cleaning out mods atm.
zywon 24 Apr @ 7:43pm 
B42
Bin 27 Mar @ 9:32am 
pls update in B42
fen 14 Jan @ 4:58pm 
@tilarium Can confirm it's still an issue unfortunately :[
tilarium 30 Dec, 2024 @ 9:57am 
Can anyone say if this has been fixed by B42 or not?
Czaritsa 13 Dec, 2024 @ 3:02am 
Me on day 1 googling "why can't I add items to the trunk?"
This mod - fixes me up right!
dede loves u 1 Dec, 2024 @ 10:35am 
would it be possible to apply this to the alternative inventory rendering mod?
PEN 25 Jun, 2024 @ 12:33pm 
Thanks for this mod!!

Is there any chance to expand this for overlapping text when viewing:
User Panel -> Server Options.

https://imgur.com/a/kFfke4P
NNNekros 9 Jun, 2024 @ 9:12am 
ISInventoryPaneContextMenu. Lua appears in the error file, but I can't search for it and your MOD file doesn't have it either, is this normal?
iforest 20 May, 2024 @ 10:43pm 
注释掉 ISInventoryPage_prerender 可以让背包也生效

-- local ISInventoryPage_prerender = ISInventoryPage.prerender
function ISInventoryPage:prerender()
-- if self.onCharacter then
-- return ISInventoryPage_prerender(self)
-- end

如果其他mod兼容性出问题权衡着改回去就行,我是宁愿不用自动拾取也不想看到重叠数字