Function:

BuyPrice(x)

You can access the last known buy prices for resources via script with this function... X of course would be a number 0-3 (0 = food, 1 = wood, 2 = stone, 3 = iron)

Example:

echo BuyPrice(0)

will return last known bid (buy) price for food


ScriptResource

BuyPrice (last edited 2013-10-13 01:10:10 by tech)