Posted 20 September 2016 - 03:22 AM
Place turtle at leftmost facing out, you're at the top.
Have room for three columns: two for ladders, one for torches.
Beginning of video below makes it more clear
Or:
Type the program name by itself or with -h or –help for usage instructions.
Edit: I want to make sure I'm giving enough credit to Admicos, for his post where I first learned about a crucial component, getopt.
[media]http://youtu.be/KO7u-RHBm0c[/media]
Have room for three columns: two for ladders, one for torches.
Beginning of video below makes it more clear
pastebin get Dc68iwEQ wallSherpa
Or:
wget https://raw.githubusercontent.com/rdalkire/computercraft-programs/master/turtleApps/deploy/wallSherpaCompiled.lua wallSherpa
Type the program name by itself or with -h or –help for usage instructions.
wallSherpa: This is for after you've used the excavate script, and you have a deep hole in front of you. Finds out how many ladders and torches you need, and places them.
Use turtle's Y coord as the argument to go all the way to bedrock
USAGE: wallSherpa [options] [arg(s)]
Options:
--stay (-s): Stay and don't come back.
--torchInterval (-i) [<num>]: Define Interval between torches. Default is 5
--up (-u): go Up instead.
--bedrock (-b [<true|false>]: go all the way to Bedrock (true if not specified and going down. If going up, this isn't applicable).
--gap (-g) [<true|false>]: stop at the first Gap (If not specified, defaults true going up, false going down).
Edit: I want to make sure I'm giving enough credit to Admicos, for his post where I first learned about a crucial component, getopt.
[media]http://youtu.be/KO7u-RHBm0c[/media]
Edited on 23 September 2016 - 10:54 PM