Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("theinsektAPIs/poz2")
- os.loadAPI("theinsektAPIs/poz2a")
- args={...}
- if #args==0 then
- print("usage: dcube <dir1> <len1> <optional_dir2> <optional_len2> <optional_dir3> <optional_len3>")
- print("example: dcube f 3 u 3 r 5")
- print("Will dig out a 3x3x5 with the turtle starting in one of the corners.")
- print("directions: u,d,n,s,w,e,f,b,r,l")
- print("the directions have to be different")
- return
- end
- local posT=poz2.getNewPosT()
- print(poz2a.digCube2(args[1],tonumber(args[2]),args[3],tonumber(args[4]),args[5],tonumber(args[6]),posT,true,true))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement