Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 18:13:22 -04:00
parent 684ef76c20
commit 499aba4eb3
5734 changed files with 4843758 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
void main()
{
// WriteTimestampedLogEntry("Entering Module onPlayerRest: xx_cb_rest");
object oPC = GetLastPCRested();
ExportAllCharacters();
// Save persistent location
SetLocalInt(oPC,"BypassLocation",1);
SetCampaignLocation("PlayerData","Location",GetLocation(oPC),oPC);
// Remove death variables
DeleteLocalInt(oPC,"Dead");
DeleteCampaignVariable("PlayerData","Dead",oPC);
SendMessageToPC(oPC,"Saving Your Inventory and Location...");
// WriteTimestampedLogEntry("Exiting Module onPlayerRest: xx_cb_rest");
}