Project Zomboid

Project Zomboid

68 ratings
(Unstable B42) Simple Weapon Durability
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.051 MB
20 Dec, 2024 @ 1:41am
10 Jan @ 12:21am
7 Change Notes ( view )

Subscribe to download
(Unstable B42) Simple Weapon Durability

Description
This mod will be merged into the original mod when B42 is stable: Simple Weapon Durability

Support Discussion: B42 Support Discussion

Description
NOTE: This is a temporary version of Simple Weapon Durability that was uploaded to support the unstable release of build 42. This mod will not be updated, comments will be disabled, and support will be handled within the original mods page. The original mod will be updated to this version when build 42 is no longer in an unstable / beta branch and becomes part of the main branch.

Decreases the chance that a weapons durability will lower with each swing by half -- effectively doubling durability of all weapons (including modded weapons).

Compatibility
- Existing save compatible. Add and remove without consequences.
- Soft conflicts with mods that add durability to existing weapons. You'll end up with insanely durable weapons.
- Conflicts with mods that add "Weapon" type items that are not actually weapons -- may result in some odd behavior. Report issues if experienced.
- Should be compatible with anything else. Keep in mind this will double the durability of modded weapons. So if you have modded weapons with already generous durability... they're about to become even more generous!

Known Issues
- The "Configurable" version is designed for single player and will allow multiplayer users to change durability options individually. Do not use the configurable version on a multiplayer server, and instead use one of the "Static" versions.
- Applying the multiplier in real time is currently broken. I'm not sure if I will fix this or not as quitting to main menu and reloading doesn't take a lot of time.

Customization
You can configure some of the settings if using the "Configurable" version, such as durability multiplier or whether the mod will affect melee, ranged, or both weapon types. Instructions below

- Open Project Zomboid.
- Go to "Options".
- Go to "Mods".
- Adjust settings for "Simple Weapon Durability Configuration" to your liking.
- Click the Accept / Apply button.
- Click the "Update Items" button.
- Restarting the game is no longer required. Updates will occur in real time.

Credits
- Dhert's B42 Native ModOptions Example - Dhert did all the hard work of finding and figuring out how the native mod options API works within B42, removing the need to depend on external mod "ModOptions".

Workshop ID: 3387749540
Mod ID: simple_weapon_durability_configurable
Mod ID: simple_weapon_durability_mp_2x
Mod ID: simple_weapon_durability_mp_5x
Mod ID: simple_weapon_durability_mp_10x
Mod ID: simple_weapon_durability_mp_50x
Mod ID: simple_weapon_durability_mp_100x