QoL: auto-confirm the farming tree-removal payment dialogue#517
Open
JogOnJohn wants to merge 1 commit into
Open
QoL: auto-confirm the farming tree-removal payment dialogue#517JogOnJohn wants to merge 1 commit into
JogOnJohn wants to merge 1 commit into
Conversation
Add an "Auto Pay Tree Removal" toggle (Dialogue section, default on) that selects 'Yes.' on the "Pay X Coins to have your tree chopped down?" prompt, so farm runs don't wait on a manual click. Matched on the question title (widget 219,1 index 0, verified live via the agent server) rather than the option text, so it can never fire on unrelated Yes/No dialogues; the coin amount is intentionally not matched. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Adds an Auto Pay Tree Removal toggle to the Quality of Life plugin (Dialogue section, default on). When enabled, it auto-selects "Yes." on the farming "Pay X Coins to have your tree chopped down?" prompt so farm runs don't stall on a manual click.
How
autoPayTreeRemoval()config item inQoLConfig(Dialogue section, default on).handleTreeRemovalPayment()inQoLScriptfires only when already in a dialogue and the question title matches"to have your tree chopped down", then clicks the "Yes" option.Testing
./gradlew compileQualityoflifeJavapasses against client 2.6.12.Scope
Single feature, 2 files (
QoLConfig.java,QoLScript.java), +26 lines. No behaviour change when the toggle is off.