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,19 +0,0 @@
|
||||
void main()
|
||||
{
|
||||
object oPC=GetPCSpeaker();
|
||||
string svarname=GetName(oPC)+GetPCPublicCDKey(oPC);
|
||||
int nPattern=GetListenPatternNumber();
|
||||
if(nPattern==1)
|
||||
{
|
||||
string nHeard=GetMatchedSubstring(0);
|
||||
int nGoldDaDepositare=StringToInt(nHeard);
|
||||
int GoldPG=GetGold(oPC);
|
||||
if(nGoldDaDepositare<=GoldPG)
|
||||
{
|
||||
SetCampaignInt("Bank_ORO",svarname,GetCampaignInt("Bank_ORO",svarname,oPC)+nGoldDaDepositare,oPC);
|
||||
TakeGoldFromCreature(nGoldDaDepositare,oPC,TRUE);
|
||||
}
|
||||
else
|
||||
AssignCommand(OBJECT_SELF,SpeakString("U do not have enough gold"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user