Autosell price: Difference between revisions
Jump to navigation
Jump to search
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}…' |
imported>Jasonharper m Explanation of negative values |
||
Line 15: | Line 15: | ||
}}| | }}| | ||
function_description=Returns the autosell price of item {{pspan|it}}, or 0 if the item cannot be autosold.| | function_description=Returns the autosell price of item {{pspan|it}}, or a value <= 0 if the item cannot be autosold. The value will be presented as a negative number in a few unusual cases where an item can't be autosold, but does have a defined value detectable by other means: a Mall minimum price other than 100, or a price in one of the sign restaurants. The laser-broiled pear is an example of a non-autosellable item with a value detectable both ways.| | ||
needscode=yes| | needscode=yes| |
Revision as of 13:39, 5 March 2010
needs(code_samples);
Function Syntax
- it is the item to check the price of
Returns the autosell price of item it, or a value <= 0 if the item cannot be autosold. The value will be presented as a negative number in a few unusual cases where an item can't be autosold, but does have a defined value detectable by other means: a Mall minimum price other than 100, or a price in one of the sign restaurants. The laser-broiled pear is an example of a non-autosellable item with a value detectable both ways.
See Also
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)