Autosell price

From Kolmafia
Revision as of 13:18, 5 March 2010 by imported>StDoodle (Created page with '{{#vardefine:name|autosell_price}} {{#vardefine:return_type|int}} {{FunctionPage| name={{#var:name}}| function_category=Item Management| function1={{Function| name={{#var:name}…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



needs(code_samples);

Function Syntax

int autosell_price(item it )

  • it is the item to check the price of

Returns the autosell price of item it, or 0 if the item cannot be autosold.

See Also

autosell()


Attention KoLmafia Experts!

We need your help; some details of this function's operation are unknown or unclear.

The following specific question has been raised:

  • Is there something I'm not thinking of, as the old description said non-autosell items returned a negative value?
    Tested items included quest keys, macguffin diary & useless powder (all returned 0)