From dce5c2ad7656dffed88290e76966d6b32b9fd051 Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 11 Nov 2024 21:16:58 +0000 Subject: [PATCH] Added property to store 'non' maps in config --- project/assets/configs/location.json | 3 ++- project/src/models/spt/config/ILocationConfig.ts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/project/assets/configs/location.json b/project/assets/configs/location.json index 1350956e..a61865c0 100644 --- a/project/assets/configs/location.json +++ b/project/assets/configs/location.json @@ -541,5 +541,6 @@ "reserveRaiderSpawnChanceOverrides": { "nonTriggered": 80, "triggered": 90 - } + }, + "nonMaps": ["base", "develop", "hideout", "privatearea", "suburbs", "terminal", "town"] } diff --git a/project/src/models/spt/config/ILocationConfig.ts b/project/src/models/spt/config/ILocationConfig.ts index bd296fab..efbe15f0 100644 --- a/project/src/models/spt/config/ILocationConfig.ts +++ b/project/src/models/spt/config/ILocationConfig.ts @@ -45,6 +45,8 @@ export interface ILocationConfig extends IBaseConfig { equipmentLootSettings: IEquipmentLootSettings; /** min percentage to set raider spawns at, -1 makes no changes */ reserveRaiderSpawnChanceOverrides: IReserveRaiderSpawnChanceOverrides; + /** Map ids players cannot visit */ + nonMaps: string[]; } export interface IReserveRaiderSpawnChanceOverrides {