# Inventool Localization Settings

## 🌐 InventoolLocalizationSettings Class

Container ScriptableObject holding all localization table names and localization key groups.

> **Namespace:** `Esper.Inventool.Localization`\
> **Access:** `public`\
> **Type:** `class`\
> **Inherits:** `ScriptableObject`

***

#### 📦 Fields

| Access   | Field                             | Type                              | Description                                            |
| -------- | --------------------------------- | --------------------------------- | ------------------------------------------------------ |
| `public` | `uiTableName`                     | `string`                          | Localization table name used for most UI.              |
| `public` | `statsTableName`                  | `string`                          | Localization table name used for stats and attributes. |
| `public` | `itemTableName`                   | `string`                          | Localization table name used for item text.            |
| `public` | `inventoolWindowLocalizationKeys` | `InventoolWindowLocalizationKeys` | Keys for main Inventool window UI text.                |
| `public` | `storageWindowLocalizationKeys`   | `StorageWindowLocalizationKeys`   | Keys for storage window UI text.                       |
| `public` | `confirmPromptLocalizationKeys`   | `ConfirmPromptLocalizationKeys`   | Keys for confirm prompt titles and descriptions.       |
| `public` | `quantityPromptLocalizationKeys`  | `QuantityPromptLocalizationKeys`  | Keys for quantity prompt titles and buttons.           |
| `public` | `actionMenuLocalizationKeys`      | `ActionMenuLocalizationKeys`      | Keys for action menu entries (equip, use, drop, etc.). |
| `public` | `hoverDetailsLocalizationKeys`    | `HoverDetailsLocalizationKeys`    | Keys for hover details labels (level, durability).     |

***

### 🧩 Nested Structs (Key Groups)

All nested types are plain data structs grouping related localization key names.

#### InventoolWindowLocalizationKeys

| Field             | Type     | Description                   |
| ----------------- | -------- | ----------------------------- |
| `inventoryTitle`  | `string` | Key for inventory title.      |
| `equipmentTitle`  | `string` | Key for equipment title.      |
| `keyItemsTitle`   | `string` | Key for key items title.      |
| `craftingTitle`   | `string` | Key for crafting title.       |
| `enchantingTitle` | `string` | Key for enchanting title.     |
| `shopTitle`       | `string` | Key for shop title.           |
| `inventoryTab`    | `string` | Key for inventory tab label.  |
| `craftingTab`     | `string` | Key for crafting tab label.   |
| `enchantingTab`   | `string` | Key for enchanting tab label. |
| `keyItemsTab`     | `string` | Key for key items tab label.  |
| `noFilter`        | `string` | Key for "no filter" label.    |
| `craftButton`     | `string` | Key for craft button label.   |
| `enchantButton`   | `string` | Key for enchant button label. |
| `closeButton`     | `string` | Key for close button label.   |
| `emptyText`       | `string` | Key used for empty list text. |

#### ConfirmPromptLocalizationKeys

| Field                                      | Type     | Description                             |
| ------------------------------------------ | -------- | --------------------------------------- |
| `cancelKey`                                | `string` | Key for cancel button.                  |
| `confirmKey`                               | `string` | Key for confirm button.                 |
| `okKey`                                    | `string` | Key for OK button.                      |
| `generalFailureTitleKey`                   | `string` | General failure title key.              |
| `enchantingFailedTitleKey`                 | `string` | Enchanting failure title key.           |
| `craftingFailedTitleKey`                   | `string` | Crafting failure title key.             |
| `sellingFailedTitleKey`                    | `string` | Selling failure title key.              |
| `unknownErrorTitleKey`                     | `string` | Unknown error title key.                |
| `buyItemTitleKey`                          | `string` | Buy item title key.                     |
| `sellItemTitleKey`                         | `string` | Sell item title key.                    |
| `dropItemTitleKey`                         | `string` | Drop item title key.                    |
| `enchantingFailedDescriptionKey`           | `string` | Enchanting failure description key.     |
| `craftingFailedDescriptionKey`             | `string` | Crafting failure description key.       |
| `sellingFailedDescriptionKey`              | `string` | Selling failure description key.        |
| `unknownErrorDescriptionKey`               | `string` | Unknown error description key.          |
| `insufficientResourcesErrorDescriptionKey` | `string` | Insufficient resources description key. |
| `noSpaceErrorDescriptionKey`               | `string` | No space description key.               |
| `goodsNotProvidedErrorDescriptionKey`      | `string` | Goods not provided description key.     |
| `buyItemDescriptionKey`                    | `string` | Buy item description key.               |
| `sellItemDescriptionKey`                   | `string` | Sell item description key.              |
| `dropItemDescriptionKey`                   | `string` | Drop item description key.              |

#### QuantityPromptLocalizationKeys

| Field              | Type     | Description                |
| ------------------ | -------- | -------------------------- |
| `cancelKey`        | `string` | Cancel button key.         |
| `confirmKey`       | `string` | Confirm button key.        |
| `buyItemTitleKey`  | `string` | Buy dialog title key.      |
| `sellItemTitleKey` | `string` | Sell dialog title key.     |
| `dropItemTitleKey` | `string` | Drop dialog title key.     |
| `depositTitleKey`  | `string` | Deposit dialog title key.  |
| `withdrawTitleKey` | `string` | Withdraw dialog title key. |

#### StorageWindowLocalizationKeys

| Field   | Type     | Description               |
| ------- | -------- | ------------------------- |
| `title` | `string` | Storage window title key. |

#### ActionMenuLocalizationKeys

| Field          | Type     | Description           |
| -------------- | -------- | --------------------- |
| `equipKey`     | `string` | Equip action key.     |
| `unequipKey`   | `string` | Unequip action key.   |
| `useKey`       | `string` | Use action key.       |
| `dropKey`      | `string` | Drop action key.      |
| `craftKey`     | `string` | Craft action key.     |
| `dismantleKey` | `string` | Dismantle action key. |
| `enchantKey`   | `string` | Enchant action key.   |
| `sellKey`      | `string` | Sell action key.      |
| `buyKey`       | `string` | Buy action key.       |
| `withdrawKey`  | `string` | Withdraw action key.  |
| `depositKey`   | `string` | Deposit action key.   |
| `removeKey`    | `string` | Remove action key.    |

#### HoverDetailsLocalizationKeys

| Field           | Type     | Description           |
| --------------- | -------- | --------------------- |
| `lvlKey`        | `string` | Level label key.      |
| `durabilityKey` | `string` | Durability label key. |
