fix: save LoreFragmentScans (#974)
All checks were successful
Build / build (22) (push) Successful in 33s
Build / build (18) (push) Successful in 1m0s
Build / build (20) (push) Successful in 1m4s
Build Docker image / docker (push) Successful in 32s

Reviewed-on: #974
Co-authored-by: Sainan <sainan@calamity.inc>
Co-committed-by: Sainan <sainan@calamity.inc>
This commit is contained in:
Sainan 2025-02-20 02:57:23 -08:00 committed by OrdisPrime
parent fb8d176fbe
commit b4e780baa3
2 changed files with 8 additions and 1 deletions

View File

@ -191,6 +191,11 @@ export const addMissionInventoryUpdates = (
}); });
break; break;
} }
case "LoreFragmentScans":
value.forEach(x => {
inventory.LoreFragmentScans.push(x);
});
break;
case "SyndicateId": { case "SyndicateId": {
inventory.CompletedSyndicates.push(value); inventory.CompletedSyndicates.push(value);
break; break;

View File

@ -13,7 +13,8 @@ import {
IFusionTreasure, IFusionTreasure,
ICustomMarkers, ICustomMarkers,
IPlayerSkills, IPlayerSkills,
IQuestKeyDatabase IQuestKeyDatabase,
ILoreFragmentScan
} from "./inventoryTypes/inventoryTypes"; } from "./inventoryTypes/inventoryTypes";
export interface IThemeUpdateRequest { export interface IThemeUpdateRequest {
@ -85,6 +86,7 @@ export type IMissionInventoryUpdateRequest = {
FocusXpIncreases?: number[]; FocusXpIncreases?: number[];
PlayerSkillGains: IPlayerSkills; PlayerSkillGains: IPlayerSkills;
CustomMarkers?: ICustomMarkers[]; CustomMarkers?: ICustomMarkers[];
LoreFragmentScans?: ILoreFragmentScan[];
} & { } & {
[K in TEquipmentKey]?: IEquipmentClient[]; [K in TEquipmentKey]?: IEquipmentClient[];
}; };