2023-10-19 17:21:17 +00:00
|
|
|
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
|
|
|
|
{
|
2023-11-16 21:42:06 +00:00
|
|
|
kind: "aki-seasonalevents";
|
|
|
|
enableSeasonalEventDetection: boolean;
|
2023-03-03 15:23:46 +00:00
|
|
|
/** event / botType / equipSlot / itemid */
|
2023-11-16 21:42:06 +00:00
|
|
|
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
|
|
|
|
{
|
2023-11-16 21:42:06 +00:00
|
|
|
name: string;
|
|
|
|
type: SeasonalEventType;
|
|
|
|
startDay: number;
|
|
|
|
startMonth: number;
|
|
|
|
endDay: number;
|
|
|
|
endMonth: number;
|
2023-03-03 15:23:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface GifterSetting
|
|
|
|
{
|
2023-11-16 21:42:06 +00:00
|
|
|
map: string;
|
|
|
|
zones: string;
|
|
|
|
spawnChance: number;
|
|
|
|
}
|