<?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=Remove_item_condition</id>
	<title>Remove item condition - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kolmafia.us/index.php?action=history&amp;feed=atom&amp;title=Remove_item_condition"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Remove_item_condition&amp;action=history"/>
	<updated>2026-04-30T16:58:46Z</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=Remove_item_condition&amp;diff=7427&amp;oldid=prev</id>
		<title>Bale: is new in r9093</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Remove_item_condition&amp;diff=7427&amp;oldid=prev"/>
		<updated>2011-02-23T06:41:37Z</updated>

		<summary type="html">&lt;p&gt;is new in r9093&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|remove_item_condition}}{{&lt;br /&gt;
#vardefine:return_type|void}}{{&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|int|qty}}|&lt;br /&gt;
parameter2={{Param|item|want}}|&lt;br /&gt;
p1desc={{pspan|qty}} is the quantity to remove|&lt;br /&gt;
p2desc={{pspan|want}} is the desired item|&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function_description=Removes {{pspan|qty}} of {{pspan|want}} from your current adventuring conditions. Auto-adventuring through KoLmafia or the [[adventure|adventure()]] function will stop if your current conditions are met.|&lt;br /&gt;
&lt;br /&gt;
code1={{CodeSample|&lt;br /&gt;
title=Code Sample|&lt;br /&gt;
description=In a [[Miscellaneous_ASH_Features#Additional_Script_Uses|Between Battle Script]] you can automatically account for Screambats being equivalent to a sonar-in-a-biscuit by reducing the number of sonar-in-a-biscuits that you need.|&lt;br /&gt;
code=&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
switch(my_location()) {&lt;br /&gt;
case $location[Guano Junction]:&lt;br /&gt;
case $location[Batrat and Ratbat Burrow]:&lt;br /&gt;
case $location[Beanbat Chamber]:&lt;br /&gt;
   if(last_monster() == $monster[Screambat] &amp;amp;&amp;amp; is_goal($item[sonar-in-a-biscuit]))&lt;br /&gt;
      remove_item_condition(1, $item[sonar-in-a-biscuit]);&lt;br /&gt;
   break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;}}|&lt;br /&gt;
&lt;br /&gt;
see_also={{SeeAlso|adventure|is_goal|remove_item_condition}}|&lt;br /&gt;
cli_equiv=The CLI command &amp;quot;condition remove&amp;quot; offers similar functionality.|&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Adventuring]]&lt;/div&gt;</summary>
		<author><name>Bale</name></author>
	</entry>
</feed>