Jaysyn904 f82740bbbd Initial commit
Initial commit
2024-02-22 13:22:03 -05:00

15 lines
377 B
Plaintext

#include "adv_include"
#include "zzdlg_main_inc"
void main()
{
object oPC = GetLastPCRested();
object oDatabase = GetItemPossessedBy(oPC, PC_DATABASE);
// Save characters
if(GetIsObjectValid(oPC) && GetIsPC(oPC) && !GetIsDM(oPC)) ExportSingleCharacter(oPC);
AssignCommand(oPC, ClearAllActions());
_dlgStart(oPC, oDatabase, ADV_REST_MENU, 1, 1, 1);
}