network sniffer

This commit is contained in:
kepler155c@gmail.com
2019-02-23 18:36:42 -05:00
parent 3d875890b0
commit 5dc87ef8d1
4 changed files with 5 additions and 3 deletions

View File

@@ -22,6 +22,7 @@ if not turtle.select('minecraft:bucket') then
end
local s, m = turtle.run(function()
turtle.set({ 'status', 'refueling' })
turtle.setMovementStrategy('goto')
local facing = scanner.getBlockMeta(0, 0, 0).state.facing
@@ -58,6 +59,7 @@ end)
turtle.gotoY(0)
turtle.go({ x = 0, y = 0, z = 0 })
turtle.set({ 'status', 'idle' })
turtle.unequip('left')
print('Fuel: ' .. turtle.getFuelLevel())