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, sortingTable: sortingTableId,
hideoutAreaStashes: {}, hideoutAreaStashes: {},
fastPanel: {}, fastPanel: {},
favoriteItems: []
}; };
} }

View File

@ -19,6 +19,7 @@ export interface IBotBase
Skills: Skills; Skills: Skills;
Stats: Stats; Stats: Stats;
Encyclopedia: Record<string, boolean>; Encyclopedia: Record<string, boolean>;
TaskConditionCounters: Record<string, ITaskConditionCounter>;
ConditionCounters: ConditionCounters; ConditionCounters: ConditionCounters;
BackendCounters: Record<string, BackendCounter>; BackendCounters: Record<string, BackendCounter>;
InsuredItems: InsuredItem[]; InsuredItems: InsuredItem[];
@ -38,6 +39,14 @@ export interface IBotBase
sptIsPmc?: boolean; sptIsPmc?: boolean;
} }
export interface ITaskConditionCounter
{
id: string
type: string
value: number
sourceId: string
}
export interface IUnlockedInfo export interface IUnlockedInfo
{ {
unlockedProductionRecipe: string[]; unlockedProductionRecipe: string[];
@ -153,6 +162,7 @@ export interface Inventory
/** Key is hideout area enum numeric as string e.g. "24", value is area _id */ /** Key is hideout area enum numeric as string e.g. "24", value is area _id */
hideoutAreaStashes: Record<string, string>; hideoutAreaStashes: Record<string, string>;
fastPanel: Record<string, string>; fastPanel: Record<string, string>;
favoriteItems: string[]
} }
export interface IBaseJsonSkills export interface IBaseJsonSkills