mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-14 10:48:12 +02:00
Made new simulation engine (which fixes dumb mutation bug).
This commit is contained in:
1 parent
8ec07731a7
commit
75e4f31ccd
6 files changed
+800
-127
No files matched your search
@@ -692,7 +692,9 @@ function TakeFertilizerUse(
|
||||
|
||||
function GetFutureSightCooldownRemaining(
|
||||
SaveData,
|
||||
Now = Date.now()
|
||||
Now = GetSavedSimulationTime(
|
||||
SaveData
|
||||
)
|
||||
) {
|
||||
return Math.max(
|
||||
0,
|
||||
@@ -705,7 +707,9 @@ function GetFutureSightCooldownRemaining(
|
||||
|
||||
function IsFutureSightReady(
|
||||
SaveData,
|
||||
Now = Date.now()
|
||||
Now = GetSavedSimulationTime(
|
||||
SaveData
|
||||
)
|
||||
) {
|
||||
return GetFutureSightCooldownRemaining(
|
||||
SaveData,
|
||||
@@ -716,7 +720,9 @@ function IsFutureSightReady(
|
||||
|
||||
function StartFutureSightCooldown(
|
||||
SaveData,
|
||||
Now = Date.now()
|
||||
Now = GetSavedSimulationTime(
|
||||
SaveData
|
||||
)
|
||||
) {
|
||||
SaveData.Tools ??= {};
|
||||
SaveData.Tools.FutureSightCooldownUntil =
|
||||
|
||||
Reference in new issue
Block a user