<?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=Degrassi</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=Degrassi"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Special:Contributions/Degrassi"/>
	<updated>2026-04-24T21:14:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Notify&amp;diff=2473</id>
		<title>Notify</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Notify&amp;diff=2473"/>
		<updated>2008-01-18T17:37:30Z</updated>

		<summary type="html">&lt;p&gt;Degrassi: redirect to Void notify(string user)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Void notify(string user)]]&lt;/div&gt;</summary>
		<author><name>Degrassi</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Fullness_limit&amp;diff=2438</id>
		<title>Fullness limit</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Fullness_limit&amp;diff=2438"/>
		<updated>2008-01-17T21:31:49Z</updated>

		<summary type="html">&lt;p&gt;Degrassi: spelling (fulness)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Will return your maximum fullness level.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;if(my_fullness() &amp;lt; fullness_limit())&lt;br /&gt;
  if(fullness_limit()== 15)&lt;br /&gt;
    eat(3, $item[hot hi mein]);&lt;br /&gt;
  else if(fullness_limit() == 20)&lt;br /&gt;
    eat(4, $item[hot hi mein]);&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Degrassi</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Talk:In_hardcore&amp;diff=2471</id>
		<title>Talk:In hardcore</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Talk:In_hardcore&amp;diff=2471"/>
		<updated>2008-01-17T21:05:33Z</updated>

		<summary type="html">&lt;p&gt;Degrassi: New page: This totally needs a better example.  Currently: &amp;lt;code&amp;gt;  if(in_hardcore())     {    buy(3,$item[hot hi mein]);    } &amp;lt;/code&amp;gt;  This will never work in real life. If you&amp;#039;re in hardcore, y...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This totally needs a better example.&lt;br /&gt;
&lt;br /&gt;
Currently:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 if(in_hardcore()) &lt;br /&gt;
   {&lt;br /&gt;
   buy(3,$[[item]][hot hi mein]);&lt;br /&gt;
   }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will never work in real life. If you&#039;re in hardcore, you can&#039;t simply buy things like hi meins. I&#039;d be inclined to just make it !in_hardcore(), but really it should be can_interact() for this example (which checks for ronin). The example should probably be something completely different. I&#039;ll replace it if I come up with something clean and simple.&lt;br /&gt;
--[[User:Degrassi|Degrassi]] 13:05, 17 January 2008 (PST)&lt;/div&gt;</summary>
		<author><name>Degrassi</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=In_hardcore&amp;diff=2222</id>
		<title>In hardcore</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=In_hardcore&amp;diff=2222"/>
		<updated>2008-01-17T21:03:20Z</updated>

		<summary type="html">&lt;p&gt;Degrassi: Clean up example - code box was ending before the code did.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[boolean]] [[In_hardcore()]]&lt;br /&gt;
&lt;br /&gt;
This function returns &amp;lt;i&amp;gt;true&amp;lt;/i&amp;gt; if the logged-in character is currently subject to the restrictions of a hardcore ascension. If not subject to such restrictions this function returns false.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 if(in_hardcore()) &lt;br /&gt;
   {&lt;br /&gt;
   buy(3,$[[item]][hot hi mein]);&lt;br /&gt;
   }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Your Character | In hardcore()]]&lt;br /&gt;
[[Category:Ash Functions |In hardcore()]]&lt;/div&gt;</summary>
		<author><name>Degrassi</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=My_basestat&amp;diff=2463</id>
		<title>My basestat</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=My_basestat&amp;diff=2463"/>
		<updated>2008-01-17T20:30:55Z</updated>

		<summary type="html">&lt;p&gt;Degrassi: Create logical redirect&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Int my basestat( stat st )]]&lt;/div&gt;</summary>
		<author><name>Degrassi</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Equipment&amp;diff=786</id>
		<title>Equipment</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Equipment&amp;diff=786"/>
		<updated>2008-01-17T20:14:24Z</updated>

		<summary type="html">&lt;p&gt;Degrassi: current_equipment() doesn&amp;#039;t work, but equipped_item() does.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Part 3 - Equipment ==&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;Time to get dressed!&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean equip( [[%28ASHRM%29_Datatype_Constants#.24item.5Bconstant.5D|item it]] )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Puts on the specified item in the &amp;amp;#8220;natural&amp;amp;#8221; slot.  For example, it won&amp;amp;#8217;t equip a weapon to the off-hand and it will only put a accessory into an empty slot.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean unequip( [[%28ASHRM%29_Datatype_Constants#.24item.5Bconstant.5D|item it]] )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Takes off one of the specified item.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean equip_slot( [[%28ASHRM%29_Datatype_Constants#.24slot.5Bconstant.5D|slot sl]], [[%28ASHRM%29_Datatype_Constants#.24item.5Bconstant.5D|item it]] )&amp;lt;br /&amp;gt;&lt;br /&gt;
boolean unequip_slot( [[%28ASHRM%29_Datatype_Constants#.24slot.5Bconstant.5D|slot sl]] )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Equipment management that targets a specific slot.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;item equipped_item( [[%28ASHRM%29_Datatype_Constants#.24slot.5Bconstant.5D|slot sl]] )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Returns the item currently equipped in the given slot.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;em&amp;gt;Sample&amp;lt;/em&amp;gt;:[[%28ASHRM%29_Code_Samples#Sample_2:_Battlefield_gather|Battlefield_gather]]&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean have_equipped( [[%28ASHRM%29_Datatype_Constants#.24item.5Bconstant.5D|item it]] )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Tells you if the specified item is currently equipped (as it would not otherwise show up in item_amount()).&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean can_equip( [[%28ASHRM%29_Datatype_Constants#.24item.5Bconstant.5D|item it]] )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Tells you if you meet the requirements to equip the given item (regardless of whether you own it).&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;string weapon_type( [[%28ASHRM%29_Datatype_Constants#.24item.5Bconstant.5D|item it]] )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Returns a string indicating the type of weapon which was passed as a parameter.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;int weapon_hands( [[%28ASHRM%29_Datatype_Constants#.24item.5Bconstant.5D|item it]] )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
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;br /&amp;gt;&lt;br /&gt;
&amp;lt;em&amp;gt;Sample&amp;lt;/em&amp;gt;:[[%28ASHRM%29_Code_Samples#Sample_2:_Battlefield_gather|Battlefield_gather]]&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean ranged_weapon( [[%28ASHRM%29_Datatype_Constants#.24item.5Bconstant.5D|item it]] )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Tells you if a weapon&amp;amp;#8217;s chance of hitting the opponent is based on your Moxie instead of your Muscle.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean have_familiar( [[%28ASHRM%29_Datatype_Constants#.24familiar.5Bconstant.5D|familiar pet]] )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Tells you if you have placed the specified familiar in your Terrarium (or have it equipped now).&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean use_familiar( [[%28ASHRM%29_Datatype_Constants#.24familiar.5Bconstant.5D|familiar pet]] )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Takes the specified familiar out of your Terrarium.  Use equip() and unequip() to manage your familiar&amp;amp;#8217;s gear.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;item familiar_equipment( [[%28ASHRM%29_Datatype_Constants#.24familiar.5Bconstant.5D|familiar pet]] )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Returns the most common piece of equipment that is specially designed for the familiar&amp;amp;#8217;s type.  If you want to find out what item is being equipped by your familiar of a specific species, then you would need to take that familiar out of the Terrarium with equip_familiar() and then check equipped_item( $slot[ familiar ]).&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean have_outfit( string outfit_name )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Lets you know 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;br /&amp;gt;&lt;br /&gt;
&amp;lt;em&amp;gt;Sample&amp;lt;/em&amp;gt;:[[%28ASHRM%29_Code_Samples#Sample_1:_Seltzer|Seltzer]]&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean outfit( string outfit_name )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Wears the specified outfit.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;em&amp;gt;Sample&amp;lt;/em&amp;gt;:[[%28ASHRM%29_Code_Samples#Sample_2:_Battlefield_gather|Battlefield_gather]]&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Degrassi</name></author>
	</entry>
</feed>