master
D4VID 1 year ago
parent 2cb93f7013
commit 11a902dcd7

@ -1,11 +1,15 @@
local robot = require("robot") local robot = require("robot")
local function mine() local arg = ...
robot.swing()
robot.up() local function mine(count)
robot.swing() for i = 1, count do
robot.down() robot.swing()
robot.forward() robot.up()
robot.swing()
robot.down()
robot.forward()
end
end end
mine() mine(arg)

Loading…
Cancel
Save