UO.SetShop

From OpenEUO
Revision as of 13:31, 8 October 2010 by 76.184.213.234 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
local bres = UO.SetShop(id,num)

Changes the amount to purchase in a shopping gump given by an item's id. Important caveats below.

  • Before calling UO.SetShop you have to add at least one item to the buy list. This means you first have to double click the item so it gets added to the buy list with amount equal to 1, then you may call UO.SetShop to change that amount.
  • Despite the fact that using UO.SetShop will not update the graphics in the buy gump, the amount to sell is set in the client's memory.

UO.GetShop