20 lines
269 B
Plaintext
20 lines
269 B
Plaintext
/*
|
|
Take 5000 gold.
|
|
|
|
*/
|
|
void main()
|
|
{
|
|
string sName = GetTag(OBJECT_SELF);
|
|
|
|
int nInt;
|
|
nInt = GetCampaignInt("bnkblnc"+sName,"bnkblnc_"+sName);
|
|
|
|
nInt += 5000;
|
|
|
|
SetCampaignInt("bnkblnc"+sName,"bnkblnc_"+sName,nInt);
|
|
|
|
TakeGoldFromCreature(5000,GetPCSpeaker(),TRUE);
|
|
|
|
|
|
}
|