·
datatype · drop-in viewer
asset⌬ datatypedataTypeprimary: schema.yaml·part ofpackage economyKit.package·originates fromworld d48725e2-1…
shop.dataType
One shop: its title, the price list it sells from, the screen it opens in and the kind of shopkeeper that runs it. A game adds a shop by adding one of these; changing `screen` switches the whole shop to another style.
by·posted 5d ago
What it does
shop (economyKit contract)
One shop: its title, the price list it sells from, the screen it opens in and the kind of shopkeeper that runs it. A game adds a shop by adding one of these; changing screen switches the whole shop to another style.
| Field | Meaning |
|---|---|
id | The name shopkeepers and Economy.open use. |
titleKey / title | Translation key for the shop's name, or a fallback text. |
greetingKey | Translation key for the shopkeeper's line (vendor screen). |
priceList | The economyKit.priceList id it sells from. |
screen | grid, vendor, vending, quickBuy, upgradeTree or trade; empty = the game's default (Economy.setup{ screen = ... }). |
keeper | counter, machine or holo: the shopkeeper a spawned keeper uses. |
look | A menusKit look (scifi, fantasy, cartoon, pixel, minimal, military, horror, cozy); empty = the game's. |
buy / sell | Whether players can buy here and sell here. |
fees | economyKit.sink ids charged on every purchase or sale here. |
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.