Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Sample tree program using my tree2 API
- os.loadAPI("tree2")
- local tArgs = {...}
- count = tonumber(tArgs[1]) --0<count<65
- for i = 1,count do
- replant()
- dig()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.forward()
- clearInv()
- restock()
- turtle.turnLeft()
- turtle.turnLeft()
- end
Advertisement
Add Comment
Please, Sign In to add comment