From e752e31a36aa1686a54adc7b922bd350423b49f6 Mon Sep 17 00:00:00 2001 From: tonyguidice <155177929+tonyguidice@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:05:14 -0500 Subject: [PATCH] Update shape.lic Adding support for worn trashcans --- shape.lic | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shape.lic b/shape.lic index 476cc8c27a..3cf6ae1b6a 100644 --- a/shape.lic +++ b/shape.lic @@ -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 @@ -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