# Vendor Collection

## Creation

To create a vendor collection, find (or create) the *GameName/Resources/GameName/VendorCollection* folder in the project tab and right click.  Choose *Create > AnyRPG > VendorCollection*.

## Properties

Vendor Collections have a single property, *Vendor Items*, which is a list with each element having the following fields.

| Name              | Description                                                                                                                                                                                                 |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Item Name         | The name of an [Item](/scriptable-objects/items.md) that can be purchased.                                                                                                                                  |
| Quantity          | The amount of this [Item](/scriptable-objects/items.md) that can be purchased.  This field is ignored if *Unlimited* is true.                                                                               |
| Unlimited         | If true, there is no limit to the number of this [Item](/scriptable-objects/items.md) that can be purchased.                                                                                                |
| Item Quality Name | The name of an [Item Quality](/scriptable-objects/item-quality.md).  If this field is not empty, the [Item](/scriptable-objects/items.md) purchased will be of this quality instead of its default quality. |

## Next Steps

* Add a vendor collection to a [Vendor](/scriptable-objects/interactable-option-configurations/vendor-config.md).


---

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