From 37ecf29c4d0521fc41c8205272b0b97f355b9489 Mon Sep 17 00:00:00 2001 From: Sainan Date: Tue, 7 May 2024 23:50:38 +0200 Subject: [PATCH] feat: unlock Steel Path with unlockAllMissions (#188) --- src/controllers/api/inventoryController.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index 6d208fb3..f3e08fef 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -42,7 +42,11 @@ const inventoryController: RequestHandler = async (request: Request, response: R inventoryResponse.PremiumCredits = 999999999; } - if (config.unlockAllMissions) inventoryResponse.Missions = allMissions; + if (config.unlockAllMissions) { + inventoryResponse.Missions = allMissions; + inventoryResponse.NodeIntrosCompleted.push("TeshinHardModeUnlocked"); + } + if (config.unlockAllQuests) inventoryResponse.QuestKeys = allQuestKeys; if (config.unlockAllShipDecorations) inventoryResponse.ShipDecorations = allShipDecorations; if (config.unlockAllFlavourItems) inventoryResponse.FlavourItems = allFlavourItems satisfies IFlavourItem[];