10 posts
Posted 25 February 2014 - 08:14 AM
Hey guys this is only my second code, (not sure if my first has been approved yet (im only new to this) basically, it mines a 3x1 tunnel continuously until it gets full, turns to the left places a chest and puts all items into it, then turns right and continues tunneling.
feedback welcome
Link:
http://pastebin.com/We1gzev1
88 posts
Posted 27 February 2014 - 01:40 AM
I was just reviewing your code and there seems to be one part of it that can cause u some issues in the future, the only problem is that if there is gravel above the block your turtle dries to dig out he is going to have issues placing the chest so I would advise adding while not turtle.place() do turtle.dig() end =) good luck
if turtle.getItemCount(16) ~= 0 then
turtle.turnLeft()
turtle.dig()
turtle.select(1)
turtle.place()
for i = 2,16 do
turtle.select(i)
turtle.drop()
end
10 posts
Posted 27 February 2014 - 11:35 PM
I was just reviewing your code and there seems to be one part of it that can cause u some issues in the future, the only problem is that if there is gravel above the block your turtle dries to dig out he is going to have issues placing the chest so I would advise adding while not turtle.place() do turtle.dig() end =) good luck
if turtle.getItemCount(16) ~= 0 then
turtle.turnLeft()
turtle.dig()
turtle.select(1)
turtle.place()
for i = 2,16 do
turtle.select(i)
turtle.drop()
end
thanks mate this i did run into this problem I now have fixed it :)/>.
47 posts
Location
tekkit.craftersland.net:25567
Posted 02 March 2014 - 08:50 AM
Wow this program is exactly like my first program ever.
29 posts
Location
Well. I suppose between here and there.
Posted 09 March 2014 - 02:42 AM
I'd like to try it, but it says the paste has been removed.