fix: aborting Mission and completeAllQuests config #858

Merged
OrdisPrime merged 2 commits from fix-completeallQuests-and-aborting-mission into main 2025-01-24 06:13:55 -08:00
3 changed files with 3 additions and 1 deletions

View File

@ -127,6 +127,7 @@ export const inventoryController: RequestHandler = async (request, response) =>
}
inventoryResponse.ArchwingEnabled = true;
inventoryResponse.ActiveQuest = ""; //TODO: might need to reconsider this if this does not work long term.
// Skip "Watch The Maker"
addString(inventoryResponse.NodeIntrosCompleted, "/Lotus/Levels/Cinematics/NewWarIntro/NewWarStageTwo.level");

View File

@ -58,6 +58,7 @@ export const missionInventoryUpdateController: RequestHandler = async (req, res)
console.log(`Mission failed: ${missionReport.RewardInfo?.node}`);
//todo: return expected response for failed mission
res.json([]);
return;
//duvirisadjob does not provide missionStatus
}

View File

@ -43,7 +43,6 @@ export interface IInventoryDatabase
GuildId?: Types.ObjectId; // GuildId changed from ?IOid to ?Types.ObjectId
PendingRecipes: IPendingRecipe[];
QuestKeys: IQuestKeyDatabase[];
ActiveQuest: string;
BlessingCooldown: Date;
Ships: Types.ObjectId[];
WeaponSkins: IWeaponSkinDatabase[];
@ -207,6 +206,7 @@ export interface IInventoryClient extends IDailyAffiliations {
ReceivedStartingGear: boolean;
Ships: IShipInventory[];
QuestKeys: IQuestKeyClient[];
ActiveQuest: string;
FlavourItems: IFlavourItem[];
Scoops: IEquipmentDatabase[];
LoadOutPresets: ILoadOutPresets;