XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

feat: unlock Steel Path with unlockAllMissions (#188)

37ecf29c
Sainan <sainan@calamity.gg>
提交于

代码差异

1 个文件 +5 -1
Modified src/controllers/api/inventoryController.ts +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[];