> For the complete documentation index, see [llms.txt](https://arckytech.gitbook.io/arckys-poke-mart-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://arckytech.gitbook.io/arckys-poke-mart-guide/settings-and-setup-file/speeches/seller-classes/buyitem.md).

# BuyItem

The BuyItem is what the NPC will say when you buy only 1 of an Item.&#x20;

It is possible to include more than 1 speech if you want to but you can't add a Time or Day.

Defining BuyItem looks like this:

```ruby
BuyItem: ["So you want {1} {2}?\nIt'll be ${3}. All right?", 
          "So you would like to buy {1} {2}?\nThat's going to cost you ${3}!"]
```

{1} = chosen amount (in this case 1) of the Item.

{2} = chosen Item's name (singular) (for ex. "Poké Ball").

{3} = price of the 1 chosen Item (for ex. $200).

<div align="center"><figure><img src="https://1523864583-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA8k6OdYm2B0bVeFyJUcK%2Fuploads%2Fm5QZ50IXgepRjmH2Y1da%2FBuyItem%201.png?alt=media&amp;token=1c7224aa-834e-41aa-89a0-5b248537a716" alt="" width="375"><figcaption><p>BuyItem 1</p></figcaption></figure></div>

<div align="center"><figure><img src="https://1523864583-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA8k6OdYm2B0bVeFyJUcK%2Fuploads%2FusA4RxE0zSTi2jCR1hf2%2FBuyItem%202.png?alt=media&amp;token=ef02a430-599a-43f6-a48b-d401890a65c1" alt="" width="375"><figcaption><p>BuyItem 2</p></figcaption></figure></div>
