Difference between revisions of "Autosell price"
Jump to navigation
Jump to search
imported>Jasonharper m (Explanation of negative values) |
imported>StDoodle m |
||
Line 15: | Line 15: | ||
}}| | }}| | ||
− | function_description=Returns the autosell price of item {{pspan|it}}, or a value <= 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. For most items that cannot be autosold, such as common Quest Items, this value will be 0. 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| | ||
Line 21: | Line 21: | ||
see_also={{SeeAlso|autosell}}| | see_also={{SeeAlso|autosell}}| | ||
}} | }} | ||
− |
Revision as of 14:48, 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. For most items that cannot be autosold, such as common Quest Items, this value will be 0. 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