improve: completeAllQuests #311

Merged
Sainan merged 3 commits from quests-fix-ii into main 2024-06-16 14:57:30 -07:00
Showing only changes of commit a73dcaa885 - Show all commits

View File

@ -58,8 +58,6 @@ const inventoryController: RequestHandler = async (request: Request, response: R
} }
} }
if (config.completeAllQuests) { if (config.completeAllQuests) {
inventoryResponse.NodeIntrosCompleted.push("/Lotus/Levels/Cinematics/NewWarIntro/NewWarStageTwo.level");
inventoryResponse.ArchwingEnabled = true;
for (const quest of inventoryResponse.QuestKeys) { for (const quest of inventoryResponse.QuestKeys) {
quest.Completed = true; quest.Completed = true;
quest.Progress = [ quest.Progress = [
@ -71,6 +69,11 @@ const inventoryController: RequestHandler = async (request: Request, response: R
} }
]; ];
} }
inventoryResponse.ArchwingEnabled = true;
// Skip "Watch The Maker"
inventoryResponse.NodeIntrosCompleted.push("/Lotus/Levels/Cinematics/NewWarIntro/NewWarStageTwo.level");
} }
if (config.unlockAllShipDecorations) inventoryResponse.ShipDecorations = allShipDecorations; if (config.unlockAllShipDecorations) inventoryResponse.ShipDecorations = allShipDecorations;