From b787d4d02e8bf1a4ba60a3f84b061701e1c150d0 Mon Sep 17 00:00:00 2001 From: MahtraDR <93822896+MahtraDR@users.noreply.github.com> Date: Thu, 21 Dec 2023 09:44:59 +1300 Subject: [PATCH] [scripts][tome] Add messaging for when doing magical research As per title. --- tome.lic | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tome.lic b/tome.lic index 6c01986490..06bfe51a36 100644 --- a/tome.lic +++ b/tome.lic @@ -101,12 +101,18 @@ class Tome DRC.safe_unpause_list @scripts_to_unpause if @passive next end - result = DRC.bput("study my #{@tome}", "You immerse yourself in the wisdom of your", "You are unable to focus on studying your", "However, you find that you lack the concentration to focus on your studies", "Considering that you are in combat,", "However, you realize that you were already reading this book") + result = DRC.bput("study my #{@tome}", + /^You immerse yourself in the wisdom of your/, + /^You are unable to focus on studying your/, + /^You must complete or cancel your current magical research project/, + /^Considering that you are in combat/, + /^However, you find that you lack the concentration to focus on your studies/) DRC.safe_unpause_list @scripts_to_unpause if @passive case result when /^You are unable to focus on studying your/, - /^However, you find that you lack the concentration to focus on your studies/, - /^Considering that you are in combat,/ + /^You must complete or cancel your current magical research project/, + /^Considering that you are in combat/, + /^However, you find that you lack the concentration to focus on your studies/ pause_scripts if @passive DRCI.stow_item?(@tome) DRC.safe_unpause_list @scripts_to_unpause if @passive