# Inventory

## Feature Overview

When players buy or earn virtual or NFT virtual items those items are added to their inventory. The Inventory module is primarily supportive - players need somewhere to stash their items!

### Key Benefits

1. **NFT & Regular Virtual Items:** A player's NFT virtual items acquired in the game are also a part of their regular inventory in addition to being in their crypto wallet. This means if the player happens to lose their crypto wallet password, they lose the ability to transfer or stake their NFT virtual items, but their ability to access and use those items in-game remains unaffected.<br>
2. **Upgradeable:** Upgrading is a must-have feature in a wide variety of games, so our inventory supports the upgrading of non-consumable items. This means you can have upgradeable heroes, equipment, etc.<br>
3. **Modifiable:** If you require additional functionality not included in the SDK you may attach your own data in JSON format to virtual items used in the inventory.<br>
4. **Flexible:** Implement the UI/UX in-game based on your needs.<br>
5. **Interoperable**: Our modules also support interoperability for developers who wish to enable this functionality. An example of interoperability would be purchasing an emote in the shop for Game A and then automatically having access to that emote in the player inventory of Game B (the player must also use the PLAY account in both Game A and B).

### In-Game Implementation Examples

Inventory is yet another case where the implementation is going to depend on the genre and audience of your game.&#x20;

For example, a match-3 inventory will allow players to check their unlocked and available boosters. If the player has zero of a booster there might be a button for a player to "Get More" that will take them to the store. The purpose of the inventory screen is for a player to check their current supply.  See the image below for an example of a simple supply-based inventory of powerups.&#x20;

<figure><img src="/files/0TvAQ2KKrIX1flH8QdfL" alt=""><figcaption><p>Powerup Inventory in Match 3D Showdown</p></figcaption></figure>

{% hint style="info" %}
Consider instead an RPG where the player can manage the various equipment on their character.

The UI/UX implementation of that inventory can vary wildly since players are making comparisons and strategic choices between multiple pairs of boots (and how they work with the rest of the equipment), not just checking if they have any boots left.

It's always a good idea to find some references in games with similar requirements to see what you think works well or doesn't work well about their inventory system. It's a great way to make some informed decisions when planning your implementation.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://playnetwork.gitbook.io/play-sdk-documentation/game-design-guides/inventory.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
