<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.kolmafia.us/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Padth</id>
	<title>Kolmafia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kolmafia.us/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Padth"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Special:Contributions/Padth"/>
	<updated>2026-04-25T03:18:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Tavern&amp;diff=5187</id>
		<title>Tavern</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Tavern&amp;diff=5187"/>
		<updated>2014-07-28T13:55:50Z</updated>

		<summary type="html">&lt;p&gt;Padth: Previous information was way wrong&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{&lt;br /&gt;
#vardefine:name|tavern}}{{&lt;br /&gt;
#vardefine:return_type|int}}{{&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={{#var:return_type}}|&lt;br /&gt;
return_also={{#var:return_also}}|&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function2={{Function|&lt;br /&gt;
name={{#var:name}}|&lt;br /&gt;
aggregate={{#var:aggregate}}|&lt;br /&gt;
return_type={{#var:return_type}}|&lt;br /&gt;
return_also={{#var:return_also}}|&lt;br /&gt;
parameter1={{Param|string|target}}|&lt;br /&gt;
p1desc={{Pspan|target}} is the (optional) target destination (one of &amp;quot;faucet&amp;quot;, &amp;quot;baron&amp;quot;, &amp;quot;fight&amp;quot;, or &amp;quot;explore&amp;quot;.)  Defaults to &amp;quot;faucet&amp;quot;.|&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function_description=Attempts to complete the level 3 tavern quest, stopping when it has reached the target specified. &amp;quot;faucet&amp;quot; and &amp;quot;baron&amp;quot; will find the faucet and the baron respectively, &amp;quot;fight&amp;quot; will find and fight the baron, and &amp;quot;explore&amp;quot; will explore the entire cellar.  Returns the square the faucet or baron is found in, 0 if &amp;quot;explore&amp;quot; is chosen, or -1 if an error is encountered.&lt;br /&gt;
&amp;amp;nbsp;|&lt;br /&gt;
&lt;br /&gt;
code1={{CodeSample|&lt;br /&gt;
title=Code Sample|&lt;br /&gt;
description=Solve the Typical Tavern.|&lt;br /&gt;
code=&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
int square = tavern();&lt;br /&gt;
if(get_property(&amp;quot;tavernLayout&amp;quot;).contains_text(&amp;quot;3&amp;quot;)) {&lt;br /&gt;
   print(&amp;quot;Found the Rat Faucet in square &amp;quot; + square);&lt;br /&gt;
   if(available_amount($item[Baron von Ratsworth&#039;s monocle]) == 0&lt;br /&gt;
    &amp;amp;&amp;amp; available_amount($item[Baron von Ratsworth&#039;s money clip]) == 0&lt;br /&gt;
    &amp;amp;&amp;amp; available_amount($item[Baron von Ratsworth&#039;s tophat]) == 0&lt;br /&gt;
    &amp;amp;&amp;amp; user_confirm(&amp;quot;Do you want to fight Baron Von Ratsworth?&amp;quot;)) {&lt;br /&gt;
     tavern(&amp;quot;fight&amp;quot;);&lt;br /&gt;
   }&lt;br /&gt;
} else print(&amp;quot;Did not find the rat faucet.&amp;quot;, &amp;quot;red&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
see_also={{SeeAlso|chamber|entryway|guardians|hedgemaze}}|&lt;br /&gt;
cli_equiv=The CLI commands &amp;quot;tavern&amp;quot; and &amp;quot;baron&amp;quot; function similarly.|&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Adventuring]]&lt;/div&gt;</summary>
		<author><name>Padth</name></author>
	</entry>
</feed>