GetStoreDrink
Prototype: GemRB.GetStoreDrink (index)
Description: Gets the name, strength and price of a store drink referenced by the index.
Parameters:
- index - the number of the drink in the store list
Return value: dictionary
- ‘DrinkName’ - the StrRef of the drink name
- ‘Strength’ - the strength if the drink (affects rumour and intoxication)
- ‘Price’ - the price of the drink (subtract this from the party gold)
See also: EnterStore, GetStoreCure, GetStore
Back to function index, GUIScript introduction.