From f0bbb6830ba230ae223d2e31af3d22c7f3b3b4b5 Mon Sep 17 00:00:00 2001 From: Nyctus Date: Fri, 3 Nov 2023 13:21:23 -0700 Subject: [PATCH] Added compatibility for blank scrolls to common-items Added new match pattern to match_messages in count_item_parts() method --- common-items.lic | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common-items.lic b/common-items.lic index 75221ff505..7f8f7016fd 100644 --- a/common-items.lic +++ b/common-items.lic @@ -572,7 +572,8 @@ module DRCI /There's (?:only )?(.+) parts? left/, /The (?:.+) has (.+) uses remaining./, /There are enough left to create (.+) more/, - /You count out (.+) pieces? of material there/ + /You count out (.+) pieces? of material there/, + /There (?:is|are) (.+) scrolls? left for use with crafting/ ] count = 0 $ORDINALS.each do |ordinal|