From 4fa931c093fca729c8219a2cab42d1812addc20f Mon Sep 17 00:00:00 2001 From: Sainan Date: Sun, 16 Jun 2024 23:16:30 +0200 Subject: [PATCH] improve: set ArchwingEnabled in inventory when completeAllQuests is set This allows us to purchase Archwings in the market, although that's kinda broken right now. --- src/controllers/api/inventoryController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index 43dffe55..d5c62ef3 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -59,6 +59,7 @@ const inventoryController: RequestHandler = async (request: Request, response: R } if (config.completeAllQuests) { inventoryResponse.NodeIntrosCompleted.push("/Lotus/Levels/Cinematics/NewWarIntro/NewWarStageTwo.level"); + inventoryResponse.ArchwingEnabled = true; for (const quest of inventoryResponse.QuestKeys) { quest.Completed = true; quest.Progress = [