makes Leave One Pest Alive work with multiple plots - #84
Merged
Conversation
jizu1
force-pushed
the
fix/leave-one-pest
branch
from
August 3, 2026 20:44
2d2372b to
b3447ec
Compare
mizly
added a commit
that referenced
this pull request
Aug 3, 2026
Add Ballsack Shredder support + various bug fixes - add ballsack shredder support (#82) - fixed rare case where double GUI opens would interfere with macro (#82) - retargets if we accidentally hit a close by visitor (#82) - continue farming and retries later if we fail to /setspawn (#83) - improved Leave One Pest Alive to work with multiple plots better (#84)
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.
Tracks plots with 1 pest that are in the allowlist so it doesn't waste time tping to them them when it clears pests (will untrack it if there's chat messages says new pests spawned there and then track it again when it kills all but one in that plot)
uses scoreboard pest count to calculate how many pests need to be killed in leave-one plots (also counts kills before the scoreboard updates after warps in case you tp to a plot and kill a pest before the plot's pest count shows up on scoreboard.)
prioritizes clustered pests and reserves the most isolated pest so that you won't accidentally kill all the pests in a plot (as frequently, probably not possible to fully avoid because max vacuum has pretty big range)