
Prototype: GemRB.GetItem(ResRef)

Description: Returns dictionary with the specified item's data.

Parameters: ResRef - the resource reference of the item

Return value: dictionary
The fields of the dictionary are the following:
"ItemName"           - strref of unidentified name.
"ItemNameIdentified" - strref of identified name.
"ItemDesc"           - strref of unidentified description.
"ItemDescIdentified" - strref of identified description.
"ItemIcon"           - the item's icon (.bam resref)
"StackAmount"        - maximum stackable amount
"Dialog"             - item dialog (.dlg resref)
"Function"           - returns special function
  0 - no special function
  1 - item is a copyable scroll (2. header's 1. feature is 'Learn spell')
  2 - item is a drinkable potion 

See also: GetSpell, SetItemIcon

