I am unable to help a student with is project.
Here is the link:Code.org - Game Lab
Here is the problem:
I’m trying to make an inventory. I have food, walls, fire and other things as variables right now, and they are able to be increased and decreased as you craft, use or mine them. The thing is, I want there to be only 7 different spaces in the inventory. Each has a sprite, and a variable that can be increased if you get more. For example, if you had 5 wood, it would not take up 5 spaces in your inventory, it would have a sprite(image of wood) with the wood count variable number(5) next to it. if I get more categories of items, then the inventory boxes get used up. I want there to be a maximum of 7 different boxes, and if you get a new item, but already have all your boxes filled, the item variable stays at 0. so if you have your boxes filled up, and then you mine wood, you just wouldn’t get the wood, and your wood count variable would still equal 0.
Thank you for any help!!