> For the complete documentation index, see [llms.txt](https://arckytech.gitbook.io/arckys-poke-mart-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://arckytech.gitbook.io/arckys-poke-mart-guide/settings-and-setup-file/item-categories/default-item-categories.md).

# Default Item Categories

<div align="left"><figure><img src="/files/GXAPGN4ObJfjNe0XkiaF" alt="" width="375"><figcaption><p>Item Categories</p></figcaption></figure></div>

This feature will split up the items in their respective category following the bag pocket names, they'll be ordered by alphabet. It is possible to set up custom categories as well for evolution stones for example.

As seen in the Screenshot above, the category name and page number are on the top of the item list. You can edit the names of these Default Item Categories in the 000\_PokeMart\_Settings\_and\_Setup.rb file.

```ruby
CATEGORY_NAMES = [
  "Items",
  "Medicines",
  "Poké Balls",
  "TMs & HMs",
  "Berries",
  "Mail",
  "Battle Items",
  "Key Items"
]
```

If you plan on translating your game then it might be a good idea to edit each category name in the format of `_INTL("Items")` as otherwise this won't be extracted for translation.&#x20;

Or you can use the following line instead:

```ruby
CATEGORY_NAMES = PokemonBag.pocket_names.map { |pocket| pocket.to_s }
```

This will simply make an array out of the pocket\_names attribute in the PokemonBag class.&#x20;

When you would translate or add any pockets later on, they'll be automatically added and used by the script to put items in their respective pocket/category.&#x20;

Don't worry if this method is a bit out of your league of understanding, you can do it the other way as well that I first mentioned. :D &#x20;
