From 3ffa4a7fd323be379fa0041de7d998979beed398 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Fri, 25 Apr 2025 11:51:54 -0700 Subject: [PATCH] fix: exclude some more nodes from syndicate missions (#1825) Closes #1819 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1825 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- src/services/worldStateService.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/services/worldStateService.ts b/src/services/worldStateService.ts index f726e603..9178e48c 100644 --- a/src/services/worldStateService.ts +++ b/src/services/worldStateService.ts @@ -186,10 +186,12 @@ const pushSyndicateMissions = ( for (const [key, value] of Object.entries(ExportRegions)) { if ( !isArchwingMission(value) && - value.systemIndex != 23 && // no 1999 stuff + !value.questReq && // Exclude zariman, murmor, and 1999 stuff + !value.hidden && // Exclude the index + !value.darkSectorData && // Exclude dark sectors value.missionIndex != 10 && // Exclude MT_PVP (for relays) value.missionIndex != 23 && // no junctions - value.missionIndex <= 28 // no railjack or some such + value.missionIndex < 28 // no open worlds, railjack, etc ) { nodeOptions.push(key); }