About this mod
Your Barter skill and perk bonuses are used when calculating the cost of an NPC's repair service.
- Requirements
- Permissions and credits
- Changelogs
Description
Your Barter skill and any bonuses from perks (such as Master Trader's 25% discount) will be taken into account when using a vendor's repair service.
On the technical side of things, all this mod does is dynamically change the "fItemRepairCostMult" GameSetting based on your current Barter skill. In vanilla, this has a default value of 2 and it never changes.
The formula used to calculate vendor repair costs with this mod is as follows:
ItemValue * Repaired % * (fRepairCostBase - BarterSkill * fRepairCostSkillMult)
After that, modifiers from any perks are applied, then the value is compared to fRepairCostMin to determine if it is above or below the minimum threshold.
Customization
The following settings are included within the INI file:
- fRepairCostBase - Cost is equal to the item value multiplied by this value, before being reduced by the player's Barter skill.
- fRepairCostSkillMult - Cost is multiplied by this value for each point put into the Barter skill.
- fRepairCostMin - Determines the minimum threshold for the "fItemRepairCostMult" GameSetting, should not be set lower than 0.1.
If using the version without a plugin, you can just directly edit the values in the .txt file.
Credits
Skillbased Vendor Repair - Original idea