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

27 lines
611 B
TypeScript
Raw Normal View History

import { IBaseConfig } from "./IBaseConfig";
2023-03-03 15:23:46 +00:00
export interface ISeasonalEventConfig extends IBaseConfig
{
kind: "aki-seasonalevents"
enableSeasonalEventDetection: boolean
/** event / botType / equipSlot / itemid */
eventGear: Record<string, Record<string, Record<string, Record<string, number>>>>
events: ISeasonalEvent[]
gifterSettings: GifterSetting[]
}
export interface ISeasonalEvent
{
name: string
startDay: number
startMonth: number
endDay: number
endMonth: number
}
export interface GifterSetting
{
map: string
zones: string
spawnChance: number
}