Bomb Bloke, on 04 February 2016 - 12:41 AM, said:
if not DNMineTbl[insepctionData.name] then
turtle.dig()
This code digs if the found block isn't in the "do not mine" table. Since stone is in that table, and most of the underground consists of stone, the turtle won't be able to progress very far - it's not allowed to clear a path through the stuff!
bedrockCheck = turtle.inspectDown()
if bedrockCheck ~= "minecraft:bedrock" then
Take another look at the example Lignum gave you for turtle.inspect(); it also applies to
turtle.inspectDown(). Here you've got things setup so that "bedrockCheck" will only ever be true or false, never a string.
The DNMineTbl is only for the walls, the turtle digs down regardless of the block under it hence the bedrockCheck, i have changed added what Lignum said to the inspectDown() but still the program isnt working correct, if it detects 1 things that isnt on the Table then it will mine all 4 walls regardless to whats on it
The_Cat, on 04 February 2016 - 12:53 AM, said:
Bomb bloke,
Beet me to it.
You might also want to look at how you are defining your functions and the order that they are in.

shouldnt matter what order the functions are in becouse the functions are all read then called.
EDIT: my bad, the endPos works now that i moved it above checkWalls(), never had that happen to me before
Edited by Mr_Programmer, 04 February 2016 - 01:04 AM.