Posted 16 January 2014 - 12:38 AM
What this basically does is allows a turtle to build structures.
Heres the code
http://pastebin.com/6H92CE13
How to use it:
execute it like this
You will need fuel in slot 1, and building materials in slot 2,3,4,6,7,8
How to make custom buildings:
basically what it will do is read one variable at a time from a string.
Please note the entire code for the building must be on line 1, and have no spaces
0 - Move forward without placing a block
1 - Build a block from slot 2 or 6 (Will move forward then place the block)
2 - Build a block from slot 3 or 7 (Will move forward then place the block)
3 - Build a block from slot 4 or 8 (Will move forward then place the block)
r - Turn right
l - Turn left
u - Move up (also places a block under it)
d - Move down
so basically a code like this
Heres a code i wrote for a small 5x5x4 house House
Needs wood in slot 2&6, glass in slot 3, glowstone in slot 4
Features:
Stops when out of building materials in slot 2 and 6
Auto refuels itself
DOES NOT STOP IF SOMETHING IS IN THE WAY
See what kind of structures you can make love to see what people come up with :D/>
Thanks to Bomb Bloke for the help with the code that made this all possible
Heres the code
http://pastebin.com/6H92CE13
How to use it:
- Download the code from pastebin
- name the code "build" for the turtle that will be building
execute it like this
build <Building code>
then it will read from the building code, and build the structure.You will need fuel in slot 1, and building materials in slot 2,3,4,6,7,8
How to make custom buildings:
basically what it will do is read one variable at a time from a string.
Please note the entire code for the building must be on line 1, and have no spaces
0 - Move forward without placing a block
1 - Build a block from slot 2 or 6 (Will move forward then place the block)
2 - Build a block from slot 3 or 7 (Will move forward then place the block)
3 - Build a block from slot 4 or 8 (Will move forward then place the block)
r - Turn right
l - Turn left
u - Move up (also places a block under it)
d - Move down
so basically a code like this
11r1r1
will make a 2x2 boxHeres a code i wrote for a small 5x5x4 house House
Needs wood in slot 2&6, glass in slot 3, glowstone in slot 4
Features:
Stops when out of building materials in slot 2 and 6
Auto refuels itself
DOES NOT STOP IF SOMETHING IS IN THE WAY
See what kind of structures you can make love to see what people come up with :D/>
Thanks to Bomb Bloke for the help with the code that made this all possible
Edited on 15 January 2014 - 11:41 PM