Posted 21 September 2012 - 05:10 AM
I made a program called 'flat' which has the turtle build a flat surface, with the bounds of the surface defined by the arguments to the program.
You call it like this: "flat X Y", where X and Y are the length and width of the desired surface. The turtle will begin placing whatever blocks it has in its inventory (it pauses and waits for a refill when empty).
So, for example, if I want to build a flat surface that is 5 blocks by 5 blocks, I would call "flat 5 5".
There is a variable called 'slots' in the file. This represents how many inventory slots the turtle has (it checks the last slot to see if it has any materials left to place). The default value is 16. This can be changed to 9 to accommodate versions of the turtle which have 9 slots.
I find it quite useful for building floors of any building.
http://pastebin.com/C2NDUjd3
Any comments/criticisms?
You call it like this: "flat X Y", where X and Y are the length and width of the desired surface. The turtle will begin placing whatever blocks it has in its inventory (it pauses and waits for a refill when empty).
So, for example, if I want to build a flat surface that is 5 blocks by 5 blocks, I would call "flat 5 5".
There is a variable called 'slots' in the file. This represents how many inventory slots the turtle has (it checks the last slot to see if it has any materials left to place). The default value is 16. This can be changed to 9 to accommodate versions of the turtle which have 9 slots.
I find it quite useful for building floors of any building.
http://pastebin.com/C2NDUjd3
Any comments/criticisms?