Weapon Durability Loss Multiplier
Configurable weapon shooting durability loss multiplier for SULFUR. Applies after vanilla oil, enchantment, and durability modifiers.
模組介紹 作者原文
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
r2modman
Install with r2modman or another -compatible mod manager.
Manual Installation
- Install BepInEx for SULFUR.
- Extract this mod into your SULFUR game folder.
- Make sure the DLL is located at:
BepInEx/plugins/WeaponDurabilityLossMultiplier.dll
- 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.
SULFUR Config Localization Support
This mod includes localization files for SULFUR Config.
This localization support is only for the in-game configuration page provided by SULFUR Config. It localizes the mod name, config sections, setting names, and setting descriptions shown in the config UI.
It does not change the game’s own text, item names, dialogue, or gameplay content.
Supported SULFUR Config languages:
- English
- Simplified Chinese
- Swedish
- French
- Italian
- German
- Spanish
- Portuguese
- Russian
- Polish
- Japanese
- Korean
- Turkish
- Arabic
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: