Project Zomboid

Project Zomboid

Not enough ratings
🏚️B41🏚️ HotbarFactor (Java mod)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
188.107 KB
26 Jun, 2024 @ 6:23am
26 Jun, 2024 @ 9:06pm
4 Change Notes ( view )

Subscribe to download
🏚️B41🏚️ HotbarFactor (Java mod)

Description


This is a java mod! Must be installed manually!



Manual installation instructions
For players
  1. Subscribe to this workshop item to download the files needed for installation.
  2. Navigate to ..\steamapps\workshop\content\108600\3275854742\mods\HotbarFactor_java\
  3. Copy the "zombie" folder. It contains 1 file (InventoryItem.class).
  4. Navigate to ..\steamapps\common\ProjectZomboid\
  5. Paste the "zombie" folder. It should overwrite 1 file.
Back up your InventoryItem.class file if you want :)
For dedicated servers
As above, except paste to ..\steamapps\common\Project Zomboid Dedicated Server\java\ instead of ..\steamapps\common\ProjectZomboid\



Information

For players
This mod serves as a prerequisite for other mods.

For modders
This mod changes the getHotbarEquippedWeight() method of zombie.inventory.InventoryItem so that instead of always adjusting weight by 0.7 (resulting in the default 30% weight reduction of items attached to the hotbar), it first checks if getModData().HotbarWeightFactor contains a number, and then— (if there is one) uses that number instead of 0.7 (for example, if that number is 0.4, then attaching that item to the hotbar will reduce its weight by 60%).





Workshop ID: 3275854742
Mod ID: HotbarFactor_java
2 Comments
fc  [author] 6 Feb @ 2:04pm 
maybe—been on a romance of the three kingdoms 14 kick while homeless ✨couch-surfing✨—i usually get the zomboid kick in the latter half of a year so if im on stable footing then, id get back on it and maybe try to do steam deck type mods 🫡🫡 HOPEFULLY by then this is somehow addressed by the base codebase if isn't already 🙃
Old Snake 1 Feb @ 10:38pm 
Build 42 possible?