Project Zomboid

Project Zomboid

34 ratings
Legible Container Headers
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
716.201 KB
Nov 25, 2022 @ 9:04pm
Nov 25, 2022 @ 11:16pm
3 Change Notes ( view )

Subscribe to download
Legible Container Headers

Description
Allows players to see the capacity of their inventory and loot more easily by moving certain elements that overlap capacities. Also, allows players to simplify the player inventory's title so that it does not run over the Transfer All button. Requires Mod Options to activate; in order to maximize compatibility with existing servers, this mod's UI adjustments will be OFF by default until you enable them in the game using the Mods tab of the Options menu.

FAIR WARNING: This is VERSION 1 A.F. It is EXTREMELY likely to change because I have decided I HATE the order and style of the vanilla inventory / loot panes, so I am going to try to improve them drastically in a future update. But, for now, enjoy reading your capacities at the very least.

Special thanks to Alkanshel for actively helping me test this mod instead of just asking for it to be made!

Update: Added a Mod Option for disabling this mod and restoring the function it overwrites. Also added special support for making that feature work with AutoLoot. Note that AutoLoot cannot modify your inventory header while this mod is running because they overwrite the same densely packed and otherwise inaccessible vanilla function; this mod will load after AutoLoot when both are enabled, so its changes will override AutoLoot's. AutoLoot will still work if it has been enabled, and the keyboard shortcut still works, but the button cannot be visible while this mod is enabled in Mod Options.

Like this mod? Feel free to check out my other mods:

Jumper: Teleport to countless locations with or without friends instantly.
Meditation: Sit, cross your legs, and meditate in order to hide, rest, and recover.
Dawn of the Zed: Selectively hide UI elements on gamepad or keyboard.
Interface Reflexes: Close windows that clutter your screen by aiming or using a shortcut key.
Position Breakdown: Show your location (in tile, chunk, or cell terms) in a simple, highly customizable overlay that can be toggled using Dawn of the Zed.
Trash Talker: Given a trait, you will talk trash when you kill zombies. Customizable lines. Talking draws zombies.
Mobile Reader: Keep walking or driving while you read books or open your map.
Legible Mods: Makes the windows for various hosting options larger so that longer names of mods and their locations can be read.
Legible Container Headers: Makes your inventory capacity easier to read under various resolutions and font sizes.

[ko-fi.com]

Workshop ID: 2893439110
Mod ID: LegibleContainerHeaders
23 Comments
Burryaga  [author] Mar 19, 2023 @ 11:06am 
Probably, but I am not modding very actively and I have several big modding goals in my existential queue, so I can't really make any promises about doing it myself; HOWEVER, you are welcome to use my code to try to solve that problem, and if you send me a working solution I will try to update my mod. Alternatively, if you want to make a new version of this mod with Everything Has a Name compatibility, I promise not to care in a bad way. (In fact, I encourage it, go nuts; just make sure you use your own global module names and your own mod IDs.)
Dead_Pixels Mar 19, 2023 @ 12:14am 
Would it be possible to make this compatible with the Everything Has a Name mod? This mod let's you rename containers which I think is useful, but currenly using that mod and this one at the same time results in a duplicated header. One will be in the original place on top of the inventory capacity and the adjusted header from your mod will be slightly to the left and on top of the original header.
Burryaga  [author] Mar 6, 2023 @ 11:39am 
AutoLoot unfortunately uses some local functions in order to do what it does, if I recall correctly, so I cannot improve support for AutoLoot beyond letting users swap modes by saving a copy of his function in backup; they would have to use returned modules to encapsulate their functions, which I believe they did not. I.e., if you want a nicely legible header AND AutoLoot buttons, feel free to tell the AutoLoot guy to incorporate my improvements to the function he overwrote.
Burryaga  [author] Mar 6, 2023 @ 11:36am 
There is already a mod option for flipping between the AutoLoot version and my version while both mods are active. They are unfortunately not simultaneously compatible because we both overwrite the same function, and the positioning of the header elements cannot be fixed without overwriting that function. However, as mentioned above, the AutoLoot toggle keyboard shortcut still works even if the header is in Legible Container Headers mode.
jaelee1111 Mar 6, 2023 @ 9:38am 
This is a great mod! You are my life saver. But, at the same time this mod unfortunately makes the status text of Autoloot mod disappear. Have you intentionally deleted it because the new location of the Inventory title uses the same spot? Is there any way for the Inventory title put somehow at the left-most spot? I have checked your lua file just to try to fix it on my own, but it seems to require lots of calculation of coordinates, etc.
Burryaga  [author] Feb 21, 2023 @ 9:27pm 
@Glowth I just realized I forgot to ask: did you remember to actually visit Options -> Mods and enable what this mod does? It is off by default until you enable it so that hosts can add it to servers without bothering existing players.
ProTater Feb 13, 2023 @ 10:50pm 
Absolute legend, thank you.
SalamanderAnder Feb 11, 2023 @ 11:05am 
Thank you so much.
Burryaga  [author] Feb 1, 2023 @ 8:55am 
(And in the loot panel, the name of what you're seaching often does the same thing.)
Burryaga  [author] Feb 1, 2023 @ 8:54am 
@Glowth I will get to that eventually, but I can tell you immediately that this is an issue for people because the Transfer All button is actually on top of the weight at higher resolutions / font sizes, such that you cannot actually see your weight at all.