# Conditions

The **Inventory** module includes a set of **Conditions** that complement **Game Creator**'s and allow to *check* whether an **Item** can be bought, if the player has a certain amount of items, etc...

## Condition Can Buy

Checks whether an **Item** or an amount of **Items** can be bought with the current amount of currency.

![](https://2174264233-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAqwYovmUPn5V6CMeID%2F-LB793lWbzsBreHBpz6h%2F-LB79sJkOQZmpS0z0oDt%2Finventory-condition-can-buy.jpg?alt=media\&token=9f9bd894-68a4-4882-abec-0ab6c23102b4)

## Condition Enough Currency

Checks whether the player has at least the amount specified of currency.

![](https://2174264233-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAqwYovmUPn5V6CMeID%2F-LB793lWbzsBreHBpz6h%2F-LB79uYDJU5cpLnfDvv1%2Finventory-condition-enough-currency.jpg?alt=media\&token=73a53219-005b-4e24-8d05-9cd2d02a84a2)

## Condition Enough Items

Checks whether the player is carrying at least the amount of specified of items.

![](https://2174264233-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAqwYovmUPn5V6CMeID%2F-LB793lWbzsBreHBpz6h%2F-LB79wmOKTM6uWV_rhuQ%2Finventory-condition-enough-items.jpg?alt=media\&token=cedd67e9-c264-4563-a6fe-b54b31379692)

## Condition Recipe Exists

Checks whether a combination of two **Items** will result into something. If no **Recipe** is found to contain these two **Items** then it returns false.

![](https://2174264233-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAqwYovmUPn5V6CMeID%2F-LB793lWbzsBreHBpz6h%2F-LB79yFhRfhSqDiPgIVY%2Finventory-condition-recipe-exists.jpg?alt=media\&token=fcea7883-9914-4a87-b2c1-89dba158c971)
