Malibu Stacey
Active member
Currently if you use acquire on the cli or the retrive_item/retrieveItem functions they do a bunch of mall checks and calculate the cheapest way to acquire the supplied item e.g.
It's calculated that buying at 750 meat from @reverkiller 's store is currently cheaper than crafting from shroomtini's or cocktail mushrooms ([edit] I should say this is not always the case as Rever intentionally dumped a bunch of low priced ones in his store today, most days when I do this it will craft them depending on the price of the ingredients to get them as cheaply as possible). As a person who writes scripts which care about item costs it would be very useful if that calculated value was accessible as it's a much more accurate value for the cost to acquire the item in question than the value returned by mall_price/mallPrice or historical_price/historicalPrice.
Thanks.
Code:
ash retrieve_item(20, $item[moreltini])
Searching for "bottle of gin"...
Search complete.
Searching for "fermenting powder"...
Search complete.
Searching for "juniper berries"...
Search complete.
Searching for "shroomtini"...
Search complete.
Searching for "bottle of gin"...
Search complete.
Searching for "fermenting powder"...
Search complete.
Searching for "juniper berries"...
Search complete.
Searching for "cocktail mushroom"...
Search complete.
Searching for "moreltini"...
Search complete.
Searching for "shroomtini"...
Search complete.
Searching for "bottle of gin"...
Search complete.
Searching for "fermenting powder"...
Search complete.
Searching for "juniper berries"...
Search complete.
Searching for "cocktail mushroom"...
Search complete.
Searching for "olive"...
Search complete.
Using cached search results for moreltini...
Purchasing moreltini (20 @ 750 = 15,000) from #892618...
Purchases complete.
It's calculated that buying at 750 meat from @reverkiller 's store is currently cheaper than crafting from shroomtini's or cocktail mushrooms ([edit] I should say this is not always the case as Rever intentionally dumped a bunch of low priced ones in his store today, most days when I do this it will craft them depending on the price of the ingredients to get them as cheaply as possible). As a person who writes scripts which care about item costs it would be very useful if that calculated value was accessible as it's a much more accurate value for the cost to acquire the item in question than the value returned by mall_price/mallPrice or historical_price/historicalPrice.
Thanks.
Last edited: