Inventory

The **Inventory** is a UI (User Interface) window where the Player's held items are displayed, accessed and used during gameplay. It can be accessed by selecting the Backpack button at the bottom right of the screen.

## Overview

The Inventory can contain up to **21** slots as of the latest game update. The Player starts with **6** slots unlocked. The inventory's capacity can be increased by equipping backpacks. Items can also be moved between the inventory and other containers.

## Functionality

To use an item from the inventory, the Player must select a non empty slot. This will prompt a new window to be displayed in the center of the screen. This window will contain all information about the currently selected item, and offer multiple functions the Player can make use of.

### Item Window

Whenever the Player selects a non empty slot in the inventory, this window will be displayed. It is composed of the following sections:

#### Header

This section includes the slot's item name and icon. There is also an X button that will close the window and deselect the slot.

#### Center

The center section contains the bulk of information about the slider's item. First, a short description of the item. This is followed by the value and possibly effects of the item. The value and effects (If any) of the item are multiplied by a quantity slider at the bottom of the section.

The slider will always be set to 1 whenever the window is displayed. Dragging the slider changes the amount of items in the slot that are selected. This will update the value and effects (if any) displays.

#### Footer

The footer contains all functions the Player can make use of.

### Functions

The functions in the footer will apply certain actions to the slot. These actions are tied to the quantity slider's current value. For instance, if the Player drags the quantity slider to 5 and then taps the "Discard" item, it will discard 5 of the items in the current slot.

#### Discard

This action will destroy the specified amount of items from the slot. The Player cannot discard more items than they have in the current slot, nor discard an indestructible item.

#### Split

This action will remove the specified amount of items from the slot and add them to the next available slot. The split action will be disabled if the Player only has 1 of the item in the current slot, or if they do not have any other available slots to split into.

#### Use

This action will make the Player **hold** an item. The Player can hold an item for 5 real-life seconds before it is deselected. Performing an illegal action or closing the item or inventory window will instantly deselect the currently held item.

Most of the time, the Player will be prompted by the game to hold an item. An example of this is when the Player selects a farm plot. This will open up the inventory (If it is closed), and the Player may choose a seed to hold. If they do so, the Player will plant in the farm plot.

One example of the Player using an item out of context is by holding a seed item, and then selecting a farm plot. Effectively the reverse of the above scenario. This will also prompt the Player to plant in the farm plot.

## Receiving Items

Whenever the Player acquires an item, the inventory will add it to the first slot available that contains the item already. If none exist, it will instead attempt to find an available empty slot. If it still doesn't succeed, it will play an error sound and an animation.

If the Player attempts to purchase an item with a full inventory, it will simply play an error sound and not deduct the Player's currency. If the Player attempts to harvest a resource with a full inventory, the Player will monologue `I **cannot** hold this many items!`

## Selling Items

In order to sell an item, the Player can simply open the inventory (If it is closed), and select the slot that contains the item they wish to sell. This will prompt the game to display a screen for selling the item, and in which quantity. Items that are not tradeable cannot be sold. Similarly, some shops have restrictions on what the Player can sell to them, while some don't accept selling at all.