This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
flaunting's profile picture

Mining Level digger

Started by flaunting, 21 April 2016 - 08:48 AM
flaunting #1
Posted 21 April 2016 - 10:48 AM
Hello everyone,

This is my first post and also my very first program I have written.

It is a simple program to mine down to any Y coordinate and place ladders for the player to get up and down. intended for when you want to get down to a certain mining level without the need to manually mine down yourself.

I intend to add an option to mine up for when you get stuck in a cave.

I apologise if the code isn't great but this is my first time ever programming anything.

pastebin - 5cNWzCL4

make sure the turtle has enough fuel (the program will warn you if you have less than 100)

place ladders in slot 1

run the program

It will ask for your current y and your desired y coordinate

once entered the turtle will run.



flaunting #2
Posted 21 April 2016 - 04:25 PM
hey guys, so I have now updated the code and the turtle will now ladder both up and down depending on the Y levels you enter, it will also compensate for gravel and sand

new pastebin is LqSgxY0c