diff --git a/project/assets/configs/location.json b/project/assets/configs/location.json index b8e8c05c..f49c974d 100644 --- a/project/assets/configs/location.json +++ b/project/assets/configs/location.json @@ -1420,6 +1420,5 @@ "mod_mount": 5, "mod_equipment": 5 } - }, - "sandboxMaxPatrolvalue": 8 + } } \ No newline at end of file diff --git a/project/src/callbacks/InraidCallbacks.ts b/project/src/callbacks/InraidCallbacks.ts index 70c4d2d3..94d48052 100644 --- a/project/src/callbacks/InraidCallbacks.ts +++ b/project/src/callbacks/InraidCallbacks.ts @@ -97,11 +97,6 @@ export class InraidCallbacks return this.httpResponse.noBody(this.inraidController.getTraitorScavHostileChance(url, sessionId)); } - public getSandboxMaxPatrolValue(url: string, info: IEmptyRequestData, sessionId: string): string - { - return this.httpResponse.noBody(this.inraidController.getSandboxMaxPatrolValue(url, sessionId)); - } - public getBossConvertSettings(url: string, info: IEmptyRequestData, sessionId: string): string { return this.httpResponse.noBody(this.inraidController.getBossConvertSettings(url, sessionId)); diff --git a/project/src/controllers/InraidController.ts b/project/src/controllers/InraidController.ts index 8c66e5ec..8163de8f 100644 --- a/project/src/controllers/InraidController.ts +++ b/project/src/controllers/InraidController.ts @@ -665,11 +665,6 @@ export class InraidController return this.inRaidConfig.playerScavHostileChancePercent; } - public getSandboxMaxPatrolValue(url: string, sessionID: string): number - { - return this.locationConfig.sandboxMaxPatrolvalue; - } - public getBossConvertSettings(url: string, sessionId: string): string[] { return Object.keys(this.botConfig.assaultToBossConversion.bossesToConvertToWeights); diff --git a/project/src/models/spt/config/ILocationConfig.ts b/project/src/models/spt/config/ILocationConfig.ts index ee231159..8ec9819a 100644 --- a/project/src/models/spt/config/ILocationConfig.ts +++ b/project/src/models/spt/config/ILocationConfig.ts @@ -46,8 +46,6 @@ export interface ILocationConfig extends IBaseConfig scavRaidTimeSettings: IScavRaidTimeSettings /** Settings to adjust mods for lootable equipment in raid */ equipmentLootSettings: IEquipmentLootSettings - /** Sets the max Patrol Value of the Boxzone on the map Ground Zero */ - sandboxMaxPatrolvalue: number } export interface IEquipmentLootSettings diff --git a/project/src/routers/static/InraidStaticRouter.ts b/project/src/routers/static/InraidStaticRouter.ts index 84bd46cf..d9d7931b 100644 --- a/project/src/routers/static/InraidStaticRouter.ts +++ b/project/src/routers/static/InraidStaticRouter.ts @@ -51,13 +51,6 @@ export class InraidStaticRouter extends StaticRouter return this.inraidCallbacks.getTraitorScavHostileChance(url, info, sessionID); }, ), - new RouteAction( - "/singleplayer/sandbox/maxpatrol", - async (url: string, info: any, sessionID: string, output: string): Promise => - { - return this.inraidCallbacks.getSandboxMaxPatrolValue(url, info, sessionID); - }, - ), new RouteAction( "/singleplayer/BossConvert", async (url: string, info: any, sessionID: string, output: string): Promise =>