Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Loading Robust Turtle API...")
- local load = os.loadAPI("t")
- if load then
- print("Robust Turtle API loaded.")
- else
- print("Robust Turtle API not found in the root directory with filename t")
- print("Attempting to download as t from pastebin...")
- os.sleep(2)
- local response = http.get("http://pastebin.com/raw.php?i= e0UksEtT")
- if response then
- print("Great Success.")
- local data = response.readAll()
- response.close()
- local file = fs.open("t", "w")
- file.write(data)
- file.close()
- print("Downloaded as t")
- load = os.loadAPI("t")
- if load then
- print("Robust Turtle API installed & loaded.")
- end
- else
- print( "Download Failed. Please Install Manually." )
- return
- end
- end
- --pyramid builder turtle. does not hollow it out.
- term.clear()
- term.setCursorPos(1,1)
- print([[Place Blocks starting in slot 1.
- How tall will the pyramid be?]])
- local size = 2*t.readNum()
- for a=size,1, -2 do
- for b=1,4 do
- t.forward()
- t.placeRow("down", "forward", a, 1,8)
- t.right()
- end
- t.up()
- t.strafeRight()
- t.forward()
- end
- t.placeDown(1,8)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement