<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.kolmafia.us/index.php?action=history&amp;feed=atom&amp;title=Visit</id>
	<title>Visit - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kolmafia.us/index.php?action=history&amp;feed=atom&amp;title=Visit"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Visit&amp;action=history"/>
	<updated>2026-04-30T16:56:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Visit&amp;diff=7505&amp;oldid=prev</id>
		<title>Bale: r9555</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Visit&amp;diff=7505&amp;oldid=prev"/>
		<updated>2011-07-20T06:04:06Z</updated>

		<summary type="html">&lt;p&gt;r9555&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{&lt;br /&gt;
#vardefine:name|visit}}{{&lt;br /&gt;
#vardefine:return_type|boolean}}{{&lt;br /&gt;
&lt;br /&gt;
FunctionPage|&lt;br /&gt;
name={{#var:name}}|&lt;br /&gt;
&lt;br /&gt;
function1={{Function|&lt;br /&gt;
name={{#var:name}}|&lt;br /&gt;
aggregate={{#var:aggregate}}|&lt;br /&gt;
return_type=boolean|&lt;br /&gt;
return_also={{#var:return_also}}|&lt;br /&gt;
parameter1={{Param|coinmaster|master}}|&lt;br /&gt;
p1desc={{pspan|master}} is the coinmaster to purchase from|&lt;br /&gt;
&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function_description=Visits a coinmaster to see what is currently for sale there. This is useful for coinmasters whose inventory may change, such as the Hermit, Mr. Store and Traveling Trader. Returns true if the visit was successful or false if it was unsuccessful.|&lt;br /&gt;
&lt;br /&gt;
code1={{CodeSample|&lt;br /&gt;
title=Code Sample|&lt;br /&gt;
description=This checks to see if a clover is currently available for purchase.|&lt;br /&gt;
code=&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
if(visit($coinmaster[Hermit])) {&lt;br /&gt;
   if(sells_item($coinmaster[Hermit], $item[ten-leaf clover])) &lt;br /&gt;
      print(&amp;quot;There is still a ten-leaf clover available to purchase today!&amp;quot;); &lt;br /&gt;
   else print(&amp;quot;The Hermit is out of clovers. :(&amp;quot;); &lt;br /&gt;
} else print(inaccessible_reason($coinmaster[Hermit]));&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
see_also={{SeeAlso|is_accessible|sells_item|buys_item}}|&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Item Management]]&lt;/div&gt;</summary>
		<author><name>Bale</name></author>
	</entry>
</feed>