Seller Classes

List of all Seller Class parameters.


This setting is the most extensive one in the entire plugin. You can go as deep as you'd like customizing it — or choose not to use it at all.


Adding a Seller Class to the event method is simple: after the list of items, just add the Seller Class using speech: "ProSeller". Make sure the string matches the constant name defined for the class (explained below). Two example classes are included by default, including "ProSeller".

1
def pbSomeMart
2
pbPokemonMart([
3
:POKEBALL, :GREATBALL, :ULTRABALL,
4
:POTION, :SUPERPOTION, :HYPERPOTION, :MAXPOTION,
5
:FULLRESTORE, :REVIVE,
6
:ANTIDOTE, :PARALYZEHEAL, :AWAKENING, :BURNHEAL, :ICEHEAL,
7
:FULLHEAL,
8
:REPEL, :SUPERREPEL, :MAXREPEL
9
], speech: "ProSeller", useCat: true)
10
end

The Seller Class defined everything the seller says to the player. Normally, the seller repeats the same generic lines — but with this setup, you can make them sound much more dynamic and natural by adding variation based on the player's actions.

1
ProSeller = {
2
# Text when talking to them. This is the default one.
3
IntroText: ["Good Day, welcome, how may I serve you?", "Hello, welcome, what can I mean for you?", "Hello, Welcome what can I get for you?"],
4
# Text when choosing to buy item. (optional: If you make this empty( [] ), you'll go to the buy screen directly.)
5
CategoryText: [], # or CategoryText: ["Which Category would you like to view?"],
6
# Text when choosing amount of item. {1} = item name.
7
BuyItemAmount: ["So how many {1}?"],
8
# Text when choosing amount of item with discount. {1} = item name {2} = discount price {3} = original price.
9
BuyItemAmountDiscount: ["There's a discount on {1}, they're ${2} instead of ${3}. How many would you like?"],
10
# Text when choosing amount of item with overcharge. {1} = item name {2} = overcharge price {3} = original price.
11
BuyItemAmountOvercharge: ["There's overcharge on {1}, you must pay ${2} instead of ${3}. So how many?"],
12
# Text when buying 1 of an item. {1} = item vowel {2} = item name {3} = price.
13
BuyItem: ["So you want {1} {2}?\nIt'll be ${3}. All right?", "So you would like to buy {1} {2}?\nThat's going to cost you ${3}!"],
14
# Text when buying 2 or more of an item. {1} = amount {2} = item name (plural) {3} = price.
15
BuyItemMult: ["So you want {1} {2}?\nThey'll be ${3}. All right?"],
16
# Text when buying important item (that you can only buy 1 off). {1} = item name {2} = price.
17
BuyItemImportant: ["So you want {1}?\nIt'll be ${2}. All right?"],
18
# Text when wanted item is out of stock. {1} = item name (plural) {2} = time in days (tomorrow, in 2 days, in x days, in a week, next week etc.)
19
BuyOutOfStock: ["We're really sorry, this item is currently out of stock. Come back {2}!", "We're sorry but we don't have any {1} left. Come back {2}!", "Come back {2} when we have more {1}."],
20
# Text when bought item.
21
BuyThanks: ["Here you are! Thank you!"],
22
# Text when 10 of a kind of pokeballs are bought. {1} = item name.
23
BuyBonus: ["And have 1 {1} on the house!"],
24
# Text when 20 or more of a kind of pokeballs are bought. {1} = amount {2} = item name.
25
BuyBonusMult: ["And have {1} {2} on the house!"],
26
# Text when you don't have enough money to buy x item(s).
27
NotEnoughMoney: ["You don't have enough money."],
28
# Text when you don't have enough room in your bag. (Only used if you have an item limit).
29
NoRoomInBag: ["You have no room in your Bag."],
30
# Text when selecting an item to sell. {1} = item name
31
SellItem: ["How many {1} would you like to sell?"],
32
# Text when confirming amount of selected item to sell. {1} = price
33
SellItemConfirm: ["I can pay ${1}.\nWould that be OK?"],
34
# Text when unable to sell selected item. {1} = item name
35
CantSellItem: ["Oh, no. I can't buy {1}."],
36
# Text when returning to menu to choose either buying, selling or exit.
37
MenuReturnText: ["Is there anything else I can do for you?", "What else could I mean for you today?"],
38
# Text when the NPC is checking the items in the basket. {1} = list of each amount and item {2} = total price to pay.
39
BillCheckOut: ["Your basket contains {1} which comes to a total of {2}, please."]
40
# Text when exiting.
41
OutroText: ["Do come again!", "Thank you, I hope to see you again.", "Thank you for your purchase, come again!"]
42
}
Hint

You don't need to fill every field — only the ones you care about. Unused fields will use the default lines provided by the plugin.