async fn pathing works
This commit is contained in:
parent
c4e1096588
commit
7bfed6d8af
1 changed files with 139 additions and 53 deletions
|
|
@ -70,6 +70,8 @@ if not idfile then
|
|||
local fuel = turtle.getFuelLevel()
|
||||
if fs.exists("/disk/pos") then
|
||||
io.input("/disk/pos")
|
||||
else
|
||||
io.input(io.stdin)
|
||||
end
|
||||
local startpos = io.input()
|
||||
print("Direction (North, South, East, West):")
|
||||
|
|
|
|||
Loading…
Reference in a new issue