Pick updated to support towns other than hometown/fang cove settings #6729
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The pick script has an option to automatically refill lockpicks in a lockpick ring once the number falls below 15. However, as only 5 towns have locksmith shops to purchase lockpicks, the script will fail to refill if your hometown isn't set to one of these towns.
This update creates a "refill_town" yaml setting. This setting allows players to manually specify a town (e.g., Hometown may be Hib, refill_town can be Shard) that will be used to refill the specified lockpick type in your lockpick ring. With this setting enabled, the script will not run to the refill_town specified, pull coins to purchase picks, buy the picks, then continue the script process.
The pick.lic script will default to using Hometown/Fang Cove overrides. If the refill_town setting is set, then it will use that instead. Players will need to ensure that if using the refill_town setting, that the town specified actually has the locksmith shop or the script will continue to fail.