finder
This commit is contained in:
@@ -3,6 +3,7 @@ local Event = require('event')
|
|||||||
local GPS = require('gps')
|
local GPS = require('gps')
|
||||||
local Point = require('point')
|
local Point = require('point')
|
||||||
local Socket = require('socket')
|
local Socket = require('socket')
|
||||||
|
local Sound = require('sound')
|
||||||
local Util = require('util')
|
local Util = require('util')
|
||||||
|
|
||||||
local device = _G.device
|
local device = _G.device
|
||||||
@@ -150,6 +151,10 @@ local function run(member)
|
|||||||
local _, b = next(found)
|
local _, b = next(found)
|
||||||
print(string.format('%s:%s:%s', b.x, b.y, b.z))
|
print(string.format('%s:%s:%s', b.x, b.y, b.z))
|
||||||
print('press r to continue')
|
print('press r to continue')
|
||||||
|
for _ = 1, 3 do
|
||||||
|
Sound.play('entity.bobber.throw')
|
||||||
|
os.sleep(.3)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
turtle.gotoY(pt.y)
|
turtle.gotoY(pt.y)
|
||||||
|
|||||||
Reference in New Issue
Block a user