chore: set HasOwnedVoidProjectionsPreviously when acquiring a relic
All checks were successful
Build / build (20) (push) Successful in 1m5s
Build / build (18) (pull_request) Successful in 44s
Build / build (22) (pull_request) Successful in 40s
Build / build (20) (pull_request) Successful in 1m8s
Build / build (22) (push) Successful in 6m40s
Build / build (18) (push) Successful in 45s
All checks were successful
Build / build (20) (push) Successful in 1m5s
Build / build (18) (pull_request) Successful in 44s
Build / build (22) (pull_request) Successful in 40s
Build / build (20) (pull_request) Successful in 1m8s
Build / build (22) (push) Successful in 6m40s
Build / build (18) (push) Successful in 45s
This commit is contained in:
parent
2d6e096fde
commit
9800644de8
@ -255,9 +255,6 @@ export const getInventoryResponse = async (
|
||||
applyCheatsToInfestedFoundry(inventoryResponse.InfestedFoundry);
|
||||
}
|
||||
|
||||
// This determines if the "void fissures" tab is shown in navigation.
|
||||
inventoryResponse.HasOwnedVoidProjectionsPreviously = true;
|
||||
|
||||
// Omitting this field so opening the navigation resyncs the inventory which is more desirable for typical usage.
|
||||
//inventoryResponse.LastInventorySync = toOid(new Types.ObjectId());
|
||||
|
||||
|
@ -1186,6 +1186,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
|
||||
ReceivedStartingGear: Boolean,
|
||||
|
||||
ArchwingEnabled: Boolean,
|
||||
HasOwnedVoidProjectionsPreviously: Boolean,
|
||||
|
||||
//Use Operator\Drifter
|
||||
UseAdultOperatorLoadout: Boolean,
|
||||
|
@ -536,6 +536,7 @@ export const addItem = async (
|
||||
} satisfies IMiscItem
|
||||
];
|
||||
addMiscItems(inventory, miscItemChanges);
|
||||
inventory.HasOwnedVoidProjectionsPreviously = true;
|
||||
return {
|
||||
InventoryChanges: {
|
||||
MiscItems: miscItemChanges
|
||||
|
@ -252,7 +252,7 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
|
||||
Affiliations: IAffiliation[];
|
||||
QualifyingInvasions: any[];
|
||||
FactionScores: number[];
|
||||
ArchwingEnabled: boolean;
|
||||
ArchwingEnabled?: boolean;
|
||||
PendingSpectreLoadouts?: ISpectreLoadout[];
|
||||
SpectreLoadouts?: ISpectreLoadout[];
|
||||
EmailItems: ITypeCount[];
|
||||
|
Loading…
x
Reference in New Issue
Block a user