Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eloot] v2.0.10 bugfix for box inhand and full locksmith pool #1737

Merged
merged 2 commits into from
Jan 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions scripts/eloot.lic
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
wiki: https://gswiki.play.net/Lich:Script_Eloot
game: Gemstone
tags: loot
version: 2.0.9
version: 2.0.10
Improvements:
Major_change.feature_addition.bugfix
v2.0.10 (2025-01-11)
- bugfix for box inhand and full locksmith pool
v2.0.9 (2025-01-01)
- bugfix for locksmith pool box list
v2.0.8 (2024-12-21)
Expand Down Expand Up @@ -5708,6 +5710,9 @@ module ELoot
end

def self.locksmith_pool(boxes, deposit = false)
# are we starting with a box in hand?
box_in_hand = [GameObj.right_hand, GameObj.left_hand].any? { |hand| hand&.type =~ /box/ }

# make sure some type of tipping was selected
unless ELoot.data.settings[:use_standard_tipping] || ELoot.data.settings[:use_incremental_tipping]
ELoot.msg(type: "yellow", text: ' No tipping options selected in UI')
Expand Down Expand Up @@ -5792,7 +5797,7 @@ module ELoot
redo_needed = true
when /already holding as many boxes/
ELoot.wait_rt
Inventory.single_drag(box)
Inventory.single_drag(box) unless box_in_hand
ELoot.msg(type: "yellow", text: " That was the last spot open in the pool")
return true if deposit

Expand Down
Loading