Version: 0.4.2
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
InheritedOptionalA comment to keep track of what this fact is used for.
Item
RequiredThe item to check for.