.
This commit is contained in:
parent
ebd5f19a3f
commit
6fc3e03248
@ -228,6 +228,7 @@ local function mineRow()
|
||||
|
||||
--save path progress
|
||||
state["dataCurrentPathProgress"] = i+1
|
||||
setState()
|
||||
end
|
||||
print("row: " .. state["dataCurrentRow"]+1 .. "/" .. state["dataGoalRows"] .. ", pathProgress: " .. state["dataCurrentPathProgress"]+1 .. "/" .. state["dataGoalPathProgress"])
|
||||
local pos = tutel.getPos()
|
||||
@ -279,10 +280,12 @@ local function mineChunk()
|
||||
|
||||
state["dataCurrentRow"] = i+1
|
||||
state["dataCurrentPathProgress"] = 0
|
||||
setState()
|
||||
end
|
||||
|
||||
--reset row progress
|
||||
state["dataCurrentRow"] = 0
|
||||
setState()
|
||||
end
|
||||
|
||||
local function mineFibo()
|
||||
@ -305,6 +308,7 @@ local function mineFibo()
|
||||
|
||||
--get next fibo number
|
||||
state["dataCurrentFibo"] = math.floor((state["dataCurrentFibo"] * (1+math.sqrt(5))/2) + 0.5)
|
||||
setState()
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user