Lich:Thaumaturge Tome Script: Difference between revisions
Jump to navigation
Jump to search
(Created page with "This lich script was written with the help of Tysong. It's purpose is to automate the feeding of various types of scrolls to the Thaumature Tome. You will need to have a SCR...") |
MOD-GSMOTTE (talk | contribs) m (Added the third-party template to this script page.) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{3rd-party}} |
|||
This lich script was written with the help of Tysong. |
This lich script was written with the help of Tysong. Its purpose is to automate the feeding of various types of scrolls to the Thaumature Tome. You will need to have a SCROLLSACK set in variables. |
||
<pre{{log2}}> |
<pre{{log2}}> |
||
Line 16: | Line 17: | ||
def self.feed |
def self.feed |
||
waitrt? |
waitrt? |
||
result = dothistimeout "put ##{GameObj.left_hand.id} in ##{GameObj.right_hand.id}", 2, /lurches forward and splays its covers before slapping them shut around the|Apparently the tome is full./ |
|||
###YOU WILL NEED TO EDIT "JEWEL TOME" TO THE DESCRIPTION OF YOUR THAUMATURE TOME BELOW THIS LINE### |
|||
result = |
if result =~ /Apparently the tome is full./ |
||
if result =~ /Apparently the (.*) is full./ |
|||
fput "put ##{GameObj.left_hand.id} in #{Vars.scrollsack}" |
fput "put ##{GameObj.left_hand.id} in #{Vars.scrollsack}" |
||
return false |
return false |
||
Line 28: | Line 28: | ||
def self.main |
def self.main |
||
⚫ | |||
fput "store all" if ( !righthand.nil? ) or ( !lefthand.nil? ) |
fput "store all" if ( !righthand.nil? ) or ( !lefthand.nil? ) |
||
fput "stow all" if ( !righthand.nil? ) or ( !lefthand.nil? ) |
fput "stow all" if ( !righthand.nil? ) or ( !lefthand.nil? ) |
||
###YOU WILL NEED TO EDIT "JEWEL TOME" TO THE DESCRIPTION OF YOUR THAUMATURE TOME BELOW THIS LINE### |
|||
fput "get jewel tome" |
fput "get jewel tome" |
||
⚫ | |||
exit unless self.scroll |
exit unless self.scroll |
||
exit unless self.feed |
exit unless self.feed |
||
Line 39: | Line 38: | ||
self.main |
self.main |
||
end |
end |
||
</pre> |
|||
==See Also== |
|||
*[[Thaumaturge Tome]] |
|||
[[Category:Scripts]] |
Latest revision as of 09:56, 11 June 2023
Lich:Thaumaturge Tome Script is a third party script and is not maintained by Simutronics. Simutronics is not responsible for the accuracy of the information presented on this page, nor is it liable for issues stemming from the use of the application on players' personal devices.
This lich script was written with the help of Tysong. Its purpose is to automate the feeding of various types of scrolls to the Thaumature Tome. You will need to have a SCROLLSACK set in variables.
module ThaumaturgeTome def self.scroll scroll_types = ['scroll', 'parchment', 'paper', 'papyrus', 'vellum', 'palimpsest'] scroll_types.each { |type| waitrt? result = dothistimeout "get #{type} from #{Vars.scrollsack}", 2, /You slip|Get what/ return true if result =~ /You slip/ } return false end def self.feed waitrt? result = dothistimeout "put ##{GameObj.left_hand.id} in ##{GameObj.right_hand.id}", 2, /lurches forward and splays its covers before slapping them shut around the|Apparently the tome is full./ if result =~ /Apparently the tome is full./ fput "put ##{GameObj.left_hand.id} in #{Vars.scrollsack}" return false elsif result =~ /lurches forward and splays its covers before slapping them shut around the/ return true end return false end def self.main loop do fput "store all" if ( !righthand.nil? ) or ( !lefthand.nil? ) fput "stow all" if ( !righthand.nil? ) or ( !lefthand.nil? ) fput "get jewel tome" exit unless self.scroll exit unless self.feed end end self.main end