Jump to content




[Simple][Miner][Turtle]Square Maker


1 reply to this topic

#1 EmTeaKay

  • Members
  • 115 posts

Posted 10 April 2012 - 11:45 PM

This is code for a simple "square" I made. It has an option to continue mining upwards, so you don't have to shut it down and then restart.
It doesn't mine the insides though, as this was just seeing what I could do. You can mess with the code and make it your own, if you're going to show it to someone else, please tell them it was made by me. You don't have to tell them it was made by me, I would just prefer it if you did.
Spoiler


#2 EatenAlive3

  • New Members
  • 53 posts

Posted 11 April 2012 - 12:42 AM

Looks good. Unfortunately, you wasted some typing on all those ones, as the turtle movement and digging functions take no arguments (turtle.forward() works the same as turtle.forward(1), or even turtle.forward(9)). I'd reccomend using functions or loops for things like this. Usually, three for loops can get you pretty far, especially if working with mining and cuboids (one for the X axis, one for Y, one for Z.) Good job :P/>





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users