a
This commit is contained in:
parent
494c9e6d6a
commit
0ccb805777
@ -1,5 +1,6 @@
|
|||||||
-- https://tweaked.cc/guide/gps_setup.html
|
-- https://tweaked.cc/guide/gps_setup.html
|
||||||
-- Seems to not work with optifine
|
-- Seems to not work with optifine
|
||||||
|
-- put shell.run("/brulijam/gps-tower.lua") in brulijam/task.lua
|
||||||
|
|
||||||
basic = require("lib.basic")
|
basic = require("lib.basic")
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ 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()
|
||||||
posX, posY, posZ = gps.locate()
|
posZ, posY, posX = gps.locate()
|
||||||
sleep(1)
|
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)
|
||||||
networking.sendLog("all", "/brulijam/logs/chests-to-collect.txt", posX .. ", " .. posY .. ", " .. posZ)
|
networking.sendLog("all", "/brulijam/logs/chests-to-collect.txt", posX .. ", " .. posY .. ", " .. posZ)
|
||||||
|
Loading…
Reference in New Issue
Block a user