Skip to content

Commit

Permalink
[script] [clerk-tools] properly check crafting_items_in_container whe…
Browse files Browse the repository at this point in the history
…n storing tools

.
  • Loading branch information
vtcifer authored Sep 27, 2024
1 parent e14a657 commit d06fecb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clerk-tools.lic
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class Clerk
settings = get_settings
hometown = settings.force_crafting_town || settings.hometown
@bag = settings.crafting_container
@bag_items = settings.crafting_items_in_container

crafting_data = get_data('crafting')

Expand Down Expand Up @@ -75,7 +76,7 @@ class Clerk
echo roomnumber
DRCT.walk_to(roomnumber)
tools.each do |tool|
DRCC.get_crafting_item(tool, @bag, @belt, @belt)
DRCC.get_crafting_item(tool, @bag, @bag_items, @belt)
case DRC.bput("put #{tool} on counter", 'Feel free to come back for your item any time', "You don't have enough space in your storage")
when "You don't have enough space in your storage"
DRCC.stow_crafting_item(tool, @bag, @belt)
Expand Down

0 comments on commit d06fecb

Please sign in to comment.