Advertisement
theinsekt

poz3test

Sep 5th, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.64 KB | None | 0 0
  1. --experimental
  2. --theinsekt/poz3test
  3. --used to test and debug poz3 and poz3a
  4.  
  5. os.loadAPI("theinsektAPIs/poz3")
  6. os.loadAPI("theinsektAPIs/poz3a")
  7.  
  8. args={...}--get arguments from commandline
  9. --print(poz3.validDirection(args[1]))
  10. --print(poz3a.detectDigGo2(args[1],false))
  11. --print( poz3a.digLoop(args[1],tonumber(args[2]),false ) )
  12. --poz3.enterSimulationMode()
  13. --print(poz3a.digCube3(args[1],tonumber(args[2]),args[3],tonumber(args[4]),args[5],tonumber(args[6]),true,true))
  14. print(poz3a.callDigCube(args[1],tonumber(args[2]),args[3],tonumber(args[4]),args[5],tonumber(args[6]),true,true))
  15. --print(poz3.getStats())
  16. --poz3.exitSimulationMode()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement