{{Flink|boolean|autosell|int|item|desc=Attempts to autosell the given items and reports success.}}
{{Flink|boolean|autosell|int|item|desc=Attempts to autosell the given items and reports success.}}
{{Flink|int|craft|string|int|item|item|desc=Raw crafting that obeys KoLmafia settings (see page for details).}}
{{Flink|int|craft|string|int|item|item|desc=Raw crafting that obeys KoLmafia settings (see page for details).}}
==Coinmaster Control==
Some items can be bought from or sold to various "coinmasters" which are like shops that deal in a currency other than meat. These coinmasters include the Dimemaster and Quartermaster during the Island War, the Hermit, the Mr. Store and many others. Some relevant information can be found in [[proxy records]] for the item and coinmaster data types. The rest is controlled by the following functions.
===Utility functions===
{{Flink|coinmaster|to_coinmaster|string|item|desc=Converts a string to a valid coinmaster.}}
{{Flink|boolean|is_coinmaster_item|item|desc=Is a given item acquirable from a coinmster.}}
{{Flink|coinmaster|buys_item|item|desc=Returns the coinmaster that will buy a given item.}}
{{Flink|coinmaster|sells_item|item|desc=Returns the coinmaster that will sell a given item.}}
===Inquiries===
{{Flink|boolean|buys_item|coinmaster|item|desc=Is a specific item acquirable from the named coinmster.}}
{{Flink|int|buy_price|coinmaster|item|desc=What is the coinmaster's purchase price for an item.}}
{{Flink|boolean|sells_item|coinmaster|item|desc=Is a specific item sellable to the named coinmster.}}
{{Flink|int|sell_price|coinmaster|item|desc=What is the coinmaster's selling price for an item.}}
===Coinmaster transactions===
{{Flink|boolean|is_accessible|coinmaster|desc=Is a given coinmaster currently accessible.}}
{{Flink|string|inaccessible_reason|coinmaster|desc=The reason a given coinmaster is currently inaccessible.}}
{{Flink|boolean|visit|coinmaster|desc=Refreshes information at a coinmaster.}}
{{Flink|boolean|buy|coinmaster|int|item|desc=Buys an item from a coinmaster.}}
{{Flink|boolean|sell|coinmaster|int|item|desc=Sells an item to a coinmaster.}}
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.
Returns the age of the most recently checked price for an item in days. This allows you to decide if you want to use historical_price() or mall_price().
Attempts to take or put the specified item in the appropriate section of your inventory, and returns its success. If the item parameter is omitted from put_closet() or take_closet(), meat is transferred instead of an item.