-- heading to preceed the relationship advises
relationshipAdviseHeader="diary_relationship_advise_header";
diaryCoverDuration=2000;

-- default values for story page image and text
leftImage1X=306;
leftImage1Y=300;
rightImage1X=716;
rightImage1Y=300;
leftTextStartLine=12;
rightTextStartLine=12;
leftTextX=146;
rightTextX=546;
leftTextAlign=kHAlignLeft + kVAlignTop;
rightTextAlign=kHAlignLeft + kVAlignTop;

chapter1=
{
	storypages=
	{
		-- each subtable defines a story page(default 1 image and 1 text below it)
		{ imagePath="images/drlovedesk/cutscenepages/c01p01", text="diary_cutscene01_01" },
		{ imagePath="images/drlovedesk/cutscenepages/c01p02", text="diary_cutscene01_02" },
		{ imagePath="images/drlovedesk/cutscenepages/c01p03", text="diary_cutscene01_03" },
		{ imagePath="images/drlovedesk/cutscenepages/c01p04", text="diary_cutscene01_04" },
		{ imagePath="images/drlovedesk/cutscenepages/c01p05", text="diary_cutscene01_05" },
		{ imagePath="images/drlovedesk/cutscenepages/c01p06", text="diary_cutscene01_06" },
	},
	-- display when chapter is locked and player click on diary tab to view this chapter entry
	--chapterLockedMessage="diary1_1_locked_message",
	town1=
	{
		-- content of the left (top)
		entry="diary1_1_entry",
		-- content on the left (bottom), can contain multiple relationship advises
		relationshipStartLine=10, -- current diary has max 16 lines 
		relationshipAdvise= 
		{
			"diary1_1_advise1", "diary1_1_advise2", "diary1_1_advise3"
		}
	},
	town2=
	{
		entry="diary1_2_entry",
		relationshipStartLine=10,
		relationshipAdvise=
		{
			"diary1_2_advise1", "diary1_2_advise2", "diary1_2_advise3", "diary1_2_advise4"
		}
	},
	town3=
	{
		entry="diary1_3_entry",
		relationshipStartLine=14,
		relationshipAdvise=
		{
			"diary1_3_advise1",
		}
	},
	town4=
	{
		entry="diary1_4_entry",
		relationshipStartLine=12,
		relationshipAdvise=
		{
			"diary1_4_advise1", "diary1_4_advise2",  "diary1_4_advise3"
		}
	},
	town5=
	{
		entry="diary1_5_entry",
		relationshipStartLine=12,
		relationshipAdvise=
		{
			"diary1_5_advise1", "diary1_5_advise2",  "diary1_5_advise3"
		}
	},
};

chapter2=
{
	storypages=
	{
		{ imagePath="images/drlovedesk/cutscenepages/c02p01", text="diary_cutscene02_01" },
		{ imagePath="images/drlovedesk/cutscenepages/c02p02", text="diary_cutscene02_02" },
	},
	-- display when chapter is locked and player click on diary tab to view this chapter entry
	chapterLockedMessage="diary2_1_locked_message",
	town1=
	{
		entry="diary2_1_entry",
		relationshipStartLine=8,
		relationshipAdvise=
		{
			"diary2_1_advise1", "diary2_1_advise2", "diary2_1_advise3", "diary2_1_advise4"
		}
	},
	town2=
	{
		entry="diary2_2_entry",
		relationshipStartLine=8,
		relationshipAdvise=
		{
			"diary2_2_advise1", "diary2_2_advise2", "diary2_2_advise3", "diary2_2_advise4", "diary2_2_advise5"
		}
	},
	town3=
	{
		entry="diary2_3_entry",
		relationshipStartLine=11,
		relationshipAdvise=
		{
			"diary2_3_advise1", "diary2_3_advise2", "diary2_3_advise3",
		}
	},
	town4=
	{
		entry="diary2_4_entry",
		relationshipStartLine=11,
		relationshipAdvise=
		{
			"diary2_4_advise1", "diary2_4_advise2", "diary2_4_advise3"
		}
	},
	town5=
	{
		entry="diary2_5_entry",
		relationshipStartLine=11,
		relationshipAdvise=
		{
			"diary2_5_advise1", "diary2_5_advise2", "diary2_5_advise3", "diary2_5_advise4",
		}
	},
};

chapter3=
{
	storypages=
	{
		{ imagePath="images/drlovedesk/cutscenepages/c03p01", text="diary_cutscene03_01" },
		{ imagePath="images/drlovedesk/cutscenepages/c03p02", text="diary_cutscene03_02" },
	},
	-- display when chapter is locked and player click on diary tab to view this chapter entry
	chapterLockedMessage="diary2_1_locked_message",
	town1=
	{
		entry="diary3_1_entry",
		relationshipStartLine=12,
		relationshipAdvise=
		{
			"diary3_1_advise1", "diary3_1_advise2", "diary3_1_advise3"
		}
	},
	town2=
	{
		entry="diary3_2_entry",
		relationshipStartLine=13,
		relationshipAdvise=
		{
			"diary3_2_advise1", "diary3_2_advise2"
		}
	},
	town3=
	{
		entry="diary3_3_entry",
		relationshipStartLine=9,
		relationshipAdvise=
		{
			"diary3_3_advise1", "diary3_3_advise2", "diary3_3_advise3", "diary3_3_advise4", "diary3_3_advise5"
		}
	},
	town4=
	{
		entry="diary3_4_entry",
		relationshipStartLine=11,
		relationshipAdvise=
		{
			"diary3_4_advise1", "diary3_4_advise2", "diary3_4_advise3", "diary3_4_advise4"
		}
	},
	town5=
	{
		entry="diary3_5_entry",
		relationshipStartLine=11,
		relationshipAdvise=
		{
			"diary3_5_advise1", "diary3_5_advise2", "diary3_5_advise3", "diary3_5_advise4",
		}
	},
};

chapter4=
{
	storypages=
	{
		{ imagePath="images/drlovedesk/cutscenepages/c04p01", text="diary_cutscene04_01" },
		{ imagePath="images/drlovedesk/cutscenepages/c04p02", text="diary_cutscene04_02" },
	},
	-- display when chapter is locked and player click on diary tab to view this chapter entry
	chapterLockedMessage="diary2_1_locked_message",
	town1=
	{
		entry="diary4_1_entry",
		relationshipStartLine=13,
		relationshipAdvise=
		{
			"diary4_1_advise1", "diary4_1_advise2", "diary4_1_advise3"
		}
	},
	town2=
	{
		entry="diary4_2_entry",
		relationshipStartLine=13,
		relationshipAdvise=
		{
			"diary4_2_advise1"
		}
	},
	town3=
	{
		entry="diary4_3_entry",
		relationshipStartLine=10,
		relationshipAdvise=
		{
			"diary4_3_advise1", "diary4_3_advise2", "diary4_3_advise3"
		}
	},
	town4=
	{
		entry="diary4_4_entry",
		relationshipStartLine=10,
		relationshipAdvise=
		{
			"diary4_4_advise1", "diary4_4_advise2", "diary4_4_advise3", "diary4_4_advise4"
		}
	},
	town5=
	{
		entry="diary4_5_entry",
		relationshipStartLine=11,
		relationshipAdvise=
		{
			"diary4_5_advise1", "diary4_5_advise2", "diary4_5_advise3"
		}
	},
};

chapter5=
{
	storypages=
	{
		{ imagePath="images/drlovedesk/cutscenepages/c05p01", text="diary_cutscene05_01" },
		{ imagePath="images/drlovedesk/cutscenepages/c05p02", text="diary_cutscene05_02" },
	},
	-- display when chapter is locked and player click on diary tab to view this chapter entry
	chapterLockedMessage="diary2_1_locked_message",
	town1=
	{
		entry="diary5_1_entry",
		relationshipStartLine=15,
		relationshipAdvise=
		{
			"diary5_1_advise1"
		}
	},
	town2=
	{
		entry="diary5_2_entry",
		relationshipStartLine=13,
		relationshipAdvise=
		{
			"diary5_2_advise1"
		}
	},
	town3=
	{
		entry="diary5_3_entry",
		relationshipStartLine=14,
		relationshipAdvise=
		{
			"diary5_3_advise1"
		}
	},
	town4=
	{
		entry="diary5_4_entry",
		relationshipStartLine=8,
		relationshipAdvise=
		{
			"diary5_4_advise1", "diary5_4_advise2", "diary5_4_advise3", "diary5_4_advise4", "diary5_4_advise5"
		}
	},
	town5=
	{
		entry="diary5_5_entry",
		relationshipStartLine=10,
		relationshipAdvise=
		{
			"diary5_5_advise1", "diary5_5_advise2", "diary5_5_advise3"
		}
	},
};

chapter6=
{
	storypages=
	{
		{ imagePath="images/drlovedesk/cutscenepages/c06p01", text="diary_cutscene06_01" },
		{ imagePath="images/drlovedesk/cutscenepages/c06p02", text="diary_cutscene06_02" },
		{ imagePath="images/drlovedesk/cutscenepages/c06p03", text="diary_cutscene06_03" },
		{ imagePath="images/drlovedesk/cutscenepages/c06p04", text="diary_cutscene06_04" },
		
		{ imagePath="images/drlovedesk/cutscenepages/c06p05", x1=306, y1=270, imagePath2="images/drlovedesk/cutscenepages/c06p06", x2=306, y2=500 },
		{ imagePath="images/drlovedesk/cutscenepages/wedding01", x1=716, y1=270, imagePath2="images/drlovedesk/cutscenepages/wedding02", x2=716, y2=500 },
		{ imagePath="images/drlovedesk/cutscenepages/wedding03", x1=306, y1=270, imagePath2="images/drlovedesk/cutscenepages/wedding04", x2=306, y2=500 },
		{ text="diary_cutscene06_the_end", textStartLine=7, textAlign=kHAlignCenter + kVAlignTop, textX=710  }
	}
};