import { MinMax } from "@spt-aki/models/common/MinMax"; import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig"; export interface IRepairConfig extends IBaseConfig { kind: "aki-repair" priceMultiplier: number applyRandomizeDurabilityLoss: boolean weaponSkillRepairGain: number armorKitSkillPointGainPerRepairPointMultiplier: number /** INT gain multiplier per repaired item type */ repairKitIntellectGainMultiplier: IIntellectGainValues //** How much INT can be given to player per repair action */ maxIntellectGainPerRepair: IMaxIntellectGainValues; repairKit: RepairKit } export interface IIntellectGainValues { weapon: number armor: number } export interface IMaxIntellectGainValues { kit: number trader: number } export interface RepairKit { armor: BonusSettings weapon: BonusSettings } export interface BonusSettings { rarityWeight: Record bonusTypeWeight: Record common: Record rare: Record } export interface BonusValues { valuesMinMax: MinMax /** What dura is buff active between (min max of current max) */ activeDurabilityPercentMinMax: MinMax }