Posted 16 January 2013 - 06:41 PM
to use: advTunnel [distance]
he will dig a 3X3 tunnel it will also place torches every 10 blocks u must have an ender chest for this to work place the ender chest in Slot 14 torches in 15 and fuel in 16 if u dont put torches in slot 15 u will not get errors he will just not put them down the checking inventory isnt quite working the way i want it to atm but i will still be working on this code and updateing this post as i add/fix things Torches will be placed on the right of the turtle and when it places the ender chest down to drop off items it will place it on the left
[attachment=923:2013-01-16_02.09.06.png]
V2: http://pastebin.com/TpA6LdJJ or use
with Version 2 i have made it so that torch placing is now configable
look for local torch = 10 this will place a torch down every 10 blocks change the 10 to what ever you want it to be
also when a turtle is done or the program canaceled the count is reduced to 0 again so he will start all over when placing torches
Older Version are in the spoiler
anyway i can improve on the code please post below im looking for better ways to do codeing as im still very new to lua
he will dig a 3X3 tunnel it will also place torches every 10 blocks u must have an ender chest for this to work place the ender chest in Slot 14 torches in 15 and fuel in 16 if u dont put torches in slot 15 u will not get errors he will just not put them down the checking inventory isnt quite working the way i want it to atm but i will still be working on this code and updateing this post as i add/fix things Torches will be placed on the right of the turtle and when it places the ender chest down to drop off items it will place it on the left
[attachment=923:2013-01-16_02.09.06.png]
V2: http://pastebin.com/TpA6LdJJ or use
pastebin get TpA6LdJJ
with Version 2 i have made it so that torch placing is now configable
look for local torch = 10 this will place a torch down every 10 blocks change the 10 to what ever you want it to be
also when a turtle is done or the program canaceled the count is reduced to 0 again so he will start all over when placing torches
Older Version are in the spoiler
anyway i can improve on the code please post below im looking for better ways to do codeing as im still very new to lua
Edited on 20 January 2013 - 02:49 PM