·
datatype · drop-in viewer
asset⌬ datatypedataTypeprimary: schema.yaml·part ofpackage economyKit.package·originates fromworld d48725e2-1…
priceList.dataType
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.
by·posted 6d ago
What it does
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). |
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.