Alangara_PRC8/_module/nss/jh_bnk_x_23.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

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);
}