From e1bf7cdfdfa82a34d0cbb4befaf8b87337388e1e Mon Sep 17 00:00:00 2001 From: Animan8000 Date: Fri, 31 Oct 2025 07:48:21 -0700 Subject: [PATCH] src/controllers/custom/completeAllMissionsController.ts aktualisiert --- src/controllers/custom/completeAllMissionsController.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/controllers/custom/completeAllMissionsController.ts b/src/controllers/custom/completeAllMissionsController.ts index e56a6780..e33d0861 100644 --- a/src/controllers/custom/completeAllMissionsController.ts +++ b/src/controllers/custom/completeAllMissionsController.ts @@ -36,6 +36,11 @@ export const completeAllMissionsController: RequestHandler = async (req, res) => } addString(inventory.NodeIntrosCompleted, "TeshinHardModeUnlocked"); addString(inventory.NodeIntrosCompleted, "CetusSyndicate_IntroJob"); + let syndicate = inventory.Affiliations.find(x => x.Tag == "CetusSyndicate"); + if (!syndicate) { + syndicate = + inventory.Affiliations[inventory.Affiliations.push({ Tag: "CetusSyndicate", Standing: 200, Title: 0 })]; // Getting standing avoids Konzu's "prove yourself" text. 200 is identical to newbie bounty + } await inventory.save(); res.end(); };