> 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/setting-up-the-events/setting-up-a-shelf-event.md).

# Setting up a Shelf Event

## Shelf Event

The way of setting up the Shelf Event is basically the same as how to do it for the Mart Events. I do recommend doing it like following so it's easier to reuse the same items for a shelf or apply changes to multiple events at once.&#x20;

In the `000_PokeMart_Settings_and_Setup.rb` file you can add this at the bottom (use notepad ++ or any other code editor program to edit this file):

```ruby
def pbSomeShelf
  pbShelfMart([:POTION, :SUPERPOTION,
    :POKEBALL, :GREATBALL, 
    :REPEL, :ETHER, 
    :ANTIDOTE, :BURNHEAL, :ICEHEAL, :AWAKENING, :PARALYZEHEAL,
  ])
end
```

{% hint style="info" %}
Just keep in mind that the default limit is 18 items that can show up at once on the UI. If you add more than 18, only the first 18 will be shown the rest will be ignored.
{% endhint %}

Inside the Shelf Event you only need to put `pbSomeShelf` or whatever you named the method.

<div align="left"><figure><img src="https://1523864583-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA8k6OdYm2B0bVeFyJUcK%2Fuploads%2Fk8idZHDtGO03idm8pPmQ%2FShelf%20Event.png?alt=media&amp;token=35c3916a-e255-4630-92df-29b9d7a580f8" alt="" width="337"><figcaption><p>Shelf Event</p></figcaption></figure></div>
