BuyItem
How to use and define various BuyItem speeches.
Table of Contents
BuyItem
The BuyItem
determines what the NPC says when the player has confirmed the chosen amount of the item (only 1) they want to buy.
Just like with IntroText
, you can define multiple entries, and the script will randomly choose one each time.
AttentionUnlikeIntroText
,BuyItem
does not support Time and Day variations — this is intentionally kept simpler.
To define the BuyItem
, use this structure:
Placeholder Reference
{1}
= Chosen Item's amount (always 1) — e.g.,"1"
{2}
= Chosen Item's name (singular) — e.g.,"Poké Ball"
{3}
= Final Item price (after discount/overcharge if any) — e.g.,$200


BuyItemMult
The BuyItemMult
determines what the NPC says when the player has confirmed the chosen amount of the item (2 or more) they want to buy.
Just like with IntroText
, you can define multiple entries, and the script will randomly choose one each time.
AttentionUnlikeIntroText
,BuyItemMult
does not support Time and Day variations — this is intentionally kept simpler.
To define the BuyItemMult
, use this structure:
Placeholder Reference
{1}
= Chosen Item's amount (more than 1) — e.g.,"2"
{2}
= Chosen Item's name (plural) — e.g.,"Great Balls"
{3}
= Final Item price (after discount/overcharge if any) — e.g.,"$1200"

BuyItemImportant
The BuyItemImportant
determines what the NPC says when the player has confirmed amount of the important item (always 1) they want to buy.
See the Essentials Wiki's Items page for more information.
Just like with IntroText
, you can define multiple entries, and the script will randomly choose one each time.
AttentionUnlikeIntroText
,BuyItemImportant
does not support Time and Day variations — this is intentionally kept simpler.
To define the BuyItemImportant
, use this structure:
Placeholder Reference
{1}
= Chosen (important) Item's name (singular) — e.g.,"Escape Rope"
{2}
= Total price chosen (important) Item's name (after discount/overcharge if any) — e.g.,"$500"

Once you've bought an Important Item, it'll no longer show in the Item's list.
