返回提交历史
Modified
src/controllers/api/inventoryController.ts
+5
-1
XFEstudio/XFESpaceNinjaServer
feat: unlock Steel Path with unlockAllMissions (#188)
37ecf29c
代码差异
1 个文件
+5
-1
@@ -42,7 +42,11 @@ const inventoryController: RequestHandler = async (request: Request, response: R
42
42
inventoryResponse.PremiumCredits = 999999999;
43
43
}
44
44
45
if (config.unlockAllMissions) inventoryResponse.Missions = allMissions;
45
if (config.unlockAllMissions) {
46
inventoryResponse.Missions = allMissions;
47
inventoryResponse.NodeIntrosCompleted.push("TeshinHardModeUnlocked");
48
}
49
46
50
if (config.unlockAllQuests) inventoryResponse.QuestKeys = allQuestKeys;
47
51
if (config.unlockAllShipDecorations) inventoryResponse.ShipDecorations = allShipDecorations;
48
52
if (config.unlockAllFlavourItems) inventoryResponse.FlavourItems = allFlavourItems satisfies IFlavourItem[];