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

Wall Sherpa

Started by rdalkire, 20 September 2016 - 01:22 AM
rdalkire #1
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


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
LDDestroier #2
Posted 20 September 2016 - 12:30 PM
This looks kinda neat.


…the hell is a sherpa?
rdalkire #3
Posted 20 September 2016 - 05:51 PM
Thank you @EldidiStroyrr I hope it helps you get down to bedrock with less fuss.
The Sherpas are a people best known for their mountaineering skills. I've never met one myself but I guess if you want to climb a mountain in Nepal or Tibet, you can hire one to help you climb more safely. They go up ahead of you and place ladders and rope-lines and so forth I guess. I suspect they don't get paid enough, considering they're risking their own lives to make your own experience less risky. I could never do them justice by naming a turtle script after them but I tried to keep the quality high.

[who are the sherpas?](https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=who+are+the+sherpas)