<?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=Therealtahu</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=Therealtahu"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Special:Contributions/Therealtahu"/>
	<updated>2026-04-25T00:23:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Equipment&amp;diff=794</id>
		<title>Equipment</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Equipment&amp;diff=794"/>
		<updated>2009-05-27T06:38:19Z</updated>

		<summary type="html">&lt;p&gt;Therealtahu: Fixed double weapon_type(). First one should have been item_type().&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Part 3 - Equipment ==&lt;br /&gt;
&amp;lt;em&amp;gt;Time to get dressed!&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;boolean [[equip()|equip( item it )]]&#039;&#039;&#039; - equips the specified [[%28ASHRM%29_Datatype_Constants#.24item.5Bconstant.5D|item]] in the &amp;amp;#8220;natural&amp;amp;#8221; slot.  Only equips accessories in empty slots.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;boolean [[equip()|equip( slot sl, item it )]]&#039;&#039;&#039; - equips the specified [[%28ASHRM%29_Datatype_Constants#.24item.5Bconstant.5D|item]] in the specified [[%28ASHRM%29_Datatype_Constants#.24slot.5Bconstant.5D|slot]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;item [[equipped_item()|equipped_item( slot sl )]]&#039;&#039;&#039; - returns the item currently equipped in the given slot. (&amp;lt;em&amp;gt;Sample&amp;lt;/em&amp;gt;:[[%28ASHRM%29_Code_Samples#Sample_2:_Battlefield_gather|Battlefield_gather]])&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;boolean [[have_equipped()|have_equipped( item it )]]&#039;&#039;&#039; - tells you if the specified item is currently equipped (as it would not otherwise show up in [[item_amount()]]).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;boolean [[can_equip()|can_equip( item it )]]&#039;&#039;&#039; - tells you if you meet the requirements to equip the given item (regardless of whether you own it).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;string [[item_type()|item_type( item it )]]&#039;&#039;&#039; - returns a string indicating the type of weapon which was passed as a parameter.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;int [[weapon_hands()|weapon_hands( item it )]]&#039;&#039;&#039; - tells you if a weapon will keep you from using your off-hand slot.  Even if a weapon is described as being 3-handed, this function will return 2. (&amp;lt;em&amp;gt;Sample&amp;lt;/em&amp;gt;:[[%28ASHRM%29_Code_Samples#Sample_2:_Battlefield_gather|Battlefield_gather]])&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;stat [[weapon_type()|weapon_type( item it )]]&#039;&#039;&#039; - tells you what stat your weapon bases its hit chance on.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;boolean [[have_familiar()|have_familiar( familiar pet )]]&#039;&#039;&#039; - tells you if you have placed the specified [[%28ASHRM%29_Datatype_Constants#.24familiar.5Bconstant.5D|familiar]] in your Terrarium (or have it equipped now).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;boolean [[use_familiar()|use_familiar( familiar pet )]]&#039;&#039;&#039; - equips the specified [[%28ASHRM%29_Datatype_Constants#.24familiar.5Bconstant.5D|familiar]].  Use [[equip()]] to change your familiar&amp;amp;#8217;s gear.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;item [[familiar_equipment()|familiar_equipment( familiar pet )]]&#039;&#039;&#039; - returns the most common piece of equipment that is specially designed for the familiar&amp;amp;#8217;s type.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;item [[familiar_equipped_equipment()|familiar_equipped_equipment( familiar pet )]]&#039;&#039;&#039; - returns the current item equipped on a [[%28ASHRM%29_Datatype_Constants#.24familiar.5Bconstant.5D|familiar]], as opposed to familiar_equipment( familiar ) which returns the special item only the familiar can use.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;boolean [[have_outfit()|have_outfit( string outfit_name )]]&#039;&#039;&#039; - returns &#039;&#039;true&#039;&#039; if you could wear a specified outfit right now, either an in-game or a custom outfit.  A false result means either that you are missing one or more pieces of the outfit or that your stats are not high enough to equip all of the pieces. (&amp;lt;em&amp;gt;Sample&amp;lt;/em&amp;gt;:[[%28ASHRM%29_Code_Samples#Sample_1:_Seltzer|Seltzer]])&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;boolean [[outfit()|outfit( string outfit_name )]]&#039;&#039;&#039; - wears the specified outfit. (&amp;lt;em&amp;gt;Sample&amp;lt;/em&amp;gt;:[[%28ASHRM%29_Code_Samples#Sample_2:_Battlefield_gather|Battlefield_gather]])&lt;/div&gt;</summary>
		<author><name>Therealtahu</name></author>
	</entry>
</feed>