Difference between pages "Is discardable" and "Choice Adventures"

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>Bale
m (Bale moved page Is discardable() to Is discardable without leaving a redirect)
 
imported>Fluxxdog
 
Line 1: Line 1:
{{
+
A large number of the preferences saved by KoLmafia are used to determine the default behavior when a choice adventure is automated (either through auto-adventuring or use of the "auto" button in the relay browser). The number of choice adventures in KoL is too large and too often updated to list each individual preference here. Please consult the main wiki's Choice Adventures by Number page for a comprehensive list. Note that each preference follows the same numbering scheme as KoL itself. For example, the adventure "Minnesota Incorporeals" is number 77 in KoL, and its KoLmafia preference is "choiceAdventure77".
#vardefine:name|is_discardable}}{{
 
#vardefine:return_type|boolean}}{{
 
FunctionPage|
 
name={{#var:name}}|
 
  
function1={{Function|
+
Each choiceAdventure is set to a number, which corresponds to which choice you want to make from the available options in KoL (or in the GUI, in the case that mafia provides more options than KoL). According to Holatuwol (here), the settings map to "X=pick the Xth Option" and "X+1=pick an item you don't have" (i.e., complete the outfit). Many preferences also have a "Show in [Mini] Browser" option, which corresponds to a setting of 0.
name={{#var:name}}|
 
aggregate={{#var:aggregate}}|
 
return_type={{#var:return_type}}|
 
return_also={{#var:return_also}}|
 
parameter1={{Param|item|check_me}}|
 
p1desc={{Pspan|check_me}} is an item to test|
 
}}|
 
  
function_description=This function check if item can be discarded, returning true if it can other false. Keep in mind it will return true if item can be autosold.|
+
This page contains a detailed list of choice adventures and KoLmafia's options for them in Choice Adventures setting. Choice adventures that can no longer be accessed will not be listed. There are also a few choice adventures that have speical handling, like {{kolwiki|Louvre It or Leave It}}. These will be detailed afterwards.
 +
==Choice Adventures 2-90==
 +
{| class="wikitable" border="1"
 +
|-
 +
!  #
 +
!  Name
 +
!  default
 +
!  Options
 +
!  Notes
 +
|-
 +
|2
 +
|{{kolwiki|Denim Axes Examined}}
 +
|2
 +
|1-Trade a rubber axe for a denim axe
 +
2-skip adventure
 +
|
 +
|-
 +
|3
 +
|{{kolwiki|The Oracle Will See You Now}}
 +
|3
 +
|1-skip adventure
 +
2-Pay for a minor consultation (waste 100 meat)
  
code1={{CodeSample|
+
3-Make the plus sign usable
title=Code Sample|
+
|
description=The following searches all items in inventory and stores any items on display that can be discarded but not autosold (Autosell value is 0).|
+
|-
code=
+
|4
<syntaxhighlight>
+
|{{kolwiki|Finger-Lickin'... Death.}}
batch_open();
+
|3
int[item] inventory = get_inventory() ;
+
|1-Chance to win or lose 500 meat
foreach it in inventory
+
2-Chance for poultrygeist
  if ( is_discardable(it) && autosell_price(it) == 0 ){
 
      put_display( item_amount(it), it );
 
  }
 
batch_close();
 
// We're using a batch here to minimize server hits.
 
</syntaxhighlight>
 
}}|
 
  
see_also={{SeeAlso|use|autosell|is_giftable}}|
+
3-skip adventure
}}
+
|
 +
|-
 +
|5
 +
|{{kolwiki|Heart of Very, Very Dark Darkness}}
 +
|2
 +
|1-Fight the Fairy Queen
 +
2-skip adventure
 +
|KoLmafia automatically sets the choices for {{kolwiki|Darker Than Dark}}, {{kolwiki|How Depressing}}, and {{kolwiki|On the Verge of a Dirge}} based on your setting. Also, if you cannot fight Felonia because you don't have the inexplicably glowing rock or the spooky glove equipped, it will skip the adventure anyway.
 +
|-
 +
|15
 +
|{{kolwiki|Yeti Nother Hippy}}
 +
|4
 +
|1-eXtreme mittens
 +
2-eXtreme scarf
  
[[Category:Item Management]]
+
3-small meat boost
 +
 
 +
4-complete the eXtreme Cold-Weather Gear outfit
 +
|If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
 +
|-
 +
|16
 +
|{{kolwiki|Saint Beernard}}
 +
|4
 +
|1-snowboarder pants
 +
2-eXtreme scarf
 +
 
 +
3-small meat boost
 +
 
 +
4-complete the eXtreme Cold-Weather Gear outfit
 +
|If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
 +
|-
 +
|17
 +
|{{kolwiki|Generic Teen Comedy Snowboarding Adventure}}
 +
|4
 +
|1-eXtreme mittens
 +
2-snowboarding pants
 +
 
 +
3-small meat bost
 +
 
 +
4-complete the eXtreme Cold-Weather Gear outfit
 +
|If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
 +
|-
 +
|18
 +
|{{kolwiki|A Flat Miner}}
 +
|4
 +
|1-miner's pants
 +
2-7-foot Dwarven mattock
 +
 
 +
3-small meat boost
 +
 
 +
4-complete the Mining Gear outfit
 +
|If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
 +
|-
 +
|19
 +
|{{kolwiki|100% Legal}}
 +
|4
 +
|1-miner's helmet
 +
2-miner's pants
 +
 
 +
3-small meat boost
 +
 
 +
4-complete the Mining Gear outfit
 +
|If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
 +
|-
 +
|20
 +
|{{kolwiki|See You Next Fall}}
 +
|4
 +
|1-7-foot Dwarven mattock
 +
2-miner's helmet
 +
 
 +
3-small meat boost
 +
 
 +
4-complete the Mining Gear outfit
 +
|If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
 +
|-
 +
|21
 +
|{{kolwiki|Under the Knife}}
 +
|2
 +
|1-Switch genders
 +
2-skip adventure
 +
|
 +
|-
 +
|22
 +
|{{kolwiki|The Arrrbitrator}}
 +
|4
 +
|1-eyepatch
 +
2-swashbuckling pants
 +
 
 +
3-small meat boost
 +
 
 +
4-complete the Swashbuckling Getup outfit
 +
|If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
 +
|-
 +
|23
 +
|{{kolwiki|Barrie Me at Sea}}
 +
|4
 +
|1-stuffed shoulder parrot
 +
2-swashbuckling pants
 +
 
 +
3-small meat boost
 +
 
 +
4-complete the Swashbuckling Getup outfit
 +
|If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
 +
|-
 +
|24
 +
|{{kolwiki|Amatearrr Night}}
 +
|4
 +
|1-stuffed shoulder parrot
 +
2-small meat boost
 +
 
 +
3-eypatch
 +
 
 +
4-complete the Swashbuckling Getup outfit
 +
|If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
 +
|-
 +
|25
 +
|{{kolwiki|Ouch! You bump into a door!}}
 +
|2
 +
|1-Buy a magic lamp for 50 meat
 +
2-Fight a mimic for 5000 meat
 +
 
 +
3-skip adventure
 +
|
 +
|-
 +
|40
 +
|{{kolwiki|The Effervescent Fray}}
 +
|3
 +
|1-Cloaca-Cola fatigues
 +
2-Dyspepsi-Cola shield
 +
 
 +
3-mysticality stats
 +
|
 +
|-
 +
|41
 +
|{{kolwiki|Smells Like Team Spirit}}
 +
|3
 +
|1-Dyspepsi-Cola fatigues
 +
2-Cloaca-Cola helmet
 +
 
 +
3-muscle substats
 +
|
 +
|-
 +
|42
 +
|{{kolwiki|What is it Good For?}}
 +
|3
 +
|1-Dyspepsi-Cola helmet
 +
2-Cloaca-Cola shield
 +
 
 +
3-moxie substats
 +
|
 +
|-
 +
|}
 +
==Special Cases==
 +
===Spooky Forest===
 +
{{kolwiki|The Spooky Forest}} has a selector to pick your choices through the GUI. However, this setting cannot be set through an ash [[Set property|set_property()]] or a CLI set command. KoLmafia reads the setting for the choice adventures associated with {{kolwiki|Arboreal Respite}} and determines what your current setting is.
 +
 
 +
===The Louvre===
 +
{{kolwiki|Louvre It or Leave It}} is a complicated maze, changing each ascension. KoLmafia has a built-in solver for it. It may take a couple tries as it figure out the path, but once it does, you'll easily automate your way through it. It's setting is saved in '''louvreDesiredGoal''' and has 9 options:
 +
*0: skip adventure
 +
*1: Manetwich
 +
*2: bottle of Vangoghbitussin
 +
*3: bottle of Pinot Renoir
 +
*4: Boost Muscle
 +
*5: Boost Mysticality
 +
*6: Boost Moxie
 +
*7: Boost Prime Stat
 +
*8: Boost Lowest Stat

Revision as of 23:17, 1 August 2013

A large number of the preferences saved by KoLmafia are used to determine the default behavior when a choice adventure is automated (either through auto-adventuring or use of the "auto" button in the relay browser). The number of choice adventures in KoL is too large and too often updated to list each individual preference here. Please consult the main wiki's Choice Adventures by Number page for a comprehensive list. Note that each preference follows the same numbering scheme as KoL itself. For example, the adventure "Minnesota Incorporeals" is number 77 in KoL, and its KoLmafia preference is "choiceAdventure77".

Each choiceAdventure is set to a number, which corresponds to which choice you want to make from the available options in KoL (or in the GUI, in the case that mafia provides more options than KoL). According to Holatuwol (here), the settings map to "X=pick the Xth Option" and "X+1=pick an item you don't have" (i.e., complete the outfit). Many preferences also have a "Show in [Mini] Browser" option, which corresponds to a setting of 0.

This page contains a detailed list of choice adventures and KoLmafia's options for them in Choice Adventures setting. Choice adventures that can no longer be accessed will not be listed. There are also a few choice adventures that have speical handling, like Louvre It or Leave It. These will be detailed afterwards.

Choice Adventures 2-90

# Name default Options Notes
2 Denim Axes Examined 2 1-Trade a rubber axe for a denim axe

2-skip adventure

3 The Oracle Will See You Now 3 1-skip adventure

2-Pay for a minor consultation (waste 100 meat)

3-Make the plus sign usable

4 Finger-Lickin'... Death. 3 1-Chance to win or lose 500 meat

2-Chance for poultrygeist

3-skip adventure

5 Heart of Very, Very Dark Darkness 2 1-Fight the Fairy Queen

2-skip adventure

KoLmafia automatically sets the choices for Darker Than Dark, How Depressing, and On the Verge of a Dirge based on your setting. Also, if you cannot fight Felonia because you don't have the inexplicably glowing rock or the spooky glove equipped, it will skip the adventure anyway.
15 Yeti Nother Hippy 4 1-eXtreme mittens

2-eXtreme scarf

3-small meat boost

4-complete the eXtreme Cold-Weather Gear outfit

If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
16 Saint Beernard 4 1-snowboarder pants

2-eXtreme scarf

3-small meat boost

4-complete the eXtreme Cold-Weather Gear outfit

If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
17 Generic Teen Comedy Snowboarding Adventure 4 1-eXtreme mittens

2-snowboarding pants

3-small meat bost

4-complete the eXtreme Cold-Weather Gear outfit

If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
18 A Flat Miner 4 1-miner's pants

2-7-foot Dwarven mattock

3-small meat boost

4-complete the Mining Gear outfit

If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
19 100% Legal 4 1-miner's helmet

2-miner's pants

3-small meat boost

4-complete the Mining Gear outfit

If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
20 See You Next Fall 4 1-7-foot Dwarven mattock

2-miner's helmet

3-small meat boost

4-complete the Mining Gear outfit

If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
21 Under the Knife 2 1-Switch genders

2-skip adventure

22 The Arrrbitrator 4 1-eyepatch

2-swashbuckling pants

3-small meat boost

4-complete the Swashbuckling Getup outfit

If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
23 Barrie Me at Sea 4 1-stuffed shoulder parrot

2-swashbuckling pants

3-small meat boost

4-complete the Swashbuckling Getup outfit

If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
24 Amatearrr Night 4 1-stuffed shoulder parrot

2-small meat boost

3-eypatch

4-complete the Swashbuckling Getup outfit

If you are missing one of the two pieces, it will get the first that you are missing. After that, ???
25 Ouch! You bump into a door! 2 1-Buy a magic lamp for 50 meat

2-Fight a mimic for 5000 meat

3-skip adventure

40 The Effervescent Fray 3 1-Cloaca-Cola fatigues

2-Dyspepsi-Cola shield

3-mysticality stats

41 Smells Like Team Spirit 3 1-Dyspepsi-Cola fatigues

2-Cloaca-Cola helmet

3-muscle substats

42 What is it Good For? 3 1-Dyspepsi-Cola helmet

2-Cloaca-Cola shield

3-moxie substats

Special Cases

Spooky Forest

The Spooky Forest has a selector to pick your choices through the GUI. However, this setting cannot be set through an ash set_property() or a CLI set command. KoLmafia reads the setting for the choice adventures associated with Arboreal Respite and determines what your current setting is.

The Louvre

Louvre It or Leave It is a complicated maze, changing each ascension. KoLmafia has a built-in solver for it. It may take a couple tries as it figure out the path, but once it does, you'll easily automate your way through it. It's setting is saved in louvreDesiredGoal and has 9 options:

  • 0: skip adventure
  • 1: Manetwich
  • 2: bottle of Vangoghbitussin
  • 3: bottle of Pinot Renoir
  • 4: Boost Muscle
  • 5: Boost Mysticality
  • 6: Boost Moxie
  • 7: Boost Prime Stat
  • 8: Boost Lowest Stat