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:
2024-08-30 10:38:04 -04:00
parent d39928374d
commit 8622e5ce08
17234 changed files with 0 additions and 4253346 deletions

View File

@@ -1,24 +0,0 @@
//::///////////////////////////////////////////////
//:: Name: pv_set_prc_db
//:://////////////////////////////////////////////
/*
Saves the new item info in the database
after listening to the price.
*/
//:://////////////////////////////////////////////
#include "pv_db_functions"
void main()
{
object oNPCMerchant = OBJECT_SELF;
object oPC = GetLocalObject(oNPCMerchant, "PV_MERCHANT_OWNER");
string strItemName = GetLocalString(oNPCMerchant, "PV_ITEM_NAME");
int iItemPrice = GetLocalInt(oNPCMerchant, "PV_SPOKEN_PRICE");
// Put the price in the DB
SaveItemPriceToDatabase(oPC, iItemPrice, strItemName);
// Set the price in local varaibles as well
SetLocalInt(oNPCMerchant, "PV_ITEM_PRICE" + strItemName, iItemPrice);
}