Apply iOS TS131 logic to this version - #3496
Conversation
…imulation. achievement 138 still overrides.
kajfik
left a comment
There was a problem hiding this comment.
It looks like the 6h/24h offline time IAPs (purchaseTimeSkip and purchaseLongerTimeSkip) don't count as offline here on web, while on iOS they do.
Should be fixed by removing the isSimulatingOfflineProgress = true from storage.js and adding GameStorage.isSimulatingOfflineProgress = false to the beginning of afterSimulation(), and then GameStorage.isSimulatingOfflineProgress = true right after if (seconds < 0) return; in simulateTime(). This is because both the offline time puchases use simulateTime().
It also looks like disabling hibernationCatchup doesn't simulate offline time (similar to the offline IAPs) when the game "hibernates". This could probably be fixed by removing isSimulatingOfflineProgress = true from inside the if(player.options.hibernationCatchup ...), and instead moving it above the if with something like if (passDiff === undefined) GameStorage.isSimulatingOfflineProgress = realDiff > 6e4;.
|
objective: knowledge exploration:
expected: observed: reproduction steps:
validation:
|
#3495
TS 131 iOS logic:
Automatic Replicanti Galaxies are disabled while offline, but you can get 50% more of them
Cost: 5 Time Theorems