Here is a quick example how you can create an Item Shop inside your game.
If you don't have enough money the game won't let you purchase the item.





DOWNLOAD EXAMPLE: purchase_item.mfa