Skip to content

Commit

Permalink
Merge pull request #6745 from MahtraDR/tome_add_messaging
Browse files Browse the repository at this point in the history
[scripts][tome] Add messaging for when doing magical research
  • Loading branch information
MahtraDR authored Dec 20, 2023
2 parents a74a12f + b787d4d commit fa881ff
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 fa881ff

Please sign in to comment.