did stuff

This commit is contained in:
Julian Brammer 2024-06-23 20:39:21 +02:00
parent bc874c63ca
commit 08935bc26b

View File

@ -78,8 +78,10 @@ end
local function savePos(prefix)
--save position to file and ntfy
basic.appendToFileNl("/brulijam/files/chests-turtle-miner-fibo.txt", prefix .. state["x"] .. ", " .. state["y"]+1 .. ", " .. state["z"])
basic.ntfy("[" .. os.getComputerLabel() .. "](Mining) " .. prefix .. state["x"] .. ", " .. state["y"]+1 .. ", " .. state["z"])
local pos = tutel.getPos()
basic.appendToFileNl("/brulijam/files/chests-turtle-miner-fibo.txt", prefix .. pos["x"] .. ", " .. pos["y"]+1 .. ", " .. pos["z"])
basic.ntfy("[" .. os.getComputerLabel() .. "](Mining) " .. prefix .. pos["x"] .. ", " .. pos["y"]+1 .. ", " .. pos["z"])
end
local function inventoryRework()