BuyOutOfStock

How to use and define BuyOutOfStock speeches.


The BuyOutOfStock determines what the NPC will say when the player is trying to choose an Item that is out of stock.


Just like with IntroText, you can define multiple entries, and the script will randomly choose one each time.

Attention
Unlike IntroText, Buyoutofstock does not support Time and Day variations — this is intentionally kept simpler.

To define the BuyOutOfStock, use this structure:

Placeholder Reference

  • {1} = Chosen Item's name (plural) — e.g., "Potions"
  • {2} = Time remaining until the Stock will be resetted — e.g., "tomorrow".
Image 0 not found
BuyOutOfStock Example 1
Image 1 not found
BuyOutOfStock Example 2
Image 2 not found
BuyOutOfStock Example 3