> For the complete documentation index, see [llms.txt](https://docs.anyrpg.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anyrpg.org/scriptable-objects/items/bag.md).

# Bag

## Creation

To create a bag, find (or create) the *GameName/Resources/GameName/Item* folder (or any subfolder) in the project tab and right click.  Choose *Create > AnyRPG > Inventory > Items > Bag*.

## Properties

In addition to the properties shared by all [Items](/scriptable-objects/items.md), bags have the following unique properties.

| Name  | Description                                                                                 |
| ----- | ------------------------------------------------------------------------------------------- |
| Slots | The number of spaces the inventory (or bank) will be expanded by when this bag is equipped. |

## Next Steps

* Configure the *Default Backpack Item* field in the System Configuration Manager of a game to make this bag the default backpack for a new player.
* Add a bag to a [Vendor Collection](/scriptable-objects/vendor-collection.md) so it can be purchased from a [Vendor](/scriptable-objects/interactable-option-configurations/vendor-config.md).
* Add a bag to a [Loot Table](/scriptable-objects/loot-table.md) so that it can drop upon defeat of an enemy.
* Add a bag as an output of a [Recipe](/scriptable-objects/recipe.md) so it can be crafted.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.anyrpg.org/scriptable-objects/items/bag.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.
