shop.txt
Shop name, items to be put in the shop and corresponding prices to be used when opening your shop automatically or manually. Your character probably needs Vending skill to be able to do that.
Syntax
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><price><TAB><amount>
Details
- <item name>
- This is the full name of an item as it exactly appears in the cart list.
- <price>
- 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.
- <amount>
- 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.
Examples
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