【发布时间】:2014-08-25 09:59:02
【问题描述】:
参数有什么作用?如何在某处为 shell.run('asdf') 编写标签并将其链接到 shell.run('asdf') 行? 代码:
turtle.dig()
turtle.forward()
-what api works with shell.run() here?- <---------- Where I want tag.
turtle.digUp()
turtle.dig()
turtle.turnLeft()
turtle.dig()
turtle.turnRight()
turtle.up()
if turtle.detect() then
shell.run('asdf') <---------- What do I put to link it to tag.
else
turtle.forward()
turtle.turnLeft()
end
while not turtle.detectDown() do
turtle.dig()
turtle.down()
end
turtle.turnLeft()
turtle.forward()
turtle.forward()
turtle.turnLeft()
turtle.turnLeft()
【问题讨论】:
-
这不是普通的 Lua。请给出上下文。
-
看起来像计算机。 computercraft.info
-
它的计算机技术是事实。
标签: lua computercraft