Aschbourne_PRC8/_module/nss/pv_set_not_sell.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -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);
}