Update README.md

This commit is contained in:
Clarth 2024-01-23 16:43:22 -05:00
parent 668da571d6
commit 83c73e3681
1 changed files with 17 additions and 17 deletions

View File

@ -128,19 +128,24 @@ C \_ |
\-promptAll: This is the opposite of -Default, it prompts for everything \-promptAll: This is the opposite of -Default, it prompts for everything
\-manualPos: \[xPos\] \[zPos\] \[yPos\] \[facing\] This is for advanced use. If the server reset when the turtle was in the middle of a 100x100x100 quarry, fear not, you can now manually set the position of the turtle. yPos is always positive. The turtle's starting position is 0, 1, 1, 0. Facing is measured 0 - 3. 0 is forward, and it progresses clockwise. Example- "-manualPos 65 30 30 2" \-manualPos: \[xPos\] \[zPos\] \[yPos\] \[facing\] This is for advanced use. If the server reset when the turtle was in the middle of a 100x100x100 quarry, fear not, you can now manually set the position of the turtle. yPos is always positive. The turtle's starting position is 0, 1, 1, 0. Facing is measured 0 - 3. 0 is forward, and it progresses clockwise. Example- "-manualPos 65 30 30 2"
\-help: Thats what this is ![:D](https://www.computercraft.info/forums2/public/style_emoticons/default/biggrin.png) \-help: Thats what this is ![:D](https://www.computercraft.info/forums2/public/style_emoticons/default/biggrin.png)
Examples: Everything below is examples and tips for use
## Examples: Everything below is examples and tips for use
Important Note: Important Note:
None of the above parameters are necessary. They all have default values, and the above are just if you want to change them. None of the above parameters are necessary. They all have default values, and the above are just if you want to change them.
Examples \[1\]: ### Examples \[1\]:
Want to just start a quarry from the interface, without going through menus? It's easy! Just use some parameters. Assume you called the program "quarry." To start a 10x6x3 quarry, you just type in "quarry -dim 10 6 3 -default". Want to just start a quarry from the interface, without going through menus? It's easy! Just use some parameters. Assume you called the program "quarry." To start a 10x6x3 quarry, you just type in "quarry -dim 10 6 3 -default".
You just told it to start a quarry with dimensions 10x6x3, and "-default" means it won't prompt you about invert or rednet. Wasn't that easy? You just told it to start a quarry with dimensions 10x6x3, and "-default" means it won't prompt you about invert or rednet. Wasn't that easy?
Examples \[2\]: ### Examples \[2\]:
Okay, so you've got the basics of this now, so if you want, you can type in really long strings of stuff to make the quarry do exactly what you want. Now, say you want a 40x20x9, but you want it to go down to diamond level, and you're on the surface (at y = 64). You also want it to send rednet messages to your computer so you can see how its doing. Okay, so you've got the basics of this now, so if you want, you can type in really long strings of stuff to make the quarry do exactly what you want. Now, say you want a 40x20x9, but you want it to go down to diamond level, and you're on the surface (at y = 64). You also want it to send rednet messages to your computer so you can see how its doing.
Examples \[2\] \[cont.\]: ### Examples \[2\] \[cont.\]:
Oh yeah! You also want it to use an ender chest in slot 12 and restart if the server crashes. Yeah, you can do that. You would type Oh yeah! You also want it to use an ender chest in slot 12 and restart if the server crashes. Yeah, you can do that. You would type
"quarry -dim 40x20x9 -invert false -startDown 45 -rednet true -enderChest 12 -restore" "quarry -dim 40x20x9 -invert false -startDown 45 -rednet true -enderChest 12 -restore"
BAM. Now you can just let that turtle do it's thing BAM. Now you can just let that turtle do it's thing
Tips:
## Tips:
The order of the parameters doesn't matter. "quarry -invert false -rednet true" is the same as "quarry -rednet true -invert false" The order of the parameters doesn't matter. "quarry -invert false -rednet true" is the same as "quarry -rednet true -invert false"
Capitalization doesn't matter. "quarry -iNVErt FALSe" does the same thing as "quarry -invert false" Capitalization doesn't matter. "quarry -iNVErt FALSe" does the same thing as "quarry -invert false"
@ -152,19 +157,18 @@ Tips \[cont.\]:
If you are playing with fuel turned off, the program will automatically change settings for you so you don't have to ![:D](https://www.computercraft.info/forums2/public/style_emoticons/default/biggrin.png) If you are playing with fuel turned off, the program will automatically change settings for you so you don't have to ![:D](https://www.computercraft.info/forums2/public/style_emoticons/default/biggrin.png)
If you want, you can load this program onto a computer, and use "quarry -help" so you can have help with the parameters whenever you want. If you want, you can load this program onto a computer, and use "quarry -help" so you can have help with the parameters whenever you want.
Internal Config:
## Internal Config:
At the top of this program is an internal configuration file. If there is some setup that you use all the time, you can just change the config value at the top and run "quarry -default" for a quick setup. At the top of this program is an internal configuration file. If there is some setup that you use all the time, you can just change the config value at the top and run "quarry -default" for a quick setup.
You can also use this if there are settings that you don't like the default value of. You can also use this if there are settings that you don't like the default value of.
**Use:**
Now that everything is configurable by argument, there is more to the use section that you should know.
Spoiler
Usage for Ore Quarry: ## Usage for Ore Quarry:
Spoiler
Usage: Usage:
Just run with parameter "-oreQuarry true" and it will automatically mine everything but items in its blacklist. Just run with parameter "-oreQuarry true" and it will automatically mine everything but items in its blacklist.
@ -185,16 +189,12 @@ Happy Mining! ![:)](https://www.computercraft.info/forums2/public/style_emoticon
3\. Check "quarry -help" or "quarryReceiver -help" for usage 3\. Check "quarry -help" or "quarryReceiver -help" for usage
4\. In the quarry, you can make parameter files! See the below example for details. 4\. In the quarry, you can make parameter files! See the below example for details.
How to make Parameter Files: ## How to make Parameter Files:
Example Parameter File (named "basic") Example Parameter File (named "basic")
type type
```
edit basic
```
Spoiler
``` ```
# Starting a line with a single pound sign (hashtag) denotes a comment# You can have comments anywhere, but they don't work at the end of parameter lines#This file will be a "basic" file that holds all the things I like to change as default#I want my turtles to always refuel themselves when done, but only to about half maxdoRefuel truemaxFuel 100000#I prefer to always have a chest belowchest bottom#I always want maxTries to be really large, I don't like logging mining runs, and I want more than twice the fuel necessary#I can do multiple parameters on one line if I use dashes-maxTries 100000 -logging false -fuelMultiplier 2.2#I also want to prompt whether to do an oreQuarry or notforcePrompt oreQuarry#Now when you run this it will ask you "Ore Quarry?" just like it asks you "Invert?" or "Length?" # Starting a line with a single pound sign (hashtag) denotes a comment# You can have comments anywhere, but they don't work at the end of parameter lines#This file will be a "basic" file that holds all the things I like to change as default#I want my turtles to always refuel themselves when done, but only to about half maxdoRefuel truemaxFuel 100000#I prefer to always have a chest belowchest bottom#I always want maxTries to be really large, I don't like logging mining runs, and I want more than twice the fuel necessary#I can do multiple parameters on one line if I use dashes-maxTries 100000 -logging false -fuelMultiplier 2.2#I also want to prompt whether to do an oreQuarry or notforcePrompt oreQuarry#Now when you run this it will ask you "Ore Quarry?" just like it asks you "Invert?" or "Length?"
@ -216,7 +216,7 @@ quarry -file basic -dim 16 16 64 -flatBedrock true -default
When the shell is done, there will be a cool gui to load and make your own config files ![:)](https://www.computercraft.info/forums2/public/style_emoticons/default/smile.png)/>\[/spoiler\] When the shell is done, there will be a cool gui to load and make your own config files ![:)](https://www.computercraft.info/forums2/public/style_emoticons/default/smile.png)/>\[/spoiler\]
**Download:** ## Download:
Version 3.6.4 (**this goes on the turtle**): Version 3.6.4 (**this goes on the turtle**):
[http://pastebin.com/rpXRAZs4](http://pastebin.com/rpXRAZs4 "External link") [http://pastebin.com/rpXRAZs4](http://pastebin.com/rpXRAZs4 "External link")
Version 3.6.5 Rednet Companion Program (this goes on computer, compatible with 3.5.2 - current): Version 3.6.5 Rednet Companion Program (this goes on computer, compatible with 3.5.2 - current):