Skip to content

Commit

Permalink
Update shape.lic
Browse files Browse the repository at this point in the history
Adding support for worn trashcans
  • Loading branch information
tonyguidice committed Dec 29, 2023
1 parent da12336 commit e752e31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shape.lic
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ custom_require.call(%w[common common-arcana common-crafting common-items events]
class Shape
def initialize
@settings = get_settings
@worn_trashcan = @settings.worn_trashcan
@worn_trashcan_verb = @settings.worn_trashcan_verb
@bag = @settings.crafting_container
@bag_items = @settings.crafting_items_in_container
@belt = @settings.engineering_belt
Expand Down Expand Up @@ -250,7 +252,7 @@ class Shape
when /stow/
DRCC.stow_crafting_item(@noun, @bag, @belt)
when /trash/
DRCI.dispose_trash(@noun)
DRCI.dispose_trash(@noun, @worn_trashcan, @worn_trashcan_verb)
else
DRC.message("#{@noun} complete!")
end
Expand Down

0 comments on commit e752e31

Please sign in to comment.