Module commit
Module commit.
This commit is contained in:
15
_module/nss/pv_set_sell.nss
Normal file
15
_module/nss/pv_set_sell.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name: pv_set_sell
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Sets the current item to be show to buyers
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
object oNPCMerchant = OBJECT_SELF;
|
||||
string strItemName = GetName(GetLocalObject(oNPCMerchant, "PV_ITEM_CHOSEN"));
|
||||
|
||||
// No need to set it to false :P
|
||||
DeleteLocalInt(oNPCMerchant, "PV_DONT_SHOW_BUYER" + strItemName);
|
||||
}
|
Reference in New Issue
Block a user