forked from OpenWF/SpaceNinjaServer
		
	fix: exclude some more nodes from syndicate missions (#1825)
Closes #1819 Reviewed-on: OpenWF/SpaceNinjaServer#1825 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									826a09a473
								
							
						
					
					
						commit
						3ffa4a7fd3
					
				@ -186,10 +186,12 @@ const pushSyndicateMissions = (
 | 
				
			|||||||
    for (const [key, value] of Object.entries(ExportRegions)) {
 | 
					    for (const [key, value] of Object.entries(ExportRegions)) {
 | 
				
			||||||
        if (
 | 
					        if (
 | 
				
			||||||
            !isArchwingMission(value) &&
 | 
					            !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 != 10 && // Exclude MT_PVP (for relays)
 | 
				
			||||||
            value.missionIndex != 23 && // no junctions
 | 
					            value.missionIndex != 23 && // no junctions
 | 
				
			||||||
            value.missionIndex <= 28 // no railjack or some such
 | 
					            value.missionIndex < 28 // no open worlds, railjack, etc
 | 
				
			||||||
        ) {
 | 
					        ) {
 | 
				
			||||||
            nodeOptions.push(key);
 | 
					            nodeOptions.push(key);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user