Shelf Event Setup
How to set up a Shelf event.
Shelf Event
Setting up a Shelf event is essentially the same as a regular Mart event — but with one key difference: you use pbShelfMart
instead of pbPokemonMart
.
For easier reusability and organization, it's recommended to define your shelf's item list as a method.
In the 000_PokeMarket_Settings_and_Setup.rb
file, add the following at the bottom:
(use Nodepad++ or any code editor to modify this file)
AttentionImportant: The UI can only show up to 18 items at once.
If you add more than 18, only the first 18 will be displayed — the rest will be ignored.
Inside your Shelf event, simply call the method like this:
This makes it easier to reuse item lists across different shelves and apply changes globally by just updating the method once.
