fix: skip "prove yourself" text when unlocking all missions via cheat #2965

Merged
Sainan merged 3 commits from Animan8000/SpaceNinjaServer:beQuietKonzu into main 2025-11-01 02:52:16 -07:00
Showing only changes of commit 9adde599b6 - Show all commits

View File

@ -39,7 +39,7 @@ export const completeAllMissionsController: RequestHandler = async (req, res) =>
let syndicate = inventory.Affiliations.find(x => x.Tag == "CetusSyndicate");
if (!syndicate) {
syndicate =
inventory.Affiliations[inventory.Affiliations.push({ Tag: "CetusSyndicate", Standing: 250, Title: 0 })]; // Getting standing avoids Konzu's "prove yourself" text. 250 is identical to newbie bounty + bonus
inventory.Affiliations[inventory.Affiliations.push({ Tag: "CetusSyndicate", Standing: 250, Title: 0 })]; // Non-zero standing avoids Konzu's "prove yourself" text. 250 is identical to newbie bounty + bonus
}
await inventory.save();
res.end();