<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gswiki-archive.gs-game.uk/index.php?action=history&amp;feed=atom&amp;title=Lich%3AThaumaturge_Tome_Script</id>
	<title>Lich:Thaumaturge Tome Script - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gswiki-archive.gs-game.uk/index.php?action=history&amp;feed=atom&amp;title=Lich%3AThaumaturge_Tome_Script"/>
	<link rel="alternate" type="text/html" href="https://gswiki-archive.gs-game.uk/index.php?title=Lich:Thaumaturge_Tome_Script&amp;action=history"/>
	<updated>2026-11-12T02:08:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://gswiki-archive.gs-game.uk/index.php?title=Lich:Thaumaturge_Tome_Script&amp;diff=9817&amp;oldid=prev</id>
		<title>imported&gt;MOD-GSMOTTE: Added the third-party template to this script page.</title>
		<link rel="alternate" type="text/html" href="https://gswiki-archive.gs-game.uk/index.php?title=Lich:Thaumaturge_Tome_Script&amp;diff=9817&amp;oldid=prev"/>
		<updated>2023-06-11T15:56:05Z</updated>

		<summary type="html">&lt;p&gt;Added the third-party template to this script page.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{3rd-party}}&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre{{log2}}&amp;gt;&lt;br /&gt;
module ThaumaturgeTome&lt;br /&gt;
  def self.scroll&lt;br /&gt;
    scroll_types = [&amp;#039;scroll&amp;#039;, &amp;#039;parchment&amp;#039;, &amp;#039;paper&amp;#039;, &amp;#039;papyrus&amp;#039;, &amp;#039;vellum&amp;#039;, &amp;#039;palimpsest&amp;#039;]&lt;br /&gt;
    &lt;br /&gt;
    scroll_types.each { |type|&lt;br /&gt;
      waitrt?&lt;br /&gt;
      result = dothistimeout &amp;quot;get #{type} from #{Vars.scrollsack}&amp;quot;, 2, /You slip|Get what/&lt;br /&gt;
      return true if result =~ /You slip/&lt;br /&gt;
    }&lt;br /&gt;
    return false&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
  def self.feed&lt;br /&gt;
    waitrt?&lt;br /&gt;
    result = dothistimeout &amp;quot;put ##{GameObj.left_hand.id} in ##{GameObj.right_hand.id}&amp;quot;, 2, /lurches forward and splays its covers before slapping them shut around the|Apparently the tome is full./&lt;br /&gt;
    if result =~ /Apparently the tome is full./&lt;br /&gt;
      fput &amp;quot;put ##{GameObj.left_hand.id} in #{Vars.scrollsack}&amp;quot;&lt;br /&gt;
      return false&lt;br /&gt;
    elsif result =~ /lurches forward and splays its covers before slapping them shut around the/&lt;br /&gt;
      return true&lt;br /&gt;
    end&lt;br /&gt;
    return false&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
  def self.main&lt;br /&gt;
    loop do&lt;br /&gt;
fput &amp;quot;store all&amp;quot; if ( !righthand.nil? ) or ( !lefthand.nil? )&lt;br /&gt;
fput &amp;quot;stow all&amp;quot; if ( !righthand.nil? ) or ( !lefthand.nil? )&lt;br /&gt;
fput &amp;quot;get jewel tome&amp;quot;&lt;br /&gt;
      exit unless self.scroll&lt;br /&gt;
      exit unless self.feed&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;br /&gt;
  &lt;br /&gt;
  self.main&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Thaumaturge Tome]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripts]]&lt;/div&gt;</summary>
		<author><name>imported&gt;MOD-GSMOTTE</name></author>
	</entry>
</feed>