Skip to content

Commit

Permalink
[scripts][tome] Add messaging for when doing magical research
Browse files Browse the repository at this point in the history
As per title.
  • Loading branch information
MahtraDR committed Dec 20, 2023
1 parent 643c88c commit b787d4d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tome.lic
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b787d4d

Please sign in to comment.