ShopItemID
From Wiki
(Redirected from Var shopItemID)
⇒ | The #shopItemID system variable determines the item ID of the current line on the shop menu. |
Note: | To initialize this variable, you need to call getShopInfo. |
See Also
Shop
- The shop system variables allow you to work with NPC vendor gumps through the use of the getShopInfo command.
#shopCurPos | ⇒ | Returns the current position on the shop menu |
#shopCnt | ⇒ | Returns the total number of lines on the shop menu |
#shopItemType | ⇒ | Returns the item type of the current line on the shop menu |
#shopItemID | ⇒ | Returns the item ID of the current line on the shop menu |
#shopItemName | ⇒ | Returns the name of the item the current line on the shop menu |
#shopItemPrice | ⇒ | Returns the price of the current line in the shop menu |
#shopItemMax | ⇒ | Returns the number of items in the stack of the current line in the shop menu |