Skip to main content
 Warning: Beta Version
Version: Beta ⚠️

Inventory Item Count Fact

The Inventory Item Count Fact is a fact that returns the amount of a specific item in the player's inventory.


This fact can only be read, not written to. Hence, it is only suitable for criteria.

How could this be used?

This could be used to check if the player has a specific item in their inventory, or to check if they have a specific amount of an item. Like giving the player a quest to collect 10 apples, and then checking if they have 10 apples in their inventory.

Fields

Comment

InheritedOptional
A comment to keep track of what this fact is used for.

Group

Required

Item

Required

The item to check for.