Settings and Setup file

The different customization options this plugin offers.


Settings

Below are the links to each of the customizable features available in this plugin:


Setup

Since v1.4.0, the way you provide settings to a Mart or Shelf event has changed — and improved!

  • You no longer need to worry about the order of arguments (except for the item list, which should always come first).
  • Here's how you'd define a Mart event:

Each optional argument is explained below and in more detail on its corresponding Settings page.


speech: "string"

This lets you assign a specific Seller Class to the event.

➡️See Seller Class for more info.


useCat: true / false

This enables or disables Item Categories.


Discount: number

Use this to apply a discount by refering a Game Variable ID:


currency: "string"

Sets which currency the Mart or Shelf should use. Valid default values:

  • "money" or "gold"
  • "coins"
  • "bp" or "battle points"

cantSell: true / false

Disables the ability to sell items in this event. This is optional and defaults to false (meaning selling is allowed).


billEnd: true / false

If enabled, the Mart event will end after paying the bill.


random: ["string", number]

Use this to select a specific or random amount of items from the given item list.

  • The first element is the refresh time for items to be repicked randomly.
  • The second element is the amount of items you want to be selected randomly.

Allowed refresh times are the same as the Refresh Rate for Item Limits with exception for "random" not being supported.


  • select a fixed amount.
  • select a random amount.

Attention

Note: The only options not supported for pbShelfMart (Shelf events) are useCat, cantSell and billEnd. All other options are shared between Shelf and Mart events.

Attention

Note: The only options supported for pbSpeciesMart (Species events) are speech, discount, currency and random. All other options are not supported.