src/controllers/custom/completeAllMissionsController.ts aktualisiert
All checks were successful
Build / build (pull_request) Successful in 1m55s
All checks were successful
Build / build (pull_request) Successful in 1m55s
This commit is contained in:
parent
20d9a699b4
commit
e1bf7cdfdf
@ -36,6 +36,11 @@ export const completeAllMissionsController: RequestHandler = async (req, res) =>
|
|||||||
}
|
}
|
||||||
addString(inventory.NodeIntrosCompleted, "TeshinHardModeUnlocked");
|
addString(inventory.NodeIntrosCompleted, "TeshinHardModeUnlocked");
|
||||||
addString(inventory.NodeIntrosCompleted, "CetusSyndicate_IntroJob");
|
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();
|
await inventory.save();
|
||||||
res.end();
|
res.end();
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user