# 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*.

![](https://2976860065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx7Nd93HqSNPpv2JhrViE%2Fuploads%2FAgIjawuicmaV4wAZbS2v%2Fimage.png?alt=media\&token=daf6b21f-0ff2-40a5-b5ae-cf6535c5338d)

## Properties

| Name                      | Description                                                                                                                                                                                                                                                                                                       |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Stat Multiplier           | When an [Item](https://docs.anyrpg.org/scriptable-objects/items) does not have manual stats enabled, multiply the base automatic stats by this amount.                                                                                                                                                            |
| Allow Random Items        | If true, random [Items](https://docs.anyrpg.org/scriptable-objects/items) 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](https://docs.anyrpg.org/scriptable-objects/items) 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](https://docs.anyrpg.org/scriptable-objects/items) of this quality is created randomly, this prefix will be added to the [Item](https://docs.anyrpg.org/scriptable-objects/items) name.                                                                                                |
| Random Stat Count         | If an [Item](https://docs.anyrpg.org/scriptable-objects/items) 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](https://docs.anyrpg.org/scriptable-objects/items) 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](https://docs.anyrpg.org/scriptable-objects/items) of this quality by this amount.                                                                                                                                                                                  |
| Sell Price Multiplier     | Multiply the base vendor sell price of any [Item](https://docs.anyrpg.org/scriptable-objects/items) 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](https://docs.anyrpg.org/scriptable-objects/items) with this quality.                                                                                                                                         |
| Quality Color             | The color that will be used for text and image backgrounds whenever an [Item](https://docs.anyrpg.org/scriptable-objects/items) of this quality is displayed in the UI.                                                                                                                                           |
| Tint Background Image     | If true, the background image if an [Item](https://docs.anyrpg.org/scriptable-objects/items) displayed in the UI will have its color set to this color, instead of black.                                                                                                                                         |

## Next Steps

* Assign this item quality to an [Item](https://docs.anyrpg.org/scriptable-objects/items).
