18 lines
680 B
Plaintext
18 lines
680 B
Plaintext
////////////////////////////////////////////
|
|
// Kittrell's Persistent Banking System //
|
|
// Designed by: Brian J. Kittrell //
|
|
// //
|
|
// This script does the following: //
|
|
// //
|
|
// kpb_showbalance - This script will //
|
|
// show the current amount of gold held //
|
|
// for the player by the bank. //
|
|
////////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
int nBalance = GetCampaignInt("kpb_bank", "KPB_BANK_BALANCE", oPC);
|
|
SpeakString("You currently have " + IntToString(nBalance) + " gold pieces stored in our vaults.", TALKVOLUME_TALK);
|
|
}
|