<?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=68.5.235.48</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=68.5.235.48"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Special:Contributions/68.5.235.48"/>
	<updated>2026-04-25T05:18:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Talk:Auto-stops&amp;diff=6918</id>
		<title>Talk:Auto-stops</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Talk:Auto-stops&amp;diff=6918"/>
		<updated>2010-07-03T23:13:23Z</updated>

		<summary type="html">&lt;p&gt;68.5.235.48: Under the knife info (will add shortly)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;heeheehee, I know that &#039;&#039;&#039;A Fledgling Pirate Is You!&#039;&#039;&#039; will automatically use the three items, but is it an auto-stop? Those are different things. I admit that I only use a single adventure when I have the items so I never gave it a chance to auto-stop, but I always thought it would adventure as many times as I asked it to do so. (No reason it should since any player knows not to do that...) Has it actually auto-stopped for you? --[[User:Bale|Bale]] 00:51, 3 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
I almost posted the same thing earlier, but then I had to take a call. If you&#039;re sure, leave it, but like Bale I&#039;ve never tried to auto-adv. at that point. If not, we should figure out a good place to put such auto-use info. --[[User:StDoodle|StDoodle (#1059825)]] 01:08, 3 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
Yeah, uh, looking at the code, turns out that it isn&#039;t. My bad. On the other hand, currently missing are: &#039;&#039;&#039;History is Fun!&#039;&#039;&#039;, &#039;&#039;&#039;The Manor in Which You&#039;re Accustomed&#039;&#039;&#039;, &#039;&#039;&#039;Drawn Onward&#039;&#039;&#039;, &#039;&#039;&#039;Mr. Alarm&#039;&#039;&#039;, &#039;&#039;&#039;We&#039;ll All Be Flat&#039;&#039;&#039;, &#039;&#039;&#039;This Adventure Bites&#039;&#039;&#039;, &#039;&#039;&#039;Granny, Does Your Dogfish Bite?&#039;&#039;&#039;, &#039;&#039;&#039;I Just Wanna Fly&#039;&#039;&#039; and &#039;&#039;&#039;Me Just Want Fly&#039;&#039;&#039;, and &#039;&#039;&#039;Let&#039;s Make a Deal!&#039;&#039;&#039;. I&#039;m not sure if the code&#039;s saying that semirares and BM adventures cause an auto-stop, as the section&#039;s called &amp;quot;SPECIAL_ENCOUNTERS&amp;quot;. --[[User:Heeheehee|Heeheehee]] 02:47, 3 July 2010 (UTC)&lt;br /&gt;
:Edit: Apparently, BM adventures lead to an auto-stop, semirares do not. --[[User:Heeheehee|Heeheehee]] 02:49, 3 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
: All Bad Moon adventures are auto-stops? Awesome! I&#039;ll add that. I&#039;ll add the rest of what you found also. (Though History is Fun! is already included since that&#039;s a sub-adventure of Take a look it&#039;s in a book.) Thanks a lot! --[[User:Bale|Bale]] 05:04, 3 July 2010 (UTC)&lt;br /&gt;
:: Also, Under the Knife is the only one of these that checks for a preference (namely, &amp;quot;choiceAdventure21&amp;quot;) to determine whether to autostop or not. Adding that as well. --[[Special:Contributions/68.5.235.48|68.5.235.48]] 23:13, 3 July 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>68.5.235.48</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Control_Structures&amp;diff=3132</id>
		<title>Control Structures</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Control_Structures&amp;diff=3132"/>
		<updated>2010-03-13T21:18:13Z</updated>

		<summary type="html">&lt;p&gt;68.5.235.48: Consistency!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOCright}}&lt;br /&gt;
== if/else ==&lt;br /&gt;
  if (boolean)&lt;br /&gt;
  &lt;br /&gt;
  {}&lt;br /&gt;
  &lt;br /&gt;
  else if (boolean)&lt;br /&gt;
  &lt;br /&gt;
  {}&lt;br /&gt;
  &lt;br /&gt;
  else&lt;br /&gt;
  &lt;br /&gt;
  {}&lt;br /&gt;
&lt;br /&gt;
== switch ==&lt;br /&gt;
  switch (value) &lt;br /&gt;
  {&lt;br /&gt;
    case expression:&lt;br /&gt;
      statement&lt;br /&gt;
      statement&lt;br /&gt;
      ...&lt;br /&gt;
      break;&lt;br /&gt;
    default:&lt;br /&gt;
      statement&lt;br /&gt;
      statement&lt;br /&gt;
      ...&lt;br /&gt;
      break; &lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
== while ==&lt;br /&gt;
  while (boolean)&lt;br /&gt;
  &lt;br /&gt;
  {}&lt;br /&gt;
== repeat until ==&lt;br /&gt;
  repeat&lt;br /&gt;
  {}&lt;br /&gt;
  until (boolean);&lt;br /&gt;
== for ==&lt;br /&gt;
  for x from a to b by c&lt;br /&gt;
&lt;br /&gt;
is the general case. You don&#039;t need to specify whether it&#039;s going up or down - although doing so by using upto or downto does allow a runtime check to make sure you didn&#039;t screw up.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t specify &amp;quot;c&amp;quot;, it defaults to incrementing/decrementing by 1.  The first iteration is at a and the last is at b (that is to say, it goes from a to b, inclusive).&lt;br /&gt;
&lt;br /&gt;
== foreach ==&lt;br /&gt;
  foreach x in map&lt;br /&gt;
  &lt;br /&gt;
  {}&lt;br /&gt;
&lt;br /&gt;
&amp;quot;map&amp;quot; must be an aggregate - a map or a slice.  x takes on each value of the map index in turn.  If there is more than one index, x iterates over the first index. &lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
  boolean [int][string] map;&lt;br /&gt;
  map[15][&amp;quot;test&amp;quot;] = true;&lt;br /&gt;
  foreach int_index in map&lt;br /&gt;
  {&lt;br /&gt;
    print(int_index); //this will print &#039;15&#039; once, since there is only one valid value for this index&lt;br /&gt;
    foreach string_index in map[int_index] //this iterates over the &amp;quot;slice&amp;quot; of the map where 1 is fixed as the index&lt;br /&gt;
    { &lt;br /&gt;
      print(string_index); //This will print &amp;quot;test&amp;quot; once, since there is only one valid value for this index&lt;br /&gt;
      print(map[int_index][string_index]); //this will print &amp;quot;true&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
So the output is&lt;br /&gt;
  15&lt;br /&gt;
  test&lt;br /&gt;
  true&lt;br /&gt;
&lt;br /&gt;
Note that instead of nesting foreach statements, for a multidimensional map, two iterators can be used inline.&lt;br /&gt;
  foreach x,y in map&lt;br /&gt;
is identical to&lt;br /&gt;
  foreach x in map&lt;br /&gt;
  {&lt;br /&gt;
    foreach y in map[x]&lt;br /&gt;
  }&lt;br /&gt;
See http://kolmafia.sourceforge.net/advanced.html#maps for more details on maps.&lt;br /&gt;
== continue/break ==&lt;br /&gt;
Like many languages with looping structures, ASH supports the break and continue statements.  All looping structures (for, while, repeat until, and foreach) support these statements.&lt;br /&gt;
&lt;br /&gt;
  break;&lt;br /&gt;
Breaks out of the smallest enclosing loop.  In a switch statement, breaks out of the switch statement.  Execution resumes at the first statement after the end of the loop/switch statement.&lt;br /&gt;
&lt;br /&gt;
  continue;&lt;br /&gt;
Continues on to the next iteration of the loop (skipping any statments in this iteration that occur after the continue statement).  In a switch statement, continue is allowed iff the switch is inside a loop, and acts as any other continue.&lt;/div&gt;</summary>
		<author><name>68.5.235.48</name></author>
	</entry>
</feed>