Project Zomboid

Project Zomboid

Sensible Balance: Clothing Protection Values Overhaul
19 Comments
ethanp89 24 Jul @ 5:28pm 
Wonderful mod. Thank you!
猫子 22 May @ 1:07am 
B42 plz! I really miss this so much!:steamthumbsup:
unlockk  [author] 14 Aug, 2024 @ 7:16am 
@tonyzur

Yes, I don't really see anything from the description in that mod that would conflict. The changes here are very simple, even if the other mod edited the same items.
unlockk  [author] 14 Aug, 2024 @ 3:53am 
Ok so apparently, according to the PZ Youtuber Retanaru, the bag movement speed penalty applies. I have changed the movement speed penalty to match the combat speed penalty, so if the large backpack is 4% speed penalty that is now 4% combat and movement. I feel like that is fine, because I did end up removing the e.g. absurd 2% movement penalty on a fanny pack, and so on. Use Shoes Speed to apply the movement penalty from shoes, as in vanilla no clothing items other than bags apply the movement penalty!
unlockk  [author] 14 Aug, 2024 @ 3:49am 
@tonyzur You're welcome.
Vinagro 7 Aug, 2024 @ 10:49am 
@unlockk

No problem! And thanks to you for this mod, in my opinion essential. Now it makes more sense how the clothing protection works.
unlockk  [author] 7 Aug, 2024 @ 9:42am 
I never caught this until now myself, because even for debug where I don't load mods that I don't need to clog up the loading times I've never disabled Better Sorting...
unlockk  [author] 7 Aug, 2024 @ 9:32am 
@Vinagro

Thanks for the information. I have now been able to fix this for the mod, and yes, running the game on its own with just the mod and Item Tweaker API did prevent it from working correctly. Now I have fixed this and everything seems to launch just fine.
unlockk  [author] 7 Aug, 2024 @ 9:31am 
1.4

Fix for the failure to find ItemTweaker_Core.

The game has code in three folders: client, shared, and server. Shared folder executes code both for client and server. It seems that once I restructured the mod to use the shared folder, the game could not find the Item Tweaker API as it was within the "client" folder, even if it was its own mod.

Installing Better Sorting fixed the issue and allowed the game and mod to function as it contained a copy of ItemTweaker_Core in its own shared lua folder. I have now done the same, the mod now includes ItemTweaker functionality on its own.
Vinagro 7 Aug, 2024 @ 7:09am 
@unlockk

- I was only using Item Twear API and your mod.
- Errors appear when "Reloading LUA" and in console.txt.
- I can load my save or new games, but I don't see the mod active.
- I play in a language other than English.

Of all the recommendations, for some reason, after installing Better Sorting, the error stopped appearing when doing "Reloading LUA", and in-game, it seems that your mod now works, the modified protections appear (need to be tested).
Although I still see errors in console.txt such as:
Loading: C:/Program F.../sensiblebalanceclothingprotection.lua
LuaManager$GlobalObject.require> require("ItemTweaker_Core") failed

Have you tried running your mod with only Item Tweaker API active and nothing else? I'd like to know if it's a matter of my installation/java or something general.
unlockk  [author] 6 Aug, 2024 @ 2:30pm 
I also need to ask: does this error prevent you from 1. loading the game, and 2. actually seeing the changes appearing?

Start a new game just to test it if you can load the game. Sometimes it says failed to load and then it just works regardless. I have a bunch of common mods that work perfectly fine and yet are throwing errors in debug, going through my log from today.
unlockk  [author] 6 Aug, 2024 @ 2:14pm 
@Vinagro

Nothing in the error report really gives any hints except that ItemTweakerAPI wasn't recognised... weird. I'm gonna copy-paste a comment I wrote to someone on my food and drink/nutrition balance mod. Please paste your mod list into that notepad.link if you are able to, as well:

"My suggestions are:

1. Use Mod Loader mod and Mod Loader Load Order plugin mod, sort your mods to make sure the item tweaker is somewhere near the top of your mod load order and all of my mods below.

2. Make sure that not only the item tweaker was enabled in the main menu/mods, but for your savegame as well.

3. Unsubscribe from ItemTweaker, then open the game, this will delete the mod, then quit and resubscribe to ItemTweaker.

4. Download Better Sorting: it uses its own ItemTweaker except it is copied into the mod so you don't have to download it. My mod won't recognise it, but the point is, see if the error gets thrown at Better Sorting and your java is glitching out somehow or whatnot..."
Vinagro 6 Aug, 2024 @ 8:26am 
Despite having Item Tweaker API installed, it gives me an error.

http://notepad.link/share/p4RzBMW2m7p0dFZWDu3Z
unlockk  [author] 4 Aug, 2024 @ 7:32am 
Queoxy 28 Jul, 2024 @ 7:45am 
really great mod, definitely using this in my next playthrough. have you ever considered making a compatibility patch for spongies clothing/open jackets? that'd be awesome if you could.
unlockk  [author] 27 Jul, 2024 @ 4:33am 
I do not use any clothing or bag mods so it is hard for me to make compatibility patches as it takes a long time to do these changes correctly. Maybe I'll make it for some of the most popular mods at some point, especially if I find something very lore-friendly and appropriate that I actually want to use myself. I have other mods I want to create, as well as just playing the game.
unlockk  [author] 27 Jul, 2024 @ 4:30am 
Yes exclusively vanilla items. If a vanilla item has been edited by a mod, the changes still apply, however.
al 26 Jul, 2024 @ 6:55pm 
Read the description.
Scroobles McDoodle 26 Jul, 2024 @ 6:59am 
Do these clothing tweaks apply to modded clothes/bags, or exclusively vanilla items?