This commit is contained in:
Julian Brammer 2024-06-05 21:47:38 +02:00
parent 86861a2071
commit 0994f67661

View File

@ -76,6 +76,7 @@ local function savePositionToFile()
if itemDetail.name == "computercraft:wireless_modem_advanced" then if itemDetail.name == "computercraft:wireless_modem_advanced" then
turtle.equipRight() turtle.equipRight()
posX, posY, posZ = gps.locate() posX, posY, posZ = gps.locate()
sleep(1)
basic.appendToFileNl("/brulijam/files/chests-turtle-miner-fibo.txt", "Chest at: " .. posX, ", " .. posY .. ", " .. posZ) basic.appendToFileNl("/brulijam/files/chests-turtle-miner-fibo.txt", "Chest at: " .. posX, ", " .. posY .. ", " .. posZ)
turtle.equipRight() turtle.equipRight()
end end