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
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name:
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Destroys all unecessary variables at a
|
||||
conversation exit or abort
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "pv_config_param"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oNPCMerchant = OBJECT_SELF;
|
||||
int iItem = 0;
|
||||
|
||||
DeleteLocalInt(oNPCMerchant, "PV_NUM_DISPLAY_ITEM");
|
||||
DeleteLocalInt(oNPCMerchant, "PV_TOTAL_NUM_ITEMS");
|
||||
DeleteLocalInt(oNPCMerchant, "PV_CURRENT_PAGE_NUMBER");
|
||||
DeleteLocalObject(oNPCMerchant, "PV_ITEM_CHOSEN");
|
||||
DeleteLocalInt(oNPCMerchant, "PV_CONVO_OPTION_CHOSEN");
|
||||
DeleteLocalInt(oNPCMerchant, "PV_QUANTITY_TO_BUY");
|
||||
|
||||
// Object variables for items inside backpacks
|
||||
for (iItem = 1; iItem <= MAX_ITEMS_PER_PAGE; iItem++)
|
||||
{
|
||||
DeleteLocalObject(oNPCMerchant, "PV_BACKPACK_ITEM_NUM_" + IntToString(iItem) );
|
||||
}
|
||||
|
||||
// Object variables for the backpacks
|
||||
for (iItem = 0; iItem < MAX_BACKPACKS_PER_INVENTORY; iItem++)
|
||||
{
|
||||
DeleteLocalObject(oNPCMerchant, "PV_BACKPACK_NUM_"+IntToString(iItem));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user