An item represents anything that the player is able to pick up and collect in their inventory or place into item containers. This includes potions, keys, weapons, or even quest items that the player must retrieve for an NPC. The items for your game are defined in the Item Editor.
Retrieving an item's name and description:
$item_name = item["ITEM_0001"].name; $item_desc = item["ITEM_0001"].description;
Retrieving the ID and count (i.e. stack size) of an item in a storage slot:
$item_id = widget["test"].element["0001"].item.id; $item_count = widget["test"].element["0001"].item.count;