Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Latest commit

 

History

History
18 lines (14 loc) · 539 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 539 Bytes

Lama Usage:

if not lama then --check if the api is loaded.  Bad things happen if it is.
  os.loadAPI( "lama" ) --load the api
  lama.overwrite() --overwrite _G.turtle, will overwrite a table instead if given one
end

--use turtle commands normally, _G.turtle has been overwritten

--Get the position of the turtle
local x, y, z, facing = lama.getPosition() 

--Set the position of the turtle (facing is optional)
lama.setPosition( x, y, z[, facing] )

For more information:

http://github.com/KingofGamesYami/LAMA/wiki