Retrieval order: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
Created page with 'This is the current order in which retrieval options are tried for both the CLI command "retrieve" and the ASH command retrieve_item(), as of about r8200. Note…'
 
imported>Slyz
updated
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
* items currently equipped
* items currently equipped
* items equipped on a non-current familiar
* items equipped on a non-current familiar
* retrieval of worthless items by using 31337 scrolls or sewering
* if needed, retrieval of worthless items by using 31337 scrolls or using chewing gums
* untinkering a dictionary to get the bridge
* untinkering a dictionary to get the bridge
* items in closet, if enabled
* items in closet, if enabled
* free pulls from Hagnk's
* free pulls from Hagnk's
* items in storage, if no longer under ronin/HC restrictions (note that all of the item is pulled, not just the amount requested)
* items in storage, if no longer under ronin/HC restrictions (note that all of the item is pulled, not just the amount requested)
* retrieval of coffee pixie sticks by trying to retrieve game grid tickets and redeeming them
* retrieval of Lunar Lunch-o-Mat items by trying to retrieve lunar isotopes and redeeming them
* items in the clan stash, if enabled
* items in the clan stash, if enabled
* item creation, up to the quantity creatable from ingredients on hand (this can be overriden by a buyScript)
* item creation, up to the quantity creatable from ingredients on hand (this can be overriden by a buyScript)
* trading worthless items to the Hermit
* trading worthless items to the Hermit
* trading yeti furs to the Tr4pz0r
* trading yeti furs to the Tr4pz0r
* NPC purchase (if enabled), or Mall purchase (if enabled, and no ingredients on hand)
* retrieval of Ye Wizard's Shack Game Shoppe Free Snacks items by trying to retrieve snack vouchers and redeeming them
* budgeted pulls from storage
* NPC purchase (if enabled), or Mall purchase (if enabled, and none of the ingredients on hand)
* use budgeted pulls from storage if in Ronin
* item creation, unless buying the item is enabled and appears to be cheaper than the cost of acquiring all the ingredients
* item creation, unless buying the item is enabled and appears to be cheaper than the cost of acquiring all the ingredients
* one final attempt at Mall purchase, if enabled and everything else has failed
* one final attempt at Mall purchase, if enabled and everything else has failed
[[Category:Scripting]]

Latest revision as of 02:52, 20 June 2011

This is the current order in which retrieval options are tried for both the CLI command "retrieve" and the ASH command retrieve_item(), as of about r8200. Note that this is an extremely condensed summary of several hundred lines of internal code, and that the details are subject to change

  • items already in inventory
  • items currently equipped
  • items equipped on a non-current familiar
  • if needed, retrieval of worthless items by using 31337 scrolls or using chewing gums
  • untinkering a dictionary to get the bridge
  • items in closet, if enabled
  • free pulls from Hagnk's
  • items in storage, if no longer under ronin/HC restrictions (note that all of the item is pulled, not just the amount requested)
  • retrieval of coffee pixie sticks by trying to retrieve game grid tickets and redeeming them
  • retrieval of Lunar Lunch-o-Mat items by trying to retrieve lunar isotopes and redeeming them
  • items in the clan stash, if enabled
  • item creation, up to the quantity creatable from ingredients on hand (this can be overriden by a buyScript)
  • trading worthless items to the Hermit
  • trading yeti furs to the Tr4pz0r
  • retrieval of Ye Wizard's Shack Game Shoppe Free Snacks items by trying to retrieve snack vouchers and redeeming them
  • NPC purchase (if enabled), or Mall purchase (if enabled, and none of the ingredients on hand)
  • use budgeted pulls from storage if in Ronin
  • item creation, unless buying the item is enabled and appears to be cheaper than the cost of acquiring all the ingredients
  • one final attempt at Mall purchase, if enabled and everything else has failed