# BuyItemAmountDiscount

The BuyItemAmountDiscount is what the NPC will say when choosing how many of an Item you want to buy. But only when there's a discount variable added to the store and the Discount is higher than 0.

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

Defining BuyItemAmountDiscount looks like this:

```ruby
BuyItemAmountDiscount: ["There's a discount on {1}, they're ${2} instead of ${3}. How many would you like?"]
```

{1} = contains the Item's plural name (for ex. "Poké Balls")

{2} = the Item's price with discount. (for ex. "$180")

{3} = the item's price (original price (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%2FsMCTQPaL7lfQoFFwS14u%2Fimage.png?alt=media&#x26;token=1039e5f9-f2e1-449c-96fe-69a3ff948ccc" alt="" width="375"><figcaption><p>BuyItemAmountDiscount</p></figcaption></figure></div>

{% hint style="info" %}
You don't need to use all {1}, {2} and {3}. If you use {1} and {2} and not {3} it will work just fine.
{% endhint %}
