feat: unlock Steel Path with unlockAllMissions (#188)

This commit is contained in:
Sainan 2024-05-07 23:50:38 +02:00 committed by GitHub
parent a9973ec362
commit 37ecf29c4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,11 @@ const inventoryController: RequestHandler = async (request: Request, response: R
inventoryResponse.PremiumCredits = 999999999; 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.unlockAllQuests) inventoryResponse.QuestKeys = allQuestKeys;
if (config.unlockAllShipDecorations) inventoryResponse.ShipDecorations = allShipDecorations; if (config.unlockAllShipDecorations) inventoryResponse.ShipDecorations = allShipDecorations;
if (config.unlockAllFlavourItems) inventoryResponse.FlavourItems = allFlavourItems satisfies IFlavourItem[]; if (config.unlockAllFlavourItems) inventoryResponse.FlavourItems = allFlavourItems satisfies IFlavourItem[];