You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
local robot = require("robot")
|
|
|
|
local arg = ...
|
|
|
|
local function mine(count)
|
|
for i = 1, count do
|
|
robot.swing()
|
|
robot.up()
|
|
robot.swing()
|
|
robot.down()
|
|
robot.forward()
|
|
end
|
|
end
|
|
|
|
mine(arg)
|