a
This commit is contained in:
parent
1d68347d35
commit
0c9ddb0cd6
@ -75,8 +75,8 @@ local function savePositionToFile()
|
|||||||
if itemDetail ~= nil then
|
if itemDetail ~= nil then
|
||||||
if itemDetail.name == "computercraft:wireless_modem_advanced" then
|
if itemDetail.name == "computercraft:wireless_modem_advanced" then
|
||||||
turtle.equipRight()
|
turtle.equipRight()
|
||||||
pos = gps.locate()
|
posX, posY, posZ = gps.locate()
|
||||||
basic.appendToFileNl("/brulijam/files/chests-turtle-miner-fibo.txt", textutils.serialize(pos))
|
basic.appendToFileNl("/brulijam/files/chests-turtle-miner-fibo.txt", "Chest at: " .. posX, ", " .. posY .. ", " .. posZ)
|
||||||
turtle.equipRight()
|
turtle.equipRight()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user