feat: xtra cheese rotation #2191

Merged
Sainan merged 2 commits from cheese into main 2025-06-17 17:32:34 -07:00
Showing only changes of commit 833d289ba0 - Show all commits

View File

@ -1328,7 +1328,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
ennnd: true, ennnd: true,
mbrt: true, mbrt: true,
fbst: { fbst: {
a: cheeseIndex * cheeseInterval, a: cheeseIndex * cheeseInterval, // This has a bug where the client shows a negative time for "Xtra cheese starts in ..." until it refreshes the world state. This is because we're only providing the new activation as soon as that time/date is reached. However, this is 100% faithful to live.
e: cheeseIndex * cheeseInterval + cheeseDuration, e: cheeseIndex * cheeseInterval + cheeseDuration,
n: (cheeseIndex + 1) * hourInSeconds * 8 n: (cheeseIndex + 1) * hourInSeconds * 8
}, },