mirror of
https://github.com/kepler155c/opus
synced 2025-01-19 03:42:51 +00:00
turtle status
This commit is contained in:
parent
ab4fd29d16
commit
fc46239f44
@ -345,6 +345,9 @@ function turtle.set(args)
|
|||||||
elseif k == 'moveCallback' then
|
elseif k == 'moveCallback' then
|
||||||
turtle.setMoveCallback(v)
|
turtle.setMoveCallback(v)
|
||||||
|
|
||||||
|
elseif k == 'status' then
|
||||||
|
turtle.setStatus(v)
|
||||||
|
|
||||||
else
|
else
|
||||||
error('Invalid turle.set: ' .. tostring(k))
|
error('Invalid turle.set: ' .. tostring(k))
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user