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

1.3 Sneak Peek

Started by rockymc, 04 February 2012 - 08:36 PM
rockymc #1
Posted 04 February 2012 - 09:36 PM
I've just found out an new feature in TurtleOS 1.3:


-- Dig down untill we can dig down no further
local depth = 0
local collected = 0
print( "Descending..." )
local function addDepth()
depth = depth + 1
if math.fmod( depth, 10 ) == 0 then
  print( "Descended "..depth.." meters.")
end
end
local reseal = false
if turtle.digDown() then
reseal = true
end
while true do
if turtle.down() then
  addDepth()
else
  if turtle.digDown() then
   collected = collected + 1
  end
  if turtle.down() then
   addDepth()
  else
   break
  end
end
end
print( "Returning to surface..." )

The program is called "well".

Casper7526 #2
Posted 04 February 2012 - 09:45 PM
That program doesn't exist anymore ;)/>/> there's a better one now ;)/>/>
usernametook #3
Posted 16 February 2012 - 08:20 AM
WHAA!? Whered you get the TurtleOS 1.3 i waaaannnttt iiitttt!
FuzzyPurp #4
Posted 16 February 2012 - 09:09 AM
WHAA!? Whered you get the TurtleOS 1.3 i waaaannnttt iiitttt!

Being from the same state as me, please don't kick & scream like that. :D/>/>
rockymc #5
Posted 16 February 2012 - 03:40 PM
It is dan's pic.