Counts how many the player has of an item.
Edit me

CountItem

Counts how many copies the player has of an item. Remember that 0 is a false value in UPL and Python; use this function in a conditional to check for e.g. key items.

Inputs:

  • String: name of the item

Outputs:

  • Numeric: found quantity