Item Management: Difference between revisions
imported>StDoodle mNo edit summary |
imported>StDoodle No edit summary |
||
Line 25: | Line 25: | ||
{{Flink|boolean|put_closet|int|desc=Attempts to move meat from on-hand to your closet and reports success.}} | {{Flink|boolean|put_closet|int|desc=Attempts to move meat from on-hand to your closet and reports success.}} | ||
{{Flink|boolean|put_shop|int|int|{{opt|int}}|item|desc=Puts items in your store (see page for details).}} | {{Flink|boolean|put_shop|int|int|{{opt|int}}|item|desc=Puts items in your store (see page for details).}} | ||
{{Flink|boolean|buy|int|item | {{Flink|boolean|buy|int|item}} | ||
{{Flink|int|buy|int|item|int|desc=Tries to | {{Flink|int|buy|int|item|int|desc=Tries to purchase the specified items (see page for details).}} | ||
{{Flink|boolean|autosell|int|item|desc=Attempts to autosell the given items and reports success.}} | |||
{{Flink|int|autosell_price|item|desc=Returns the autosell price of the item, or a negative value if it cannot be autosold.}} | |||
{{Flink|boolean|mall_price|item|desc=Returns the current (lowest) mall price of the given item.}} | |||
{{Flink|boolean|retrieve_item|int|item|desc=Uses KoLmafia internal logic to gather items (see page for details).}} | |||
{{Flink|boolean|hermit|int|item|desc=Trades worthless items (adventuring in the sewer if needed) to the hermit for specified items (see page for details).}} | |||
{{Flink|boolean|use|int|item|desc=Attempts to use items as specified and reports success.}} | |||
{{Flink|boolean|eat|int|item|desc=Attempts to eat items as specified and reports success.}} | |||
{{Flink|boolean|drink|int|item|desc=Attempts to drink items as specified and reports success.}} | |||
{{Flink|boolean|create|int|item|desc=Attempts to create the specified items, following your KoLmafia settings regarding purchases to gather ingredients & require boxen.}} | |||
{{Flink|int|creatable_amount|item|desc=Returns the amount of the item that you are capable of creating given your current inventory and skills.}} | |||
{{Flink|int [item]|get_ingredients|item|desc=Returns a map where each key is one of the required ingredients, with the integer value the number required. If you don't have the skills needed to make the item, it will return an empty map.}} | |||
{{Flink|int [item]|get_related|item|string|desc=Returns associated items in a zap or fold group (see page for details).}} | |||
{{Flink|void|refresh_stash|desc=Takes a new look at the contents of your clan stash, as that section of inventory cannot be internally tracked due to access by others.}} | |||
{{Flink|boolean|is_tradeable|item|desc=Returns whether the item can be placed in the mall.}} | |||
{{Flink|boolean|is_giftable|item|desc=Returns whether the item can be traded in a gift package.}} | |||
{{Flink|boolean|is_displayable|item|desc=Returns whether the item can be put in a display case (true for all but quest items).}} | |||
{{Flink|boolean|is_npc_item|item|desc=Returns whether the item can be bought from an NPC store.}} | |||
Revision as of 23:53, 2 March 2010
int my_meat()
int my_closet_meat()
boolean have_chef()
boolean have_bartender()
int [item] get_campground()
boolean have_mushroom_plot()
boolean take_storage( int, item )
boolean take_closet( int, item )
boolean take_stash( int, item )
boolean take_display( int, item )
boolean put_coset( int, item )
boolean put_stash( int, item )
boolean put_display( int, item )
boolean take_closet( int )
boolean put_closet( int )
boolean put_shop( int, int, [int], item )
boolean buy( int, item )
boolean autosell( int, item )
boolean mall_price( item )
boolean retrieve_item( int, item )
boolean hermit( int, item )
boolean use( int, item )
boolean eat( int, item )
boolean drink( int, item )
boolean create( int, item )
int [item] get_ingredients( item )
int [item] get_related( item, string )
void refresh_stash()
boolean is_tradeable( item )
boolean is_giftable( item )
boolean is_displayable( item )
boolean is_npc_item( item )