Server/project/src/models/spt/config/IInsuranceConfig.ts

19 lines
772 B
TypeScript
Raw Normal View History

import { IBaseConfig } from "./IBaseConfig";
2023-03-03 15:23:46 +00:00
export interface IInsuranceConfig extends IBaseConfig
{
kind: "aki-insurance"
2023-07-18 15:45:57 +01:00
/** Insurance price multiplier */
2023-03-03 15:23:46 +00:00
insuranceMultiplier: Record<string, number>
2023-07-18 15:45:57 +01:00
/** Chance item is returned as insurance, keyed by trader id */
2023-03-03 15:23:46 +00:00
returnChancePercent: Record<string, number>
2023-07-18 15:45:57 +01:00
/** Item slots that should never be returned as insurance */
2023-03-03 15:23:46 +00:00
blacklistedEquipment: string[]
2023-07-18 15:45:57 +01:00
/** Names of equipment slots that could not be returned as insurance */
2023-03-03 15:23:46 +00:00
slotIdsWithChanceOfNotReturning: string[]
2023-07-18 15:45:57 +01:00
/** Override to control how quickly insurance is processed/returned in second */
2023-03-03 15:23:46 +00:00
returnTimeOverrideSeconds: number
2023-07-18 15:45:57 +01:00
/** How often server should process insurance in seconds */
2023-03-03 15:23:46 +00:00
runIntervalSeconds: number
}