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

30 lines
756 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;
2023-03-03 15:23:46 +00:00
/** event / botType / equipSlot / itemid */
eventGear: Record<string, Record<string, Record<string, Record<string, number>>>>;
events: ISeasonalEvent[];
gifterSettings: GifterSetting[];
2023-03-03 15:23:46 +00:00
}
export interface ISeasonalEvent
{
name: string;
type: SeasonalEventType;
startDay: number;
startMonth: number;
endDay: number;
endMonth: number;
2023-03-03 15:23:46 +00:00
}
export interface GifterSetting
{
map: string;
zones: string;
spawnChance: number;
}