Jump to content




tunnel mine -3x2 places chest when full


4 replies to this topic

#1 TheSwiftVlogger

  • Members
  • 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

#2 jakemg

  • Members
  • 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


#3 TheSwiftVlogger

  • Members
  • 10 posts

Posted 27 February 2014 - 11:35 PM

View Postjakemg, on 27 February 2014 - 01:40 AM, said:


  • 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 :).

#4 Jim

  • Members
  • 33 posts
  • Locationtekkit.craftersland.net:25567

Posted 02 March 2014 - 08:50 AM

Wow this program is exactly like my first program ever.

#5 MostwantedRBX

  • Members
  • 29 posts
  • LocationWell. 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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users