<?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=Bigevildan</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=Bigevildan"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Special:Contributions/Bigevildan"/>
	<updated>2026-04-24T21:14:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Adventuring&amp;diff=908</id>
		<title>Adventuring</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Adventuring&amp;diff=908"/>
		<updated>2019-02-04T01:25:48Z</updated>

		<summary type="html">&lt;p&gt;Bigevildan: Fixed formatting on run_turn()&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Flink|boolean| adventure|int|location|desc=Visits the desired location the the desired number of times.}}&lt;br /&gt;
{{Flink|boolean| adventure|int|location|string|desc=Visits the desired location a specified number of times, using a combat filter function defined elsewhere in your script.}}&lt;br /&gt;
{{Flink|boolean| adv1|location|int|string|desc=Adventure exactly once in the specified location (even if it uses no turns). Chained choice adventures &#039;&#039;&#039;are&#039;&#039;&#039; followed. Int overrides default settings, and string is a filter, same as in [[adventure|adventure()]]}}&lt;br /&gt;
{{Flink|buffer| visit_url}}&lt;br /&gt;
{{Flink|buffer| visit_url|string}}&lt;br /&gt;
{{Flink|buffer| visit_url|string|boolean}}&lt;br /&gt;
{{Flink|buffer| visit_url|string|boolean|boolean|desc=Visits the specified address and returns the page source.}}&lt;br /&gt;
{{Flink|void| remove_item_condition|int|item|desc=Removes adventuring conditions.}}&lt;br /&gt;
{{Flink|void| add_item_condition|int|item|desc=Specifies adventuring conditions. With these in place, [[adventure|adventure()]] will successfully complete once the conditions are met.}}&lt;br /&gt;
{{Flink|boolean| is_goal|item|desc=Checks if a given item is a goal.}}&lt;br /&gt;
{{Flink|boolean|goal_exists|string|desc=Checks if there is currently a given type of goal.}}&lt;br /&gt;
{{Flink|string [int]|get_goals|desc=Lists all current goals.}}&lt;br /&gt;
{{Flink|string|get_counters|string|int|int|desc=Determine if a counter will expire in a specified&lt;br /&gt;
period of time.}}&lt;br /&gt;
{{Flink|void|council|desc=Visits the Council of Loathing.}}&lt;br /&gt;
{{Flink|item|guardians|desc=Climbs the Naughty Sorceress&#039; Tower and passes the challenges it can, returning the first item needed to pass a failed stage.}}&lt;br /&gt;
{{Flink|int|tavern|desc=Attempt to complete the tavern, and returns the number of squares visited}}&lt;br /&gt;
{{Flink|boolean|entryway}}&lt;br /&gt;
{{Flink|boolean|hedgemaze}}&lt;br /&gt;
{{Flink|boolean|chamber|desc=These three functions attempt to perform the associated tasks. The return value indicates the success.}}&lt;br /&gt;
{{Flink|location|my_location|desc=Returns the location where you last adventured.}}&lt;br /&gt;
{{Flink|void|set_location|location|desc=Changes the value returned by my_location().}}&lt;br /&gt;
{{Flink|void|refresh_status|desc=Refreshes the side-pane character info (health, effects, etc.).}}&lt;br /&gt;
{{Flink|buffer|run_combat|desc=Uses the current KoLmafia settings to run a combat (for use with [[visit_url|visit_url()]]).}}&lt;br /&gt;
{{Flink|buffer|run_choice|desc=Chooses an option in the current choice adventure.}}&lt;br /&gt;
{{Flink|buffer|run_turn|desc=Works as run_combat() or run_choice( -1 ) depending on whether you are in combat or in a choice.}}&lt;br /&gt;
{{Flink|boolean|change_mcd|int|desc=Tries to set your +ML device to a specified setting and reports on success.}}&lt;br /&gt;
{{Flink|boolean|hermit|int|item|desc=Trades worthless items (adventuring in the sewer if needed) to the hermit for specified items.}}&lt;br /&gt;
&lt;br /&gt;
==About Monsters==&lt;br /&gt;
For all of the below functions that accept an optional monster parameter, the default value is your most recently-encountered monster (that means your current monster if you&#039;re in combat).&lt;br /&gt;
&lt;br /&gt;
{{flink|int|jump_chance|{{opt|monster}}|{{opt|int}}|{{opt|int}}}}&lt;br /&gt;
{{flink|int|jump_chance|location|{{opt|int}}|{{opt|int}}|desc=Returns the chance of successfully getting the jump against the monster or in the location.}}&lt;br /&gt;
{{Flink|monster|last_monster|desc=Returns last monster encountered.}}&lt;br /&gt;
{{Flink|monster [int]|get_monsters|location|desc=Returns a map of potential monsters at a given location.}}&lt;br /&gt;
{{Flink|float [monster]|appearance_rates|location|{{opt|boolean}}|desc=Returns a map of the expected frequency of each monster at the specified location.}}&lt;br /&gt;
{{Flink|int|monster_attack|{{opt|monster}}|desc=Returns the starting/current attack value of the specified monster.}}&lt;br /&gt;
{{Flink|int|monster_defense|{{opt|monster}}|desc=Returns the starting/current defense value of the specified monster.}}&lt;br /&gt;
{{Flink|int|monster_hp|{{opt|monster}}|desc=Returns the starting/current HP of the specified monster.}}&lt;br /&gt;
{{Flink|int|monster_initiative|{{opt|monster}}|desc=Returns the starting/current initiative of the specified monster.}}&lt;br /&gt;
{{Flink|phylum|monster_phylum|{{opt|monster}}|desc=Returns the phylum of the specified monster.}}&lt;br /&gt;
{{Flink|int|expected_damage|{{opt|monster}}|desc=Returns the amount of damage you are expected to take each round from the specified monster.}}&lt;br /&gt;
{{Flink|element|monster_element|{{opt|monster}}|desc=Returns the elemental alignment of the specified monster.}}&lt;br /&gt;
{{Flink|monster|image_to_monster|string|desc=Looks up monster by image name.}}&lt;br /&gt;
{{Flink|boolean|is_banished|monster|desc=Returns true if the specified monster is banished}}&lt;br /&gt;
&lt;br /&gt;
==Misc.==&lt;br /&gt;
{{Flink|int|get_auto_attack|desc=Returns your current auto-attack setting.}}&lt;br /&gt;
{{Flink|void|set_auto_attack|int|desc=Sets your auto-attack setting.}}&lt;br /&gt;
[[Category:Scripting]]&lt;/div&gt;</summary>
		<author><name>Bigevildan</name></author>
	</entry>
</feed>