case "wait_time":
d.Text = DLG_TEXT[0];
Link.l1 = DLG_TEXT[1];
Link.l1.go = "wait_1";
Link.l2 = DLG_TEXT[2];
Link.l2.go = "wait_2";
Link.l3 = DLG_TEXT[24];
Link.l3.go = "wait_3";
Link.l4 = DLG_TEXT[25];
Link.l4.go = "wait_4";
Link.l5 = DLG_TEXT[3];
Link.l5.go = "exit";
break;
case "wait_1":
Diag.CurrentNode = Diag.TempNode;
NPChar.quest.meeting = NPC_Meeting;
DialogExit();
WaitDate("", 0,0,1,0,0);
Log_SetStringToLog(LanguageConvertString(tmpLangFileID,"You wait here") + " " + XI_ConvertString("1 day") + " " + LanguageConvertString(tmpLangFileID,"for ship repairs") + ".");
break;
case "wait_2":
Diag.CurrentNode = Diag.TempNode;
NPChar.quest.meeting = NPC_Meeting;
DialogExit();
for(i = 0; i < 5; i++)
{
WaitDate("", 0,0,1,0,0);
}
Log_SetStringToLog(LanguageConvertString(tmpLangFileID,"You wait here") + " " + XI_ConvertString("5 days") + " " + LanguageConvertString(tmpLangFileID,"for ship repairs") + ".");
break;
case "wait_3":
Diag.CurrentNode = Diag.TempNode;
NPChar.quest.meeting = NPC_Meeting;
DialogExit();
for(i = 0; i < 10; i++)
{
WaitDate("", 0,0,1,0,0);
}
Log_SetStringToLog(LanguageConvertString(tmpLangFileID,"You wait here") + " " + XI_ConvertString("10 days") + " " + LanguageConvertString(tmpLangFileID,"for ship repairs") + ".");
break;
case "wait_4":
Diag.CurrentNode = Diag.TempNode;
NPChar.quest.meeting = NPC_Meeting;
DialogExit();
for(i = 0; i < 30; i++)
{
WaitDate("", 0,0,1,0,0);
}
Log_SetStringToLog(LanguageConvertString(tmpLangFileID,"You wait here") + " " + XI_ConvertString("all a month") + " " + LanguageConvertString(tmpLangFileID,"for ship repairs") + ".");
break;