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

29 lines
741 B
TypeScript
Raw Normal View History

import { SeasonalEventType } from "@spt-aki/models/enums/SeasonalEventType";
import { IBaseConfig } from "@spt-aki/models/spt/config/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
type: SeasonalEventType
2023-03-03 15:23:46 +00:00
startDay: number
startMonth: number
endDay: number
endMonth: number
}
export interface GifterSetting
{
map: string
zones: string
spawnChance: number
}