Shargast_PRC8/_module/Chapter 1/nss/cnr_at_m_oops.nss
Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

26 lines
602 B
Plaintext

/////////////////////////////////////////////////////////
//
// Craftable Natural Resources (CNR) by Festyx
//
// Name: cnr_at_m_oops
//
// Desc: The player has selected a red item on the
// merchant's menu.
//
// Author: David Bobeck 17Dec02
//
/////////////////////////////////////////////////////////
void main()
{
object oPC = GetPCSpeaker();
string sMenuType = GetLocalString(oPC, "sCnrMenuType");
if (sMenuType == "BUY")
{
SetCustomToken(22000, "You don't have that item.\n");
}
else // "SELL"
{
SetCustomToken(22000, "Sorry. I am out of that item.\n");
}
}