Posted 17 August 2013 - 03:34 PM
This is a project that started with me needing to mine some obsidian a little more quickly, when I had a mining turtle but no diamond pickaxe. I wasn't much up for using the lua command prompt constantly, so I made this:
http://pastebin.com/hnmt5A2Y
The program automatically downloads an API I've made in order to condense some of the movement code. I've provided a link to said API in the comment within the pastebin. Unfortunately; this program requires you to be pretty close to the turtle, as you have to use the turtle's console. I'm trying to port this to a wireless-computer modem deal, but struggling so far.
Here's a full list of commands:
Lower-case WASD moves forward and turns in the expected directions.
Capitalised keys "A" and "D" turn the turtle and move it one block in that direction.
Capitalised "S" Turns the turtle a half turn and moves one block in that direction.
"e" moves the turtle down one block. "q" moves the turtle up one block.
"z" digs the block above the turtle. "c" digs below. "x" digs in front.
"p" will place the block in the selected slot in front of the turtle.
"f" displays the current fuel level. "F" refuels the turtle from the currently selected slot of the turtle.
The numbers 1 through to 0 select slots 1-10. To select 11 through 16, simply press it's single digit counterpart and shift; eg. '!' = 11 '$' = 14 etc.
"r" toggles a redstone signal.
Thanks for reading! Feedback, feature ideas, help with the computer porting, all welcome!
http://pastebin.com/hnmt5A2Y
The program automatically downloads an API I've made in order to condense some of the movement code. I've provided a link to said API in the comment within the pastebin. Unfortunately; this program requires you to be pretty close to the turtle, as you have to use the turtle's console. I'm trying to port this to a wireless-computer modem deal, but struggling so far.
Here's a full list of commands:
Lower-case WASD moves forward and turns in the expected directions.
Capitalised keys "A" and "D" turn the turtle and move it one block in that direction.
Capitalised "S" Turns the turtle a half turn and moves one block in that direction.
"e" moves the turtle down one block. "q" moves the turtle up one block.
"z" digs the block above the turtle. "c" digs below. "x" digs in front.
"p" will place the block in the selected slot in front of the turtle.
"f" displays the current fuel level. "F" refuels the turtle from the currently selected slot of the turtle.
The numbers 1 through to 0 select slots 1-10. To select 11 through 16, simply press it's single digit counterpart and shift; eg. '!' = 11 '$' = 14 etc.
"r" toggles a redstone signal.
Thanks for reading! Feedback, feature ideas, help with the computer porting, all welcome!