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

[scripts][tinker]mechanism updates #6995

Merged
merged 2 commits into from
Nov 20, 2024
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
6 changes: 6 additions & 0 deletions tinker.lic
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ class Tinker
work("analyze my #{@noun}")
elsif args.mechanisms
DRCC.get_adjust_tongs?('reset shovel', @bag, @bag_items, @belt, true) if @settings.adjustable_tongs
if @bag_items == nil
@bag_items = ["mechanisms"]
else
@bag_items.push("mechanisms") unless @bag_items.any? { |item| /mechanism/.match(item) }
end
mechanisms(args)
else
DRCC.check_consumables('stain', @info['tool-room'], @info['stain-number'], @bag, @bag_items, @belt) unless args.skip
Expand Down Expand Up @@ -237,6 +242,7 @@ class Tinker
DRCI.stow_hands
exit
when /pulling on the gear press/
tool = 'pliers'
command = "pull my #{@noun} with press"
when /you are left with several complete mechanisms/
DRCC.stow_crafting_item(DRC.right_hand, @bag, nil)
Expand Down