Historical price

From Kolmafia
Revision as of 22:59, 5 May 2010 by imported>Bale (created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

int historical_price(item shop_for )

  • shop_for is the item to inquire on the mall price of

Returns the most recently seen mall price of the given item, following the same restrictions as mall_price(). Unlike mall_price() this function will never hit the server. To update to a more recent price you can use mall_price() (if you haven't called it for that item yet this session) or purchase some of shop_for in the mall.

CLI Equivalent

The CLI command "searchmall" also returns current mall prices.

See Also

historical_age() | mall_price()