# Item Quality

## Creation

To create an item quality, find (or create) the *GameName/Resources/GameName/ItemQuality* folder in the project tab and right click.  Choose *Create > AnyRPG > ItemQuality*.

## Properties

| Name                      | Description                                                                                                                                                                                                                                                                                   |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Stat Multiplier           | When an [Item](/scriptable-objects/items.md) does not have manual stats enabled, multiply the base automatic stats by this amount.                                                                                                                                                            |
| Allow Random Items        | If true, random [Items](/scriptable-objects/items.md) of this quality can be created.                                                                                                                                                                                                         |
| Random Weight             | When a random item quality is chosen, all weights are added up before a number if chosen.  This controls the chance an [Item](/scriptable-objects/items.md) of this quality will be created.  A larger number in relation to other numbers of other item qualities will give a higher chance. |
| Random Quality Prefix     | If not empty, and an [Item](/scriptable-objects/items.md) of this quality is created randomly, this prefix will be added to the [Item](/scriptable-objects/items.md) name.                                                                                                                    |
| Random Stat Count         | If an [Item](/scriptable-objects/items.md) of this quality is created with random stats, this is the number of random stats that will be chosen.                                                                                                                                              |
| Dynamic Item Level        | If true, any [Item](/scriptable-objects/items.md) of this quality will automatically scale their level, regardless of whether they individually have level scaling enabled.                                                                                                                   |
| Buy Price Multiplier      | Multiply the base purchase price of any [Item](/scriptable-objects/items.md) of this quality by this amount.                                                                                                                                                                                  |
| Sell Price Multiplier     | Multiply the base vendor sell price of any [Item](/scriptable-objects/items.md) with this quality by this amount.                                                                                                                                                                             |
| Require Sell Confirmation | If true, a popup window will appear asking the player to confirm any time they try to sell an [Item](/scriptable-objects/items.md) with this quality.                                                                                                                                         |
| Quality Color             | The color that will be used for text and image backgrounds whenever an [Item](/scriptable-objects/items.md) of this quality is displayed in the UI.                                                                                                                                           |
| Tint Background Image     | If true, the background image if an [Item](/scriptable-objects/items.md) displayed in the UI will have its color set to this color, instead of black.                                                                                                                                         |

## Next Steps

* Assign this item quality to an [Item](/scriptable-objects/items.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/item-quality.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.
