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