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,26 +0,0 @@
//::///////////////////////////////////////////////
//:: Name: pv_check_totals
//:://////////////////////////////////////////////
/*
Returns the total sales and total cash income
for the day in this vendor.
*/
//:://////////////////////////////////////////////
int StartingConditional()
{
object oNPCMerchant = OBJECT_SELF;
int nTotalSales = GetLocalInt(oNPCMerchant, "PV_TOTAL_NUMBER_OF_SALES");
int iCashIncome = GetLocalInt(oNPCMerchant, "PV_CASH_MADE_FROM_SALES");
if (nTotalSales > 0)
{
SetCustomToken(15001, IntToString(nTotalSales));
SetCustomToken(15002, IntToString(iCashIncome));
return TRUE;
}
return FALSE;
}