Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Merchant Tables
The video dates from before RPG Builder 2.0 however what is explained is still accurate to a degree, the thing to keep in mind is the editor UI has changed
Merchant Tables are now located in Economy > Merchant Tables
To assign a Merchant Table go to AI > NPCs > Your NPC > Functions. Now enable the "Merchant?" checkbox, this opens a field "Merchant Text" this is the text that will show as a dialogue option, clicking this during dialogue will instantly open the merchant panel.
Once "Merchant?" is enabled you will also get a new tab, this tab is where the Merchant Table can be defined (AI > NPCs > Your NPC > Merchant Tables)
Merchant tables makes it possible for your NPCs to sell the items of your choice.
Generic Fields
Field Name | Function |
|---|---|
ID | The ID of this asset data element. Automatically generated. |
Name | Name of the asset data in the project and editor. |
File Name | The name of the file in the project. Automatically generated. |
Display Name | The name that will be displayed to the player. |
Items
Click the Add Item button to add an item entry to the list of items for this Merchant Table.
Field Name | Function |
|---|---|
Item | The item to be sold. |
Currency | The currency of the sell price. |
Cost | The sell price. |
Merchants will convert the currency based on your defined values in Currencies
For example: you have Copper, Silver and Gold as currencies, 100 Copper becomes 1 Silver and 100 Silver becomes 1 Gold.
If you then tell the merchant table that the item costs 100 Copper it will automatically convert this to 1 Silver ingame.
Go to your item entry in Economy > Items > [Your Item]
In the "General" section you have "Resell Settings" in there define a currency and an amount this amount will be its resell value.
Go to a merchant and right click your item to sell it
Note: the same currency conversions principle applies here as well. Assuming the same settings from above, if you give the item a resell currency of 100 Copper you will gain 1 Silver upon selling the item
