Action types
Sell
What the field gives, the stall takes back. Sell is how a Maker puts a price on a spare sheaf.
What it is
Sell lets a player hand an item they carry to a shop and be paid. The item leaves the player's backpack, and the payment arrives in its place. The payment is whatever you choose to give, usually Currency.
What the player sees
The player opens the shop and picks its Sell tab. The tab lists every item they hold that can be sold. A shop does not have to stock the item first.
Selling is instant. A floating label shows the change, and the payment is given. The tab is on by default. A game can switch it off in its settings.
Which components can have it
A Material, Gear or Powerup. A Recipe is knowledge. It can be bought but never sold.
Requirements & effects it uses
| Requirement / effect | What it does here |
|---|---|
| Gives | The payment, such as Currency. This is the whole job of setting a Sell up. |
Edit Mode offers no price to take and no requirement to meet, because the game takes nothing on a sale but the item, and never checks the player. More is listed under the hood.
Setting it up
- Play your game, open the game menu and choose Edit this Game.
- Select the item and open its property window.
- Click Add action ▾ and choose Let players sell this. The menu offers it when the item's level has no Sell yet.
- The new Sell starts empty and instant. Under its payment heading, add what the player gets: the component and how many. New payments go to the player.
If you leave a Sell empty, the window warns that players would give the item up for nothing.
In Vespera: the Stall's Sell tab Play it
Maren's Stall buys Wheat Sheaf for 1 Vesper Mark and Hearth Loaf for 2. Selling 3 Wheat Sheaf gave Frono 1 Mark each, one after the other.
Frono is a Trader, whose calling earns 25% more Marks. The extra is rounded to a whole number, so 1 Mark stays 1 (1.25 rounds down), while a 15-Mark quest reward becomes 19 at the turn-in.
Good to know
- No shelf needed. An item sells even if no shop stocks it.
- A sold item goes to the shop. The shop gets the item. If the shop has unlimited stock of it, the stock does not change.
- The player is always paid. A payment goes to the player unless you choose the place.
- Each level has its own Sell. A Sell on Level 1 does not make Level 2 sellable.
Under the hood
- A sold item goes into a shop stack. If the game has a Global Shop entry for that item, it goes there. Otherwise it goes to the place's shop. If neither exists, the place gets a new shop entry.
- When the shop entry has unlimited stock, a sale is paid but the entry's stock stays unlimited.
- A sold item whose level has no Buy sits in the shop where nobody can see it, because the player's list needs a Buy to show it.
- A Sell never takes anything from the player but the item itself, and it never checks player stats or skills. Edit Mode shows any older ingredient or requirement on a Sell as a read-only line.
- Each level of an item has its own Sell. A Sell on Level 1 does not make Level 2 sellable.