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

Lazy Nub Tunneller

Started by LazyNub, 02 June 2013 - 05:28 AM
LazyNub #1
Posted 02 June 2013 - 07:28 AM
Lazy Nub Tunneller v0.03

Will tell your turtle how to build
an amazingly wonderful tunnel for you,
with torch and chest placement if requested.

Chest(s) slot = 14
Fuel slot = 15
Torch(s) slot = 16

Minimum Length = 1
Width = 1
Height = 3

If you wish to skip the UI and start tunneller with commands directly
the format is:

<program name> <Length> <Width> <Height> [Torch Distance]

ie: lnt 16 1 3 6

This would start the tunnel with a length of 16 width of 1
height of 3 and torches spaced 6 apart. The torches can be
omitted from the line and none will be placed.

With this option tunneller assumes you have enough fuel and torches in place.
If you use the command line method it will assume you wish to use chests if the
chest slot is occupied.

If any of your numbers fail the limits of the program it will
default to normal UI operation.

ComputerCraft Posting: http://www.computerc...-nub-tunneller/
PasteBin: http://pastebin.com/xjsLsCZ9
YouTube: [media]http://youtu.be/DVF4VAfNfio[/media]

Load into turtle with:
pastebin get xjsLsCZ9 lnt

Then start it with:
lnt

Changes:
June 2 - Released v0.01
June 3 - UI fixes command line option added v0.02
June 4 - Added inventory drop-off v0.03
Edited on 04 June 2013 - 05:46 AM
Duros1394 #2
Posted 03 June 2013 - 10:26 AM
Gonna load this up when I get in 2 questions however

Will you add a resource drop off option?

Does it identify sulfur and aluminium torches as place able?
unobtanium #3
Posted 03 June 2013 - 10:42 AM
Does it identify sulfur and aluminium torches as place able?

From what i know and saw, i can say that the turtle can place all blocks even from other mods.
Blocks, which have a rotation on them e.g. stairs, have to be placed specially.
Some blocks from other mods can be destroyed, but dont picked up e.g. buildcraft pipes.
Conclusion: Nothing should go wrong with other kind of torches ;D
LazyNub #4
Posted 03 June 2013 - 07:01 PM
If you put it in the torch slot (16) the turtle will indeed drop it at the specified distances..

Yes I plan to add a resource drop option. I planned it for v0.02 but I got caught up in

the UI stuff and had to postpone. The next version will drop chests. I didn't originally intend

it to be a useful miner. I was just wanting a tunnel/room builder so I could easily make

hallways and rooms for my underground fortresses. Hahaha
LazyNub #5
Posted 04 June 2013 - 07:47 AM
Okay, added the chest drop for those that wanted it. Just place chests in slot 14 and it will use them.

Also a video response to a question about what torches could be used.

http://youtu.be/NpXiJtdlm80

Anything you can place in the world you can put in the torch slot and have it place it down for you.