From c3bddbbad23c9e5d86a9d2d3d176ca3d185f54c2 Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 27 Dec 2023 19:52:35 +0000 Subject: [PATCH] Add TaskConditionCounters to profile and favorite array --- project/src/generators/BotInventoryGenerator.ts | 1 + project/src/models/eft/common/tables/IBotBase.ts | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/project/src/generators/BotInventoryGenerator.ts b/project/src/generators/BotInventoryGenerator.ts index 482c4497..fc485ff0 100644 --- a/project/src/generators/BotInventoryGenerator.ts +++ b/project/src/generators/BotInventoryGenerator.ts @@ -125,6 +125,7 @@ export class BotInventoryGenerator sortingTable: sortingTableId, hideoutAreaStashes: {}, fastPanel: {}, + favoriteItems: [] }; } diff --git a/project/src/models/eft/common/tables/IBotBase.ts b/project/src/models/eft/common/tables/IBotBase.ts index c6283c5f..59456cfe 100644 --- a/project/src/models/eft/common/tables/IBotBase.ts +++ b/project/src/models/eft/common/tables/IBotBase.ts @@ -19,6 +19,7 @@ export interface IBotBase Skills: Skills; Stats: Stats; Encyclopedia: Record; + TaskConditionCounters: Record; ConditionCounters: ConditionCounters; BackendCounters: Record; InsuredItems: InsuredItem[]; @@ -38,6 +39,14 @@ export interface IBotBase sptIsPmc?: boolean; } +export interface ITaskConditionCounter +{ + id: string + type: string + value: number + sourceId: string +} + export interface IUnlockedInfo { unlockedProductionRecipe: string[]; @@ -153,6 +162,7 @@ export interface Inventory /** Key is hideout area enum numeric as string e.g. "24", value is area _id */ hideoutAreaStashes: Record; fastPanel: Record; + favoriteItems: string[] } export interface IBaseJsonSkills