> For the complete documentation index, see [llms.txt](https://interactiveboard.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interactiveboard.gitbook.io/docs/functions/shop.md).

# Shop

## Item Buy

```yaml
## function name, you can set this to anything that is unique
func1:
  ## function type
  type: item_buy
  ## name or id of item
  item: carrot
  ## item price
  price: 20
  ## item amount
  amount: 1
```

## Item Sell

```yaml
## function name, you can set this to anything that is unique
func1:
  ## function type
  type: item_sell
  ## name or id of item
  item: baked_potato
  ## item price
  price: 20
  ## item amount
  amount: 1
```
