Overview
This mod adds item degradation to guns, melee weapons, tools and armor. Each time an item is repaired it has a 50% chance to degrade by one level. Mod slots will also downgrade accordingly, any mods that no longer have space will be added to the players backpack or dropped on the ground if the inventory is full.
Installation Notes
Note: This mod needs to be installed on both client and server for multiplayer. EAC MUST BE OFF!
Modding Info
Modder’s can also use this mod to add item degradation to their own mods, as follows.
How many quality levels the item degreades by on repair.
<property name="RepairDegradeAmount" value="1"/>
The probability that the item will lose a quality level/levels on repair.
<property name="RepairDegradeChance" value="0.5"/>
Will the item break after its repaired at quality 1.
<property name="RepairQualityOneBreaksAfter" value="false"/>
Set the minimum degrade amount for items with this cvar.
<triggered_effect trigger="onPerkLevelChanged" action="ModifyCVar" cvar="minDegradeAmount" operation="set" value="4">
onSelfItemRepaired has been hooked up and can be used to trigger game events and triggered effects.
<triggered_effect trigger="onSelfItemRepaired" action="AddBuff" buff="someBuffName"/>
Changelog
V1.1.5
- Update for A21.2
DOWNLOAD (17 KB)
If you appreciate Zilox’s work and you want to show support, use this donate link.
If you need help, you can use this support link.
Credits: Zilox
Quick question: I am creating an overhaul mod and I would like to use this mod to add a bit of difficulty and gamble. I was wondering if I could have your permission to use this mod with full credit to you.
Thank you for your time,
Liz
More2Me4Life
Sure, go for it.
Any way to do this but with the probability for breaking at lvl 1 ? “RepairDegradeChance value=0.5”
I don’t want to break all at level 1 everytime but have a chance to repair/break it on that level.
Thanks.
Is there a way to make it drop to lvl one and a way to change the percentage chance up to 100%. Thanks
Yes, check the XML files.
does this work with the latest experimantal?
It works now with A21 stable.
Thanks Zilox! I really like this idea
Love this mod so much. Its one of my “must-have-mods”. Can we get an update for A21?
It has been updated now to A21 stable.
thank you for this mod. I recently made the switch from console to pc and I had already grown used to the older console version where you had to invest in a skill for repairing to prevent you from lowering the quality of the item after every repair. I found it odd to see that they had removed that feature in alpha 20 since it just made the game feel much easier overall.
Yes, the game has become a lot easier as of recent alphas. I’m glad you like the mod.