<?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=Cure8</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=Cure8"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Special:Contributions/Cure8"/>
	<updated>2026-04-25T03:18:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Adv1&amp;diff=9509</id>
		<title>Adv1</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Adv1&amp;diff=9509"/>
		<updated>2026-01-19T13:21:00Z</updated>

		<summary type="html">&lt;p&gt;Cure8: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{&lt;br /&gt;
#vardefine:name|adv1}}{{&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={{#var:return_type}}|&lt;br /&gt;
return_also={{#var:return_also}}|&lt;br /&gt;
parameter1={{Param|location|place}}|&lt;br /&gt;
parameter2={{Param|int|turnsUsed}}|&lt;br /&gt;
parameter3={{Param|string|filterFunc}}|&lt;br /&gt;
p1desc={{Pspan|place}} is the adventuring location.|&lt;br /&gt;
p2desc={{Pspan|turnsUsed}} overrides the normal number of adventures that are expected to be consumed at this location, or -1 can be passed to use the default. Specifically, 0 will prevent any counters from triggering - of course, if an adventure actually is consumed, any counters that you kept from triggering will be lost.|&lt;br /&gt;
p3desc={{Pspan|filterFunc}} is a macro or the name of a combat filter function defined elsewhere in your script, with the same behavior as in the 3-paramater version of [[adventure]](). An empty string can be passed to use your battle action or CCS as normal.}}|&lt;br /&gt;
&lt;br /&gt;
function_description=This will adventure exactly once in the specified {{pspan|place}} (even if it took no turns), although it will follow chained choice adventures for as long as you have preset options.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;If {{Pspan|filter}} contains a semicolon it will use {{Pspan|filter}} as a macro.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;This function returns &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; if KoLmafia adventured successfully. It will return &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; if it cannot adventure for any reason:&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Not enough adventures&lt;br /&gt;
* Location is unavailable&lt;br /&gt;
* You are falling-down drunk&lt;br /&gt;
* If the adventure was successful, but KoLmafia was put into a PENDING state. This indicates that we might be done adventuring in this location, and usually occurs because we successfully finished a quest-related action in that zone.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;!-- Dummy paragraph to prevent {{CodeSample}} from being merged into the list --&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
|code1={{CodeSample|&lt;br /&gt;
title=Code Sample|&lt;br /&gt;
description=Adventures 1 time at the Slime Tube. If an adventure takes no turns, possibly because the Gall Bladder was already squeezed, that adventure will still count. Counters will trigger as normal.|&lt;br /&gt;
code=&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
adv1($location[slime tube], -1, &amp;quot;&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;}}|&lt;br /&gt;
&lt;br /&gt;
see_also={{SeeAlso|adventure|run_combat|run_choice}}|&lt;br /&gt;
cli_equiv=None - &amp;quot;adv&amp;quot; will always try adventuring again if an adventure took no turns. However, a slightly awkward workaround can be employed using the gCLI  command [[ash_(CLI)|ash]], though it&#039;s not exactly the same result due to that command&#039;s printing of return values.|&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Adventuring]]&lt;/div&gt;</summary>
		<author><name>Cure8</name></author>
	</entry>
</feed>