-- This program digs a mining stairs with a five levels down per filght of stairs
-- Pastebin code = ""; Pastebin name is "MDC_Mining_Stairs"
-- This program assumes that you place the turtle down on the forward end of the upper pad (a 2 stone x 2 stone)
-- Place coal into Turtle slow #1 to assure adequate fueling
-- This program begins by asking you to indicate whether you want to cut an upper hall (H response) or stairs (S response)
if turtle.getFuellevel() < 200 then
refuel 3
end
print( "Enter either S or H for Stairs or Hallway mining")
local tArgs = { ... } -- Obtain indicator of either H: Hallway cutting or S: Stairway cuttaing
if tArgs ~= ( "S" or "H") then
print( "You must respond with either a H for Hallway cutting or a S for Stairway cutting." )
elseif
local cut_type = tArgs([1])
return
end
local disired_length = 5 + 2