From 78c9152160231da2a493a2afecb983a9ceebf1a7 Mon Sep 17 00:00:00 2001 From: MahtraDR <93822896+MahtraDR@users.noreply.github.com> Date: Tue, 5 Mar 2024 13:49:25 +1300 Subject: [PATCH] [scripts][common-items] Small tidying and error correction Empath link unity triggered false positives on get item success, now it doesn't. Skips filling pouch if you don't have the source to fill from. --- common-items.lic | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common-items.lic b/common-items.lic index 94f26ec1e3..73d5cdc6b6 100644 --- a/common-items.lic +++ b/common-items.lic @@ -63,7 +63,7 @@ module DRCI ] GET_ITEM_SUCCESS_PATTERNS = [ - /you draw/i, + /you draw (?!\w+'s wounds)/i, /^You get/, /^You pick/, /^You pluck/, @@ -1169,9 +1169,13 @@ module DRCI /is too full to fit/, /^You'd better tie it up before putting/, /You'll need to tie it up before/, + /Please rephrase that command/, 'What were you referring to', "There aren't any gems", 'You fill your') + when /Please rephrase that command/ + DRC.message("Container #{source_container} not found. Skipping fill") + return when /^You'd better tie it up before putting/, /You'll need to tie it up before/ # This is equivalent to a full pouch, unless we should tie pouches, in which case we tie and retry unless should_tie_gem_pouches