Open Stocken99 opened 1 year ago
Inventories will give the player the option to choose whenever they want to use their items. The inventory will have a fixed amount of spaces. To begin with this value will be 5. Each item will occupy one space and do not stack. When an item is placed then the item is removed from the inventory the game.
The bomb-item is a special case. This item will always occupy the first place in the inventory and have an unlimited amount of uses. Ie, this item will not be removed from the game when it is placed.
Will be an array of items in the player class. Items shall be added to the array when a player moves over the item on the map. Items shall be removed from array via the PlaceItem.cs - script
Add script for placement of items and script for switching items in inventory. Which basically means the selecting and placement of items. This will also add an inventory system.