Add TaskConditionCounters to profile and favorite array

This commit is contained in:
Dev 2023-12-27 19:52:35 +00:00
parent dccb356f62
commit c3bddbbad2
2 changed files with 11 additions and 0 deletions

View File

@ -125,6 +125,7 @@ export class BotInventoryGenerator
sortingTable: sortingTableId,
hideoutAreaStashes: {},
fastPanel: {},
favoriteItems: []
};
}

View File

@ -19,6 +19,7 @@ export interface IBotBase
Skills: Skills;
Stats: Stats;
Encyclopedia: Record<string, boolean>;
TaskConditionCounters: Record<string, ITaskConditionCounter>;
ConditionCounters: ConditionCounters;
BackendCounters: Record<string, BackendCounter>;
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<string, string>;
fastPanel: Record<string, string>;
favoriteItems: string[]
}
export interface IBaseJsonSkills