Project Zomboid

Project Zomboid

Not enough ratings
[b41] Spear Repair Counter (and durability) Fix
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
95.887 KB
31 Jul, 2024 @ 7:37am
31 Jul, 2024 @ 2:49pm
3 Change Notes ( view )

Subscribe to download
[b41] Spear Repair Counter (and durability) Fix

Description
Now a machete repaired to death will not become good as new if you strap it to a stick.

Can be added or removed at any time, works in multiplayer.

Q: why not use average condition?
A: because that way you could repair 50% of weapon condition by attaching it to a spear and reclaiming.

Compatibility:
Mods that just add melee weapons without messing with game code should all work fine. You may need to load this mod after all mods that add weapons.

Implemented compatibility:
SOMW, Weapon Modifiers

Details:
Fixes the problem where weapon repair counter would reset each time you attach it to a spear and reclaim it, and where crafted spears with weapons attached come with very low condition.

Spears with weapons attached will inherit the highest repair count of all ingredients. Tip: don't use spears repaired more times than the weapon!

Spears with weapons attached will inherit the lowest condition of all ingredients. Tip: don't use spears in worse condition than the weapon!

Weapons reclaimed from a spear will inherit its repair count and condition.



Created at request of one Eddie from PZ discord.

Workshop ID: 3300366479
Mod ID: SpearRecipeRepairCounterFix
3 Comments
Bambino 11 Nov, 2024 @ 11:47am 
Man, this mod should get more exposer. I'll be using it wherever i go.
Lina 7 Oct, 2024 @ 7:05am 
Nice work! This should be in vanilla.
Code79 6 Aug, 2024 @ 2:05pm 
Thank you, very good mod. B42 should include it.