Initial Upload
Initial Upload
This commit is contained in:
17
_module/nss/kpb_showbalance.nss
Normal file
17
_module/nss/kpb_showbalance.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
////////////////////////////////////////////
|
||||
// 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);
|
||||
}
|
Reference in New Issue
Block a user