Areas and Fixes

Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
This commit is contained in:
2024-08-30 11:38:44 -04:00
parent 8622e5ce08
commit 69879d6957
17234 changed files with 4253346 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
////////////////////////////////////////////
// Kittrell's Persistent Banking System //
// Designed by: Brian J. Kittrell //
// //
// This script does the following: //
// //
// kpb_withdraw_all - This script allows //
// withdraw to deposit all of their gold //
// that they are carrying in one foul //
// swoop. For the big spender looking //
// to spend the day shopping around the //
// city. :) //
////////////////////////////////////////////
void main()
{
object oPC = GetPCSpeaker();
int nBalance = GetCampaignInt("kpb_bank", "KPB_BANK_BALANCE", oPC);
int nAmount = 0;
if (nBalance >= 1)
{
GiveGoldToCreature(oPC, nBalance);
SetCampaignInt("kpb_bank", "KPB_BANK_BALANCE", nAmount, oPC);
}
else
{
SpeakString("Sorry, you do not have enough gold to deposit.", TALKVOLUME_TALK);
}
}