Skip to content

Commit

Permalink
Added compatibility for blank scrolls to common-items
Browse files Browse the repository at this point in the history
Added new match pattern to match_messages in count_item_parts() method
  • Loading branch information
Nyctus committed Nov 3, 2023
1 parent 9b16f3e commit f0bbb68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common-items.lic
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit f0bbb68

Please sign in to comment.