Jump to content




3x3 tunnel

turtle

  • You cannot reply to this topic
4 replies to this topic

#1 svennp

  • Members
  • 23 posts
  • LocationFredrikstad

Posted 29 February 2012 - 02:45 PM

If you didn't already understand that this is for the turtle, it is.
the title says what it does, it mines a 3x3 hole the way its facing for as long as you set it to. (long = blocks, not a timer)
i did a rewrite of the whole script using functions and more loops.
should be a bit better now i think :unsure:/>/>
now it can handle more sand and gravel too, and returns to starting position when done

video:
Spoiler

the new script:
http://pastebin.com/vSWz3kdk


the old script (DON'T USE!):
Spoiler

Hope you like it!

#2 Ponder

  • New Members
  • 49 posts

Posted 01 March 2012 - 07:53 PM

Looks nice, but I'd advice you to try to put the whole digging part in the middle in a separate loop or a function. It'd make your code a little bit tidier and nicer.

#3 Tassadar12345

  • New Members
  • 2 posts

Posted 10 July 2012 - 05:55 PM

Nice, I am a shaft miner using redpower and computercraft so this is a great script for my automated mine.

View PostPonder, on 01 March 2012 - 07:53 PM, said:

Looks nice, but I'd advice you to try to put the whole digging part in the middle in a separate loop or a function. It'd make your code a little bit tidier and nicer.

He is right.

#4 timboiscool

  • Members
  • 19 posts

Posted 11 July 2012 - 10:46 AM

i suggest you put it in the subforum turtle programs.

on-topic: looks good.

#5 FireKave

  • New Members
  • 2 posts

Posted 23 December 2012 - 02:49 AM

i get an error on line 42 bios:338: [string "Tunnel"]:42: '=' expected

edit; i fixed it:) i just copy/pasted your script after i had typed the script mannualy myself





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users