From OpenKore Wiki
Revision as of 18:13, 15 November 2010 by Technology (Talk | contribs) (Reverted edits by Afuvuco (Talk) to last revision by Mushrom)

Jump to: navigation, search

If your character has the Vending Skill, Kore can setup a shop and vend items. The file shop.txt allows you to specify the shop name and the items to be put in the shop with the corresponding price and amount when Kore opens your shop.

You can open a shop manually by typing the openshop command in the console. You can also setup Kore to automatically open a shop when it has been idle for a certain amount of time (see shopAuto_open in config.txt). It is advisable to disable all other actions like random walk, auto-attack, auto-skill use, item auto-gather, etc. while vending.


The first line in this file is the shop title. A shop title is required: you cannot have a shop without a title. The subsequent lines specify the items that you want to put in your shop. Those lines observe the following format:

<item name> (TAB(s)) <price> (TAB(s)) <amount>


<item name>
This is the full name of an item as it exactly appears in the cart list.

This is the price of the item. This value can have commas (e.g. 2,000). If it has commas, it must appear at the right places. This can be useful to prevent you from accidentally specifying the wrong price for an item.

This specifies the amount of a stackable item to vend. This value is optional. If it is not given, the maximum amount of that item will be put in the shop.

Note. You can't use this for non-stackable items (like armors). If you want to sell multiple armors, you must put multiple entries in your shop.txt.


The following example will create a shop called "My Little Shop", with all Red Potions that you have in cart, for 39z each, and two Andre Cards, for 150,000z each.

My Little Shop
Red Potion	39
Andre Card	150,000	2

If you want to sell two 3-slotted Stilettos, for 50,000z each. This example is wrong:

My Little Shop
Stiletto [3]    50,000	2

Stilettos (weapons) are non-stackable items. This is the correct example:

My Little Shop
Stiletto [3] 	50,000	1
Stiletto [3] 	50,000	1