Aschbourne_PRC8/_module/pv_set_not_sell.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

17 lines
507 B
Plaintext

//::///////////////////////////////////////////////
//:: Name: pv_set_not_sell
//:://////////////////////////////////////////////
/*
Sets the current chosen item to not be show
to the buyers when they are in the purchase
window.
*/
//:://////////////////////////////////////////////
void main()
{
object oNPCMerchant = OBJECT_SELF;
string strItemName = GetName(GetLocalObject(oNPCMerchant, "PV_ITEM_CHOSEN"));
SetLocalInt(oNPCMerchant, "PV_DONT_SHOW_BUYER" + strItemName, TRUE);
}