DiscountText

How to use and define various DiscountText speeches.


The DiscountText determines what the Vending Machine will say when using a discount on items.


As shown in the example below, you can include multiple variations. The script will randomly choose one line from the array each time the player interacts with the Vending Machine Event.


To define the DiscountText, use this structure:

1
DiscountText: [
2
"Amazing, you have a discount of {1}% on all {2}s!"
3
]

Placeholder Reference

  • {1} = Discount amount — e.g., 9
  • {2} = value of type parameter — e.g., "item"
Image not found
DiscountText