feat: Varzia (Prime Resurgence) rotation #2390

Merged
Sainan merged 3 commits from AMelonInsideLemon/SpaceNinjaServer:varzia-rotation into main 2025-07-04 15:18:42 -07:00
Showing only changes of commit a1c5936dbf - Show all commits

View File

@ -1483,7 +1483,6 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
ScheduleInfo: [] ScheduleInfo: []
}; };
worldState.PrimeVaultTraders.push(pt); worldState.PrimeVaultTraders.push(pt);
if (isBeforeNextExpectedWorldStateRefresh(timeMs, weekStart)) {
const rotation = config.worldState?.varziaOverride || getVarziaRotation(week); const rotation = config.worldState?.varziaOverride || getVarziaRotation(week);

This will always evaluate to true ?

This will always evaluate to true ?
pt.Manifest = config.worldState?.varziaFullyStocked ? getAllVarziaManifests() : getVarziaManifest(rotation); pt.Manifest = config.worldState?.varziaFullyStocked ? getAllVarziaManifests() : getVarziaManifest(rotation);
if (config.worldState?.varziaOverride || config.worldState?.varziaFullyStocked) { if (config.worldState?.varziaOverride || config.worldState?.varziaFullyStocked) {
@ -1495,7 +1494,6 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
}); });
} }
} }
}
// Sortie & syndicate missions cycling every day (at 16:00 or 17:00 UTC depending on if London, OT is observing DST) // Sortie & syndicate missions cycling every day (at 16:00 or 17:00 UTC depending on if London, OT is observing DST)
{ {