ryuka_labs-Weapon_Durability_Loss_Multiplier icon

Weapon Durability Loss Multiplier

Configurable weapon shooting durability loss multiplier for SULFUR. Applies after vanilla oil, enchantment, and durability modifiers.

Last updated a day ago
Total downloads 9
Total rating 0 
Categories Mods
Dependency string ryuka_labs-Weapon_Durability_Loss_Multiplier-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

Weapon Durability Loss Multiplier

Configurable weapon shooting durability loss multiplier for SULFUR.

This mod changes how much durability weapons lose when fired. It applies its multiplier after the game's normal durability calculations, including vanilla durability loss modifiers from items, oils, enchantments, and other attributes.

What This Mod Does

  • Adds a configurable multiplier for weapon durability loss from shooting.
  • Supports values from 0x to 10x.
  • Applies after the vanilla final shooting durability loss is calculated.
  • Keeps the game's original durability system, broken weapon behavior, UI updates, and durability events intact.

What This Mod Does NOT Do

  • Does not affect armor durability loss.
  • Does not affect repair costs.
  • Does not affect melee durability.
  • Does not affect weapon damage.
  • Does not affect weapon XP.
  • Does not affect enemy weapons.
  • Does not edit save files.
  • Does not modify original game files.
  • Does not remove oil or enchantment durability modifiers; it multiplies the final result after them.

Configuration

Config file:

BepInEx/config/kumo.sulfur.weapon_durability_loss_multiplier.cfg

Default config:

[General]
EnableMod = true

[Weapon]
WeaponDurabilityLossMultiplier = 0.5

[Debug]
LogDurabilityChanges = false

Multiplier examples:

0    = no weapon durability loss from shooting
0.25 = 25% durability loss
0.5  = half durability loss
1    = vanilla
2    = double durability loss
10   = ten times durability loss

The default value is 0.5, which means weapons lose half as much durability from shooting.

Installation

Thunderstore / r2modman

Install with r2modman or another Thunderstore-compatible mod manager.

Manual Installation

  1. Install BepInEx for SULFUR.
  2. Extract this mod into your SULFUR game folder.
  3. Make sure the DLL is located at:
BepInEx/plugins/WeaponDurabilityLossMultiplier.dll
  1. Start the game once to generate the config file.

Compatibility

This mod patches:

PerfectRandom.Sulfur.Core.Items.InventoryItem.TakeDurabilityLossFromShoot()

It should be compatible with most mods.

Compatibility may depend on patch order if another mod also patches weapon shooting durability loss or InventoryItem.TakeDurabilityLossFromShoot().

This mod does not patch:

InventoryItem.ModifyDurability()
InventoryItem.DurabilityLossMultiplier
EquipmentManager.DamageArmor()
Weapon.Shoot()

Uninstallation

Remove:

BepInEx/plugins/WeaponDurabilityLossMultiplier.dll

Optional: remove the config file:

BepInEx/config/kumo.sulfur.weapon_durability_loss_multiplier.cfg

Changelog

1.0.0

  • Initial release.
  • Added configurable weapon shooting durability loss multiplier.
  • Supports 0x to 10x.
  • Applies after vanilla oil, enchantment, and durability loss modifiers.