Skip to content

Commit

Permalink
Merge pull request #6866 from dantiadr/master
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtraDR authored Jul 16, 2024
2 parents 39fbb77 + 80fd603 commit c729559
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alchemy.lic
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class Alchemy
waitrt?
end
quantity_needed -= 6 # Forage forages 6 units.
fput("put my #{ingredient['name']} in my #{@alchemy_herb_storage}")
DRCI.put_away_item?(ingredient['name'], @alchemy_herb_storage)
# Track the count down to make sure it stops when enough foraged.
echo("quantity_needed = #{quantity_needed}") if @debug
end
Expand All @@ -107,9 +107,9 @@ class Alchemy
f_stack = DRC.bput("count my first #{ingredient['output']}", 'You count out \d+ pieces').scan(/\d+/).first.to_i
s_stack = DRC.bput("count my second #{ingredient['output']}", 'I could not find', 'You count out \d+ pieces').scan(/\d+/).first.to_i
if f_stack == 75
DRC.bput("stow my first #{ingredient['output']}", "You put")
DRCI.put_away_item?("first #{ingredient['output']}", @herb_container)
elsif s_stack == 75
DRC.bput("stow my second #{ingredient['output']}", "You put", "Stow what?")
DRCI.put_away_item?("second #{ingredient['output']}", @herb_container)
end
end
end
Expand Down

0 comments on commit c729559

Please sign in to comment.