From 74ea69ffe6e5e3d0a0aff70bdee7663e06d03a82 Mon Sep 17 00:00:00 2001 From: Dev Date: Fri, 9 Feb 2024 12:46:23 +0000 Subject: [PATCH] Remoe unused `enabled` properties from ragfair config `chancePercent` is used instead --- project/assets/configs/ragfair.json | 2 -- project/src/models/spt/config/IRagfairConfig.ts | 4 ---- 2 files changed, 6 deletions(-) diff --git a/project/assets/configs/ragfair.json b/project/assets/configs/ragfair.json index abcac4cb..5e696a16 100644 --- a/project/assets/configs/ragfair.json +++ b/project/assets/configs/ragfair.json @@ -34,7 +34,6 @@ "purchasesAreFoundInRaid": false, "useTraderPriceForOffersIfHigher": true, "barter": { - "enable": true, "chancePercent": 20, "itemCountMin": 1, "itemCountMax": 3, @@ -49,7 +48,6 @@ ] }, "pack": { - "enable": true, "chancePercent": 20, "itemCountMin": 4, "itemCountMax": 12, diff --git a/project/src/models/spt/config/IRagfairConfig.ts b/project/src/models/spt/config/IRagfairConfig.ts index ab9ea730..9dca314d 100644 --- a/project/src/models/spt/config/IRagfairConfig.ts +++ b/project/src/models/spt/config/IRagfairConfig.ts @@ -101,8 +101,6 @@ export interface IPriceRanges export interface IBarterDetails { - /** Should barter offers be generated */ - enable: boolean; /** Percentage change an offer is listed as a barter */ chancePercent: number; /** Min number of required items for a barter requirement */ @@ -119,8 +117,6 @@ export interface IBarterDetails export interface IPackDetails { - /** Should pack offers be generated */ - enable: boolean; /** Percentage change an offer is listed as a pack */ chancePercent: number; /** Min number of required items for a pack */