ShelfItemAmountChange

How to use and define Various ShelfLimitItemAmount speeches.


Table of Contents


ShelfItemAmountChange

The ShelfItemAmountChange determines what the player will be prompted with when they select an Item that has been already added to their basket. Additionally, the player will be prompted with the option to change the amount or not.


Just like IntroText and any other Seller Class Speeches, ShelfItemAmountChange allows you to define multiple entries, and the script will randomly choose one each time.


To define the ShelfItemAmountChange, use this structure:

Placeholder Reference

  • {1} = The chosen Item's name (singular or plural) — e.g., "Potions"
  • {2} = The current quantity of chosen Item added in the Basket — e.g., "5"
Image not found
ShelfItemAmountChange

ShelfItemAmountIncrease

The ShelfItemAmountIncrease determines what the player will be prompted with when they confirm a quantity higher than the amount of the same Item they previously added to the basket.


Just like IntroText and any other Seller Class Speeches, ShelfItemAmountIncrease allows you to define multiple entries, and the script will randomly choose one each time.


To define the ShelfItemAmountIncrease, use this structure:

Placeholder Reference

  • {1} = The quantity added — e.g., "5"
  • {2} = The chosen Item's name (singular or plural) — e.g., "Potions"
  • {3} = Total price of the added quantity — e.g., "$1000"
Image not found
ShelfItemAmountIncrease 1
Image not found
ShelfItemAmountIncrease 2

ShelfItemAmountDecrease

The ShelfItemAmountDecrease determines what the player will be prompted with when they confirm a quantity lower but not 0 than the amount of the same Item they previously added to the basket.


Just like IntroText and any other Seller Class Speeches, ShelfItemAmountDecrease allows you to define multiple entries, and the script will randomly choose one each time.


To define the ShelfItemAmountDecrease, use this structure:

Placeholder Reference

  • {1} = The quantity removed — e.g., "2"
  • {2} = The chosen Item's name (singular or plural) — e.g., "Potions"
  • {3} = Total price of the removed quantity — e.g., "$400"
Image not found
ShelfItemAmountDecrease

ShelfItemAmountRemove

The ShelfItemAmountRemove determines what the player will be prompted with when they confirm a quantity of 0 for the selected Item.


Just like IntroText and any other Seller Class Speeches, ShelfItemAmountRemove allows you to define multiple entries, and the script will randomly choose one each time.


To define the ShelfItemAmountRemove, use this structure:

Placeholder Reference

  • {1} = The quantity removed — e.g., "3"
  • {2} = The chosen Item's name (singular or plural) — e.g., "Potions"
  • {3} = Total price of the removed quantity — e.g., "$600"
Image not found
ShelfItemAmountRemove 1
Image not found
ShelfItemAmountRemove 2

ShelfItemAmountLimit

The ShelfItemAmountLimit determines what the player will be prompted with when they select an Item that has the max quantity added in the basket. (Only when this item has an Item Limit applied to it.) The ShelfItemAmountLimit is what the shelf will say when selecting an item that you have the max amount off in your basket (only when the Item has an Item Limit).


Just like IntroText and any other Seller Class Speeches, ShelfItemAmountLimit allows you to define multiple entries, and the script will randomly choose one each time.


To define the ShelfItemAmountLimit, use this structure:

Placeholder Reference

  • {1} = The chosen Item's name (singular or plural) — e.g., "Potions"
Image not found
ShelfItemAmountLimit