Market Square: Currencies, Wallets and Shops Kit
- ..
- .metadata252 B
- README.md882 B
- schema.yaml687 B
README.md
priceList (economyKit contract)
What a shop sells and buys back, and for how much. A shop points at one price list by id, so several shops can share prices and a game changes a price in one place.
| Field | Meaning |
|---|---|
id | The name shops use. |
currency | The currency prices are in unless an entry says otherwise. |
sellRate | What the shop pays back when a player sells, as a share of the price (0.5 = half). |
entries[] | One row per item: item (an inventoryKit item id), price, optional currency, sell (what the shop pays for one; -1 = price x sellRate, 0 = the shop will not buy it), qty (how many one purchase gives), stock (how many one player may buy, -1 = unlimited), requires (another entry's item that must be bought first, for upgrade trees), tier (row in an upgrade tree), nameKey (translation key for the item's name). |