Server/project/src/models/spt/config/ISeasonalEventConfig.ts
TheSparta 418d9f2a8f Import path alias on the whole project (!157)
- Ability to use @spt-aki path alias on the whole project.
- Swapped all imports from relative paths, for imports using the path alias.

Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/157
Co-authored-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
Co-committed-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
2023-10-19 17:21:17 +00:00

29 lines
741 B
TypeScript

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