Skip to content

Commit

Permalink
tinker - updated master crafting book support
Browse files Browse the repository at this point in the history
Updated master crafting book functionality to use new common-crafting method.
  • Loading branch information
BinuDR authored Aug 4, 2023
1 parent 4a02e32 commit b88ea0a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tinker.lic
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,12 @@ class Tinker
end
else
if @settings.master_crafting_book
DRC.bput("turn my #{@settings.master_crafting_book} to discipline tinkering", 'You turn the')
DRC.bput("turn my #{@settings.master_crafting_book} to page #{DRCC.find_recipe(@chapter, @recipe_name, @settings.master_crafting_book)}", 'You turn your', 'The .* is already')
DRC.bput("study my #{@settings.master_crafting_book}", 'Roundtime')
DRCC.find_recipe2(@chapter, @recipe_name, @settings.master_crafting_book, "tinkering")
else
DRCC.get_crafting_item("tinkering book", @bag, @bag_items, @belt)
echo('*** You will need to upgrade to a journeyman or master book before 176 ranks! ***') if DRSkill.getrank('Engineering') == 175
DRC.bput("turn my book to page #{DRCC.find_recipe(@chapter, @recipe_name)}", 'You turn your', 'The book is already')
DRC.bput('study my book', 'Roundtime')
DRCC.find_recipe2(@chapter, @recipe_name)
DRCC.stow_crafting_item("tinkering book", @bag, @belt)
end
end
if @chapter == 8
Expand Down

0 comments on commit b88ea0a

Please sign in to comment.