From 99eaeeb63b30a255312838305f6c868f28311fea Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 27 Dec 2023 18:55:58 +0000 Subject: [PATCH] Set `winterEventEnabled` value on start --- project/src/generators/WeatherGenerator.ts | 1 + project/src/models/eft/common/ILocationBase.ts | 1 + project/src/models/eft/weather/IWeatherData.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/project/src/generators/WeatherGenerator.ts b/project/src/generators/WeatherGenerator.ts index beae065c..970a28d0 100644 --- a/project/src/generators/WeatherGenerator.ts +++ b/project/src/generators/WeatherGenerator.ts @@ -42,6 +42,7 @@ export class WeatherGenerator data.date = formattedDate; data.time = this.getBsgFormattedInRaidTime(computedDate); data.acceleration = this.weatherConfig.acceleration; + data.winterEventEnabled = false; return data; } diff --git a/project/src/models/eft/common/ILocationBase.ts b/project/src/models/eft/common/ILocationBase.ts index 8bb63ea9..fba0469a 100644 --- a/project/src/models/eft/common/ILocationBase.ts +++ b/project/src/models/eft/common/ILocationBase.ts @@ -228,6 +228,7 @@ export interface Exit Chance: number; Count: number; EntryPoints: string; + EventAvailable: boolean ExfiltrationTime: number; ExfiltrationType: string; RequiredSlot?: string; diff --git a/project/src/models/eft/weather/IWeatherData.ts b/project/src/models/eft/weather/IWeatherData.ts index 136ffab0..517c85b3 100644 --- a/project/src/models/eft/weather/IWeatherData.ts +++ b/project/src/models/eft/weather/IWeatherData.ts @@ -6,6 +6,7 @@ export interface IWeatherData time: string; date: string; weather?: IWeather; + winterEventEnabled: boolean } export interface IWeather