Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 20:24:01 -04:00
parent 4e16ca63ca
commit 5197ad9a4d
7741 changed files with 5391820 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#include "xp_inc"
//#include "sf_leto_inc"
void main()
{
object oPC = GetPCSpeaker();
if (GetLootable(oPC) <= 41)
{
string sCDKey = GetPCPlayerName( oPC);
int XP = GetCampaignInt( "XP", sCDKey) + (GetXP( oPC) /fraction);
SetCampaignInt( "XP", sCDKey, XP, oPC);
string sXP = IntToString((GetXP( oPC) /fraction));
SpeakString ("You have deposited ALL your Experience Points! " + sXP + " XP");
SetXP (oPC, 1);
DelayCommand(3.5, ExportSingleCharacter(oPC));
}
{
SpeakString(sNO);
}
}