Weapon Durability Loss Multiplier
Scales how much durability your guns lose per shot, from 0x to 10x. Applied after oils, enchantments and other vanilla modifiers.Weapon Durability Loss Multiplier
Changes how much durability your guns lose when you fire them, from 0x (no wear) to 10x. The default is 0.5x, so guns wear out half as fast.
The multiplier is applied to the game's final per-shot loss, after oils, enchantments and the weapon's own durability-loss stat have done their part. Everything else about durability, including breaking and repairing, works as in vanilla.
What it affects
- Only guns you fire. Melee weapons, armor and enemy weapons are untouched.
- Loss is counted once per shot, as in vanilla, so shotguns and multishot guns don't lose more per pellet.
- If the game's own Disable durability setting is on, guns lose nothing and this mod has nothing to scale.
Configuration
The config file is created on first launch at BepInEx/config/kumo.sulfur.weapon_durability_loss_multiplier.cfg. With SULFUR Config installed you can also change it in game.
WeaponDurabilityLossMultiplier
[Weapon]
WeaponDurabilityLossMultiplier = 0.5
1 is vanilla, 0 means guns never wear out from firing, 2 doubles the wear. Range 0 to 10. Changes apply right away, no restart needed.
EnableMod
[General]
EnableMod = true
Turns the mod off without uninstalling it.
LogDurabilityChanges
[Debug]
LogDurabilityChanges = false
Writes every adjusted shot to the BepInEx log. Only useful for troubleshooting.
Installation
Install with r2modman, Gale or another Thunderstore mod manager.
To install by hand, create a folder BepInEx/plugins/Weapon_Durability_Loss_Multiplier/ and extract the whole zip into it, so Weapon Durability Loss Multiplier.dll and the lang folder sit side by side. To uninstall, delete that folder (and the config file if you want).
Compatibility
The mod patches one method, InventoryItem.TakeDurabilityLossFromShoot(), with a transpiler. Another mod that changes gun durability loss in the same method could stack with this one or conflict with it, depending on load order. Repairs, armor damage and InventoryItem.ModifyDurability() itself are not patched.
The settings page is translated for SULFUR Config into all 15 game languages.
