------------------------------------------------Variables------------------------------------------------

require( "package/leveldesign/ld_variables_define.lua" );
DebugOut( "create elements for main quests (file : package/leveldesign/ld_legendary_melody.lua)" );

-----------------------------------------------------------------------------------------------

------------------------------------------------Muse------------------------------------------------

InteractiveZone
{
	name = "LD_muse",
	positionX = -1007,
	positionY = 670,

	use_drop_position = true,
	drop_position     = { { -1047, 732 }, { -994, 716 }, { -935, 689 } },
	action_position     = { { -882, 628 }, { -839, 577 }, { -788, 636 }, { -840, 675 }, { -771, 744 }, { -871, 734 }, { -912, 773 }, { -842, 820 }, { -967, 845 }, { -974, 799 }, { -1036, 834 }, { -1141, 794 }, { -1068, 763 }, { -951, 756 } },

	unlimited = false,
	stock_max_value = G_muse_stock,

	Image
	{
		file = "backgrounds/empty",
	    minimum_percent = 1,
	},
	Image
	{
		file = "backgrounds/empty",
	    minimum_percent = 0,
	},

}

------------------------------------------------------------------------------------------------

------------------------------------------------Xylophone Cleaning------------------------------------------------

InteractiveZone
{
	name = "LD_xylophone",
	positionX = -1550,
	positionY = 1820,

	use_drop_position = true,
	drop_position     = { { -1570, 1963 }, { -1463,1896 }, { -1348, 1815 }, { -1765, 1890 } },
	action_position = { { -1777, 1740 }, { -1611, 1696 }, { -1173, 1812 }, { -1232, 1756 }, { -1144, 1720 }, { -1333, 1622 }, { -1331, 1569 }, { -1418, 1555 }, { -1498, 1648 }, { -1530, 1566 }, { -1442, 1558 }, { -1632, 1656 }, { -1668, 1567 }, { -1576, 1552 }, { -1711, 1628 }, { -1774, 1589 }, { -1801, 1551}, { -1835, 1576 }, { -1931, 1620 }, { -1872, 1602 } },

	unlimited = false,
	stock_max_value = G_xylophone_stock,

	Image
	{
		file = "backgrounds/objects/xylophone",
	    minimum_percent = 0,
	},
}

StaticObject
{
	name  = "LD_xylophone_trans",
	image = "backgrounds/objects/xylophone_trans",
	positionX = -1550,
	positionY = 1820,
	HUD_name = "LD_xylophone",
	layer = Background,
}

StaticObject
{
	name  = "O_xylo_a_clean",
	image = "backgrounds/objects/xylo_a_clean",
	positionX = -1899,
	positionY = 1580,
	layer = Characters,
	visible = false,
	use_ref_point_y = true,
	ref_point_y = 177,
}

StaticObject
{
	name  = "O_xylo_a_dirty",
	image = "backgrounds/objects/xylo_a_dirty",
	positionX = -1899,
	positionY = 1580,
	layer = Characters,
	use_ref_point_y = true,
	ref_point_y = 177,
}

StaticObject
{
	name  = "O_xylo_b_clean",
	image = "backgrounds/objects/xylo_b_clean",
	positionX = -1778,
	positionY = 1580,
	layer = Characters,
	visible = false,
	use_ref_point_y = true,
	ref_point_y = 149,
}

StaticObject
{
	name  = "O_xylo_b_dirty",
	image = "backgrounds/objects/xylo_b_dirty",
	positionX = -1778,
	positionY = 1580,
	layer = Characters,
	use_ref_point_y = true,
	ref_point_y = 149,
}

StaticObject
{
	name  = "O_xylo_c_clean",
	image = "backgrounds/objects/xylo_c_clean",
	positionX = -1619,
	positionY = 1631,
	layer = Characters,
	visible = false,
	use_ref_point_y = true,
	ref_point_y = 178,
}

StaticObject
{
	name  = "O_xylo_c_dirty",
	image = "backgrounds/objects/xylo_c_dirty",
	positionX = -1619,
	positionY = 1631,
	layer = Characters,
	use_ref_point_y = true,
	ref_point_y = 178,
}

StaticObject
{
	name  = "O_xylo_d_clean",
	image = "backgrounds/objects/xylo_d_clean",
	positionX = -1486,
	positionY = 1625,
	layer = Characters,
	visible = false,
	use_ref_point_y = true,
	ref_point_y = 178,
}

StaticObject
{
	name  = "O_xylo_d_dirty",
	image = "backgrounds/objects/xylo_d_dirty",
	positionX = -1486,
	positionY = 1625,
	layer = Characters,
	use_ref_point_y = true,
	ref_point_y = 181,
}

StaticObject
{
	name  = "O_xylo_e_clean",
	image = "backgrounds/objects/xylo_e_clean",
	positionX = -1372,
	positionY = 1638,
	layer = Characters,
	visible = false,
	use_ref_point_y = true,
	ref_point_y = 175,
}

StaticObject
{
	name  = "O_xylo_e_dirty",
	image = "backgrounds/objects/xylo_e_dirty",
	positionX = -1372,
	positionY = 1638,
	layer = Characters,
	use_ref_point_y = true,
	ref_point_y = 175,
}

StaticObject
{
	name  = "O_xylo_f_clean",
	image = "backgrounds/objects/xylo_f_clean",
	positionX = -1188,
	positionY = 1806,
	layer = Characters,
	visible = false,
	use_ref_point_y = true,
	ref_point_y = 152,
}

StaticObject
{
	name  = "O_xylo_f_dirty",
	image = "backgrounds/objects/xylo_f_dirty",
	positionX = -1188,
	positionY = 1806,
	layer = Characters,
	use_ref_point_y = true,
	ref_point_y = 152,
}
------------------------------------------------------------------------------------------------

------------------------------------------------Xylophone Learning------------------------------------------------

InteractiveZone
{
	name = "LD_xylophone_learning",
	positionX = -1550,
	positionY = 1820,
	
	visible = false,

	use_drop_position = true,
	drop_position     = { { -1570, 1963 }, { -1463,1896 }, { -1348, 1815 }, { -1765, 1890 } },
	action_position = { { -1777, 1740 }, { -1611, 1696 }, { -1173, 1812 }, { -1232, 1756 }, { -1144, 1720 }, { -1333, 1622 }, { -1331, 1569 }, { -1418, 1555 }, { -1498, 1648 }, { -1530, 1566 }, { -1442, 1558 }, { -1632, 1656 }, { -1668, 1567 }, { -1576, 1552 }, { -1711, 1628 }, { -1774, 1589 }, { -1801, 1551}, { -1835, 1576 }, { -1931, 1620 }, { -1872, 1602 } },

	unlimited = false,
	stock_max_value = G_xylophone_stock,

	Image
	{
		file = "backgrounds/objects/xylophone_trans",
	    minimum_percent = 0,
	},
}
------------------------------------------------------------------------------------------------