if not Quests then
	Quests = {
		[1] = {
			name = "The Queen of the Banshees",
			startStorageId = Storage.Quest.U7_2.TheQueenOfTheBanshees.FirstSeal,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "The Hidden Seal",
					storageId = Storage.Quest.U7_2.TheQueenOfTheBanshees.FirstSeal,
					missionId = 1,
					startValue = 1,
					endValue = 1,
					description = "You broke the first seal.",
				},
				[2] = {
					name = "The Plague Seal",
					storageId = Storage.Quest.U7_2.TheQueenOfTheBanshees.SecondSeal,
					missionId = 2,
					startValue = 1,
					endValue = 1,
					description = "You broke the second seal.",
				},
				[3] = {
					name = "The Seal of Demonrage",
					storageId = Storage.Quest.U7_2.TheQueenOfTheBanshees.ThirdSeal,
					missionId = 3,
					startValue = 1,
					endValue = 1,
					description = "You broke the third seal.",
				},
				[4] = {
					name = "The Seal of Sacrifice",
					storageId = Storage.Quest.U7_2.TheQueenOfTheBanshees.FourthSeal,
					missionId = 4,
					startValue = 1,
					endValue = 1,
					description = "You broke the fourth seal.",
				},
				[5] = {
					name = "The Seal of True Path",
					storageId = Storage.Quest.U7_2.TheQueenOfTheBanshees.FifthSeal,
					missionId = 5,
					startValue = 1,
					endValue = 1,
					description = "You broke the fifth seal.",
				},
				[6] = {
					name = "The Seal of Logic",
					storageId = Storage.Quest.U7_2.TheQueenOfTheBanshees.SixthSeal,
					missionId = 6,
					startValue = 1,
					endValue = 1,
					description = "You broke the sixth seal.",
				},
				[7] = {
					name = "The Kiss of the Banshee Queen",
					storageId = Storage.Quest.U7_2.TheQueenOfTheBanshees.LastSeal,
					missionId = 7,
					startValue = 1,
					endValue = 1,
					description = "The Banshee Queen kissed you. This meant your death, and part of your soul always belongs to her now. You broke the last seal.",
				},
				[8] = {
					name = "The Final Battle",
					storageId = Storage.Quest.U7_2.TheQueenOfTheBanshees.FinalBattle,
					missionId = 8,
					startValue = 1,
					endValue = 1,
					description = "You have braved all dangers of the Banshee Quest and escaped the dungeon alive. The end room is sealed for you from now on.",
				},
			},
		},
		[2] = {
			name = "The Paradox Tower",
			startStorageId = Storage.Quest.U7_24.TheParadoxTower.QuestLine,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "The Feared Hugo",
					storageId = Storage.Quest.U7_24.TheParadoxTower.TheFearedHugo,
					missionId = 9,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Oldrak told you that the fearsome Hugo was accidentally created by the mage Yenny the Gentle. Try to find out more about this.",
						[2] = "Zoltan told you about Crunor's Caress, a druid order originating from Carlin. Try to find out more about this.",
						[3] = "Padreia told you that Crunor's Caress founded the inn Crunor's Cottage south of Mt. Sternum. Try to find out more about this.",
						[4] = "Lubo told you about a magical experiment that went wrong and created a demonbunny. Someone might be interested in this...",
					},
				},
				[2] = {
					name = "Favorite colour: Green",
					storageId = Storage.Quest.U7_24.TheParadoxTower.FavoriteColour,
					missionId = 10,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Favorite colour is the green.",
						[2] = "Favorite colour is the green.",
					},
				},
				[3] = {
					name = "The Secret of Mathemagics",
					storageId = Storage.Quest.U7_24.TheParadoxTower.Mathemagics,
					missionId = 10,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "You learnt Mathemagics. Everything is based on the simple fact that 1+1=1.",
						[2] = "You learnt Mathemagics. Everything is based on the simple fact that 1+1=1.",
					},
				},
			},
		},
		[3] = {
			name = "Spike Task",
			startStorageId = Storage.Quest.U10_20.SpikeTaskQuest.QuestLine,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "First Task",
					storageId = Storage.Quest.U10_20.SpikeTaskQuest.Gnomilly,
					missionId = 1021,
					startValue = 0,
					endValue = 100,
					description = function(player)
						return string.format("You have %d points of task. You need 100 points to take Cave Explorer outfit.", (math.max(player:getStorageValue(Storage.Quest.U10_20.SpikeTaskQuest.Gnomilly), 0)))
					end,
				},
				[2] = {
					name = "Second Task",
					storageId = Storage.Quest.U10_20.SpikeTaskQuest.Gnombold.Points,
					missionId = 1022,
					startValue = 0,
					endValue = 100,
					description = function(player)
						return string.format("You have %d points of task. You need 100 points to take first addon.", (math.max(player:getStorageValue(Storage.Quest.U10_20.SpikeTaskQuest.Gnombold.Points), 0)))
					end,
				},
				[3] = {
					name = "Third Task",
					storageId = Storage.Quest.U10_20.SpikeTaskQuest.Gnomargery.Points,
					missionId = 1023,
					startValue = 0,
					endValue = 100,
					description = function(player)
						return string.format("You have %d points of task. You need 100 points to take second addon.", (math.max(player:getStorageValue(Storage.Quest.U10_20.SpikeTaskQuest.Gnomargery.Points), 0)))
					end,
				},
			},
		},
		[4] = {
			name = "A Father's Burden",
			startStorageId = Storage.Quest.U8_6.AFathersBurden.QuestLog,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "The Birthday Presents",
					storageId = Storage.Quest.U8_6.AFathersBurden.Status,
					missionId = 1024,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Gather the material Tereban listed. \z
							Talk to him about your mission when you have given him everything he was looking for.",
						[2] = "You brought all the required materials to Tereban and guaranteed his sons a great birthday party.",
					},
				},
				[2] = {
					name = "The Magic Bow - Sinew",
					storageId = Storage.Quest.U8_6.AFathersBurden.Sinew,
					missionId = 1025,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the wyvern Heoni in the Edron mountains and take his sinew to Tereban.",
						[2] = "You delivered Heoni's sinew to Tereban.",
					},
				},
				[3] = {
					name = "The Magic Bow - Wood",
					storageId = Storage.Quest.U8_6.AFathersBurden.Wood,
					missionId = 1026,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the special wood in the barbarian camps of Hrodmir and bring it to Tereban. \z
							It might be a good idea to start looking in the northernmost camp.",
						[2] = "You delivered the Wood to Tereban.",
					},
				},
				[4] = {
					name = "The Magic Robe - Cloth",
					storageId = Storage.Quest.U8_6.AFathersBurden.Cloth,
					missionId = 1027,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the spectral cloth hidden deep in the crypts of the isle of the kings and bring it to Tereban. \z
							You might have to look for a secret entrance.",
						[2] = "You delivered the spectral cloth to Tereban.",
					},
				},
				[5] = {
					name = "The Magic Robe - Silk",
					storageId = Storage.Quest.U8_6.AFathersBurden.Silk,
					missionId = 1028,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find exquisite silk in the spider caves of southern Zao and deliver it to Tereban.",
						[2] = "You brought Tereban the required silk.",
					},
				},
				[6] = {
					name = "The Magic Rod - Crystal",
					storageId = Storage.Quest.U8_6.AFathersBurden.Crystal,
					missionId = 1029,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find a magic crystal in the tomb buried under the sand east of Ankrahmun and bring it to Tereban.",
						[2] = "Tereban received the magic crystal he was looking for.",
					},
				},
				[7] = {
					name = "The Magic Rod - Root",
					storageId = Storage.Quest.U8_6.AFathersBurden.Root,
					missionId = 1030,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the mystic root under the city of Banuta and bring it to Tereban.",
						[2] = "The magic root was delievered to Tereban.",
					},
				},
				[8] = {
					name = "The Magic Shield - Iron",
					storageId = Storage.Quest.U8_6.AFathersBurden.Iron,
					missionId = 1031,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find some old iron in the mines of Kazordoon for Tereban. Don't get lost - \z
						start searching close to the city.",
						[2] = "Tereban got the old iron he required.",
					},
				},
				[9] = {
					name = "The Magic Shield - Scale",
					storageId = Storage.Quest.U8_6.AFathersBurden.Scale,
					missionId = 1032,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the dragon Glitterscale in the caves north of Thais and take its scale to Tereban.",
						[2] = "You handed the looted scale to Tereban.",
					},
				},
			},
		},
		[5] = {
			name = "Bigfoot's Burden",
			startStorageId = Storage.Quest.U9_60.BigfootsBurden.QuestLine,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Looking for Gnomerik",
					storageId = Storage.Quest.U9_60.BigfootsBurden.QuestLine,
					missionId = 1033,
					startValue = 1,
					endValue = 2,
					description = "The dwarf Xelvar has sent you to meet the gnome Gnomerik. \z
						He can recruit you to the Bigfoot Company. \z
						Use the teleporter near Xelvar to enter the gnomish base and start looking for Gnomerik.",
				},
				[2] = {
					name = "A New Recruit",
					storageId = Storage.Quest.U9_60.BigfootsBurden.QuestLine,
					missionId = 1034,
					startValue = 3,
					endValue = 4,
					description = "You have found the gnomish recruiter and are ready to become a Bigfoot.",
				},
				[3] = {
					name = "Recruitment: A Test in Gnomology",
					storageId = Storage.Quest.U9_60.BigfootsBurden.QuestLine,
					missionId = 1035,
					startValue = 5,
					endValue = 7,
					states = {
						[5] = "Pass Gnomerik's test by answering his questions. \z
							If you fail to get a high enough score drink a mushroom beer and start again.",
						[6] = "You have passed the gnomish psychology test and can proceed to the medical exam. \z
							Talk to Gnomespector about your next examination.",
					},
				},
				[4] = {
					name = "Recruitment: Medical Examination",
					storageId = Storage.Quest.U9_60.BigfootsBurden.QuestLine,
					missionId = 1036,
					startValue = 8,
					endValue = 9,
					description = "Walk through the g-ray apparatus for your g-raying.",
				},
				[5] = {
					name = "Recruitment: Ear Examination",
					storageId = Storage.Quest.U9_60.BigfootsBurden.QuestLine,
					missionId = 1037,
					startValue = 10,
					endValue = 12,
					states = {
						[10] = "You have been g-rayed. It has been an ... unexpected experience. Now you are ready for your \z
							ear examination. Walk up to doctor Gnomedix and wait for him to finish your ear examination.",
						[11] = "You passed the ear examination. Well, at least most of you did. \z
							Now talk to Gnomaticus about your next test. ",
					},
				},
				[6] = {
					name = "Recruitment: Gnomish Warfare",
					storageId = Storage.Quest.U9_60.BigfootsBurden.Shooting,
					missionId = 1038,
					startValue = 0,
					endValue = 5,
					description = function(player)
						return string.format(
							"Hit five targets in a row. \z
						Don't hit an innocent target as it will reset your hit counter. %d / 5",
							(math.max(player:getStorageValue(Storage.Quest.U9_60.BigfootsBurden.Shooting), 0))
						)
					end,
				},
				[7] = {
					name = "Recruitment: Gnomish Warfare",
					storageId = Storage.Quest.U9_60.BigfootsBurden.QuestLine,
					missionId = 1039,
					startValue = 15,
					endValue = 16,
					description = "You are now ready for your endurance test. Talk to Gnomewart about it.",
				},
				[8] = {
					name = "Recruitment: Endurance Test",
					storageId = Storage.Quest.U9_60.BigfootsBurden.QuestLine,
					missionId = 1040,
					startValue = 17,
					endValue = 20,
					states = {
						[17] = "Enter the lower chamber for your endurance test. Reach the teleporter north of the hall.",
						[18] = "You have passed the endurance test. Report back to Gnomewart.",
						[19] = "You passed the endurance test and are ready to talk to Gnomelvis about your soul melody.",
					},
				},
				[9] = {
					name = "Recruitment: Soul Melody",
					storageId = Storage.Quest.U9_60.BigfootsBurden.QuestLine,
					missionId = 1041,
					startValue = 21,
					endValue = 23,
					states = {
						[21] = "Find your personal soul melody by trial and error. \z
							Create the complete soul melody of seven notes and then report to Gnomelvis. Red notes indicate a failure.",
						[22] = "You found your very own soul melody. You should talk to Gnomelvis about it!",
					},
				},
				[10] = {
					name = "Recruitment",
					storageId = Storage.Quest.U9_60.BigfootsBurden.QuestLineComplete,
					missionId = 1042,
					startValue = 1,
					endValue = 2,
					description = "You are now a true member of the Bigfoot company.",
				},
				[11] = {
					name = "Gnome Reputation",
					storageId = Storage.Quest.U9_60.BigfootsBurden.Rank,
					missionId = 1043,
					startValue = 0,
					endValue = 999999,
					description = function(player)
						return string.format(
							"Your reputation in the eyes of gnomekind is %d.\nYour standing rises at: \z
						\nReputation   30 - I \nReputation  120 - II \nReputation  480 - III \nReputation 1440 - IV \n",
							(math.max(player:getStorageValue(Storage.Quest.U9_60.BigfootsBurden.Rank), 0))
						)
					end,
				},
				[12] = {
					name = "Daily Minor: Crystal Keeper",
					storageId = Storage.Quest.U9_60.BigfootsBurden.RepairedCrystalCount,
					missionId = 1044,
					startValue = 0,
					endValue = 5,
					description = function(player)
						return string.format(
							"Use the repair crystal to repair five damaged blue crystals in the crystal caves. \z
						Damaged crystals will not glow.\n%d / 5",
							(math.max(player:getStorageValue(Storage.Quest.U9_60.BigfootsBurden.RepairedCrystalCount), 0))
						)
					end,
				},
				[13] = {
					name = "Daily Minor: Raiders of the Lost Spark",
					storageId = Storage.Quest.U9_60.BigfootsBurden.ExtractedCount,
					missionId = 1045,
					startValue = 0,
					endValue = 7,
					description = function(player)
						return string.format(
							"Kill crystal crushers and use the discharger item on the corpse to collect their charges. \z
						Gather 7 charges and report back. %d / 7",
							(math.max(player:getStorageValue(Storage.Quest.U9_60.BigfootsBurden.ExtractedCount), 0))
						)
					end,
				},
				[14] = {
					name = "Daily Minor Plus: Exterminators",
					storageId = Storage.Quest.U9_60.BigfootsBurden.ExterminatedCount,
					missionId = 1046,
					startValue = 0,
					endValue = 10,
					description = function(player)
						return string.format("Kill 10 of the wigglers for the gnomes. Then report back. %d / 10", (math.max(player:getStorageValue(Storage.Quest.U9_60.BigfootsBurden.ExterminatedCount), 0)))
					end,
				},
				[15] = {
					name = "Daily Minor Plus: Mushroom Digger",
					storageId = Storage.Quest.U9_60.BigfootsBurden.MushroomCount,
					missionId = 1047,
					startValue = 0,
					endValue = 3,
					description = function(player)
						return string.format(
							"Find a truffle sniffing pig and lure it around. \z
						Occasionally it will unearth some truffles. Use the baby pig on the truffles to feed it 3 times. \z
						Then report back to the gnomes. %d / 3",
							(math.max(player:getStorageValue(Storage.Quest.U9_60.BigfootsBurden.MushroomCount), 0))
						)
					end,
				},
				[16] = {
					name = "Daily Major: Matchmaker",
					storageId = Storage.Quest.U9_60.BigfootsBurden.MatchmakerStatus,
					missionId = 1048,
					startValue = 0,
					endValue = 1,
					states = {
						[0] = "You have to enter the crystal caves and find a crystal that is fitting the crystal you got \z
							from the gnomes. Use the crystal on one of the bigger red crystals in the caves to bond them.",
						[1] = "You have finished this quest for now.",
					},
				},
				[17] = {
					name = "Daily Major: The Tinker's Bell",
					storageId = Storage.Quest.U9_60.BigfootsBurden.GolemCount,
					missionId = 1049,
					startValue = 0,
					endValue = 4,
					description = function(player)
						return string.format(
							"Use the harmonic bell on the mad golems in the golem workshop so that they will \z
						automatically be teleported to the gnomish workshops. Then report back to the gnomes. %d / 4",
							(math.max(player:getStorageValue(Storage.Quest.U9_60.BigfootsBurden.GolemCount), 0))
						)
					end,
				},
				[18] = {
					name = "Daily Major Advanced: Spores",
					storageId = Storage.Quest.U9_60.BigfootsBurden.SporeCount,
					missionId = 1050,
					startValue = 0,
					endValue = 4,
					description = "Gather spores in the correct order. \z
						Your spore gathering list will display the next color you have to look for.",
				},
				[19] = {
					name = "Daily Major Advanced: Yet Another Grinding",
					storageId = Storage.Quest.U9_60.BigfootsBurden.GrindstoneStatus,
					missionId = 1051,
					startValue = 0,
					endValue = 2,
					description = "Gather a grindstone from the lava area en report back.",
				},
				[20] = {
					name = "Gnomish War Hero (Warzone 1)",
					storageId = Storage.Quest.U9_60.BigfootsBurden.Warzone1Access,
					missionId = 1052,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Deliver the Deathstrike's snippet to gnomission to enter the first warzone for free.",
						[2] = "You may enter the first warzone without using a mission crystal.",
					},
				},
				[21] = {
					name = "Gnomish War Hero (Warzone 2)",
					storageId = Storage.Quest.U9_60.BigfootsBurden.Warzone2Access,
					missionId = 1053,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Deliver the Gnomevil's hat to gnomission to enter the second warzone for free.",
						[2] = "You may enter the second warzone without using a mission crystal.",
					},
				},
				[22] = {
					name = "Gnomish War Hero (Warzone 3)",
					storageId = Storage.Quest.U9_60.BigfootsBurden.Warzone3Access,
					missionId = 1054,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Deliver the Abyssador's lash to gnomission to enter the third warzone for free.",
						[2] = "You may enter the third warzone without using a mission crystal.",
					},
				},
			},
		},
		[6] = {
			name = "Children of the Revolution",
			startStorageId = Storage.Quest.U8_54.ChildrenOfTheRevolution.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Prove Your Worzz!",
					storageId = Storage.Quest.U8_54.ChildrenOfTheRevolution.Mission00,
					missionId = 1058,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Your Mission is to go to a little camp of lizards at north-east of the Dragonblaze Peaks. \z
							You have to find and deliver the Tactical map complete the mission.",
						[2] = "You delivered the Tactical map to Zalamon.",
					},
				},
				[2] = {
					name = "Mission 1: Corruption",
					storageId = Storage.Quest.U8_54.ChildrenOfTheRevolution.Mission01,
					missionId = 1059,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Go to the Temple of Equilibrium (it's marked on your map) and find out what happened there.",
						[2] = "The temple has been corrupted and is lost. Zalamon should be informed about this as soon as possible.",
						[3] = "You already reported Zalamon about the Temple! Ask him for new mission!",
					},
				},
				[3] = {
					name = "Mission 2: Imperial Zzecret Weaponzz",
					storageId = Storage.Quest.U8_54.ChildrenOfTheRevolution.Mission02,
					missionId = 1060,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Go into the small camp Chaochai to the north of the Dragonblaze Peaks \z
							(Zalamon marks the entrance on your map). There are 3 buildings which you have to spy",
						[2] = "You spied 1 of 3 buildings of the camp.",
						[3] = "You spied 2 of 3 buildings of the camp.",
						[4] = "You spied 3 of 3 buildings of the camp. Zalamon should be informed about this as soon as possible.",
						[5] = "You already reported Zalamon about the camp! Ask him for new mission!",
					},
				},
				[4] = {
					name = "Mission 3: Zee Killing Fieldzz",
					storageId = Storage.Quest.U8_54.ChildrenOfTheRevolution.Mission03,
					missionId = 1061,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Get the poison from Zalamon's storage room. Then go to the teleporter to the Muggy Plains and head \z
							east from there to the rice fields. Go to the very top rice field and use the poison anywhere on the water.",
						[2] = "The rice has been poisoned. This will weaken the Emperor's army significantly. \z
							Return and tell Zalamon about your success.",
						[3] = "You already reported Zalamon about your success! Ask him for new mission!",
					},
				},
				[5] = {
					name = "Mission 4: Zze Way of Zztonezz",
					storageId = Storage.Quest.U8_54.ChildrenOfTheRevolution.Mission04,
					missionId = 1062,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "Your mission is to find a way to enter the north of the valley and find a \z
						passage to the great gate itself. Search any temples or settlements you come across for hidden passages.",
						[2] = "Report Zalamon about the strange symbols that you found.",
						[3] = "Get the greasy oil from Zalamon's storage room and put them on the levers that you found.",
						[4] = "Due to being extra greasy, the leavers can now be moved.",
						[5] = "You found the right combination for the puzzle in the mountains and triggered some kind of mechanism. \z
							You should head back to Zalamon to report your success.",
						[6] = "You already reported Zalamon about your success! You got a Tome of Knowledge as reward! \z
							Ask him for new mission!",
					},
				},
				[6] = {
					name = "Mission 5: Phantom Army",
					storageId = Storage.Quest.U8_54.ChildrenOfTheRevolution.Mission05,
					missionId = 1063,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Zalamon has sent you on a quest to find out what lies beneath the secret portal in the temple. Find it and explore the other side.",
						[2] = "Eternal guardians and lizard chosen has been awaken. Survive them and report it to Zalamon!",
						[3] = "You Survived the Waves and reported Zalamon about your success! You got a Serpent Crest as reward!",
					},
				},
			},
		},
		[7] = {
			name = "Factions",
			startStorageId = Storage.Quest.U7_4.DjinnWar.Factions,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "The Marid and the Efreet - Djinn Greeting",
					storageId = Storage.Quest.U7_4.DjinnWar.Faction.Greeting,
					missionId = 1064,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Melchior told you the word &quot;Djanni'hah&quot; which can be used to talk to Djinns. \z
							Be aware that once you become an ally of one Djinn race, you cannot switch sides anymore.",
						[2] = "",
					},
				},
				[2] = {
					name = "The Marid and the Efreet - Marid Faction",
					storageId = Storage.Quest.U7_4.DjinnWar.Faction.MaridDoor,
					missionId = 1065,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "You have joined the Marid. These friendly, blue Djinns are honest and fair allies. \z
							You have pledged eternal loyalty to King Gabel and may enter Asha'daramai freely. Djanni'hah!",
						[2] = "",
					},
				},
				[3] = {
					name = "The Efreet and the Efreet - Efreet Faction",
					storageId = Storage.Quest.U7_4.DjinnWar.Faction.EfreetDoor,
					missionId = 1066,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "You have joined the Efreet. These evil, green Djinns are always up to mischievous pranks. \z
							You have pledged eternal loyalty to King Malor and may enter Mal'ouquah freely. Djanni'hah!",
						[2] = "",
					},
				},
			},
		},
		[8] = {
			name = "Friends and Traders",
			startStorageId = Storage.Quest.U7_8.FriendsAndTraders.DefaultStart,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "The Sweaty Cyclops",
					storageId = Storage.Quest.U7_8.FriendsAndTraders.TheSweatyCyclops,
					missionId = 1067,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Big Ben, the cyclops in Ab'Dendriel sends you to bring him 3 bast skirts for his woman. \z
							After this he will help you to forge different steel.",
						[2] = "Big Ben, the cyclops in Ab'Dendriel will help you to forge different steel now. \z
							Just ask him if you need something.",
					},
				},
				[2] = {
					name = "The Mermaid Marina",
					storageId = Storage.Quest.U7_8.FriendsAndTraders.TheMermaidMarina,
					missionId = 1068,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Marina, the mermaid north of Sabrehaven sends you to bring her 50 honeycombs. \z
							After this she will help you create spool of yarn.",
						[2] = "Marina, the mermaid north of Sabrehaven will help you to create a spool of yarn \z
							from 10 pieces of spider silk. Just ask her if you need something.",
					},
				},
				[3] = {
					name = "The Blessed Stake",
					storageId = Storage.Quest.U7_8.FriendsAndTraders.TheBlessedStake,
					missionId = 1069,
					startValue = 1,
					endValue = 12,
					states = {
						[1] = "Quentin told you about an old prayer which can bind holy energy to an object. Each of its ten lines has to be recited by a different priest though. Bring Quentin a wooden stake from Gamon to start.",
						[2] = 'You received Quentin\'s prayer: "Light shall be near - and darkness afar". Now, bring your stake to Tibra in the Carlin church for the next line of the prayer.',
						[3] = 'You received Tibra\'s prayer: "Hope may fill your heart - doubt shall be banned". Now, bring your stake to Maealil in the Elven settlement for the next line of the prayer.',
						[4] = 'You received Maealil\'s prayer: "Peace may fill your soul - evil shall be cleansed". Now, bring your stake to Yberius in the Venore temple for the next line of the prayer.',
						[5] = 'You received Yberius\' prayer: "Protection will be granted - from dangers at hand". Now, bring your stake to Isimov in the dwarven settlement for the next line of the prayer.',
						[6] = 'You received Isimov\'s prayer: "Unclean spirits shall be repelled". Now, bring your stake to Amanda in Edron for the next line of the prayer.',
						[7] = 'You received Amanda\'s prayer: "Wicked curses shall be broken". Now, bring your stake to Kasmir in Darashia for the next line of the prayer.',
						[8] = 'You received Kasmir\'s prayer: "Let there be honor and humility". Now, bring your stake to Rahkem in Ankrahmun for the next line of the prayer.',
						[9] = 'You received Rahkem\'s prayer: "Let there be power and compassion". Now, bring your stake to Brewster in Port Hope for the next line of the prayer.',
						[10] = 'You received Brewster\'s prayer: "Your hand shall be guided - your feet shall walk in harmony". Now, bring your stake to Tyrias in Liberty Bay for the next line of the prayer.',
						[11] = "You received Tyrias' prayer: \"Your mind shall be a vessel for joy, light and wisdom\". He wasn't exactly happy though and said that if you need some mumbo jumbo again, you should rather go to Chondur.",
						[12] = "Chondur was surprised to hear that you had to travel through all of Tibia to have your wooden stake blessed. He offered you help with the blessing if you should need one again in the future.",
					},
				},
			},
		},
		[9] = {
			name = "Hot Cuisine",
			startStorageId = Storage.Quest.U8_5.HotCuisineQuest.QuestStart,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Hot Cuisine",
					storageId = Storage.Quest.U8_5.HotCuisineQuest.QuestLog,
					missionId = 1070,
					startValue = 1,
					endValue = 16,
					states = {
						[1] = "You've become the apprentice of Maltre Jean Pierre. \z
							The first dish he will teach you to prepare is Rotworm Stew. Bring him the ingredients he told you.",
						[2] = "You have completed the first dish, the second dish he will teach you to prepare is Hydra Tongue Salad. \z
							Bring him the ingredients he told you.",
						[3] = "You have completed the second dish, the third dish he will teach you to prepare is Roasted Dragon Wings. \z
							Bring him the ingredients he told you.",
						[4] = "You have completed the third dish, the fourth dish he will teach you to prepare is Tropical Fried \z
							Terrorbird. Bring him the ingredients he told you.",
						[5] = "You have completed the fourth dish, the fifth dish he will teach you to prepare is \z
							Banana Chocolate Shake. Bring him the ingredients he told you.",
						[6] = "You have completed the fifth dish, the sixth dish he will teach you to prepare is Veggie Casserole. \z
							Bring him the ingredients he told you.",
						[7] = "You have completed the sixth dish, the seventh dish he will teach you to prepare is \z
							Filled Jalapeno Peppers. Bring him the ingredients he told you.",
						[8] = "You have completed the seventh dish, the eight dish he will teach you to prepare is Blessed Steak. \z
							Bring him the ingredients he told you.",
						[9] = "You have completed the eight dish, the ninth dish he will teach you to prepare is Northern Fishburger. \z
							Bring him the ingredients he told you.",
						[10] = "You have completed the ninth dish, the tenth dish he will teach you to prepare is Carrot Cake. \z
							Bring him the ingredients he told you.",
						[11] = "You have completed the tenth dish. You are now able to obtain the cookbook from \z
							Jean Pierre's room upstairs.",
						[12] = "The eleventh dish he will teach you to prepare is Coconut Shrimp Bake. \z
							Bring him the ingredients he told you.",
						[13] = "You have completed the eleventh dish, the twelfth dish he will teach you to prepare is Blackjack. \z
							Bring him the ingredients he told you.",
						[14] = "You have completed the twelfth dish, the thirteenth dish he will teach you to \z
							prepare is Demonic Candy Balls. Bring him the ingredients he told you.",
						[15] = "You have completed the thirteenth dish, the fourteenth dish he will teach you to \z
							prepare is Sweet Mangonaise Elixir. Bring him the ingredients he told you.",
						[16] = "You have completed all the dishes. You are now able to make all the dishes in any order you want.",
					},
				},
			},
		},
		[10] = {
			name = "In Service of Yalahar",
			startStorageId = Storage.Quest.U8_4.InServiceOfYalahar.Questline,
			startStorageValue = 5,
			missions = {
				[1] = {
					name = "Mission 01: Something Rotten",
					storageId = Storage.Quest.U8_4.InServiceOfYalahar.Mission01,
					missionId = 1071,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "Palimuth asked you to help with some sewer malfunctions. \z
							You will need a Crowbar, there are 4 places where you need to go marked with an X on your map.",
						[2] = "You cleaned 1 pipe of 4 from the garbage.",
						[3] = "You cleaned 2 pipes of 4 from the garbage.",
						[4] = "You cleaned 3 pipes of 4 from the garbage.",
						[5] = "You cleaned 4 pipes of 4 from the garbage. Go back to Palimuth and report your mission",
						[6] = "You cleaned all pipes from the garbage! Go back to Palimuth and ask for mission.",
					},
				},
				[2] = {
					name = "Mission 02: Watching the Watchmen",
					storageId = Storage.Quest.U8_4.InServiceOfYalahar.Mission02,
					missionId = 1072,
					startValue = 1,
					endValue = 8,
					states = {
						[1] = "You have to find all 7 guards and give a report to them. \z
							You should start by Foreign Quarter or by Trade Quarter and follow the order of the path..",
						[2] = "You reported to 1 of 7 guards",
						[3] = "You reported to 2 of 7 guards",
						[4] = "You reported to 3 of 7 guards",
						[5] = "You reported to 4 of 7 guards",
						[6] = "You reported to 5 of 7 guards",
						[7] = "You reported to 6 of 7 guards",
						[8] = "You reported to 7 of 7 guards! Go back to Palimuth and ask for mission.",
					},
				},
				[3] = {
					name = "Mission 03: Death to the Deathbringer",
					storageId = Storage.Quest.U8_4.InServiceOfYalahar.Mission03,
					missionId = 1073,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "Get the notes in Palimuths room and read them. Talk to Palimuth again when you've read the notes.",
						[2] = "Talk to Azerus the Yalahari in the city centre to get your next mission.",
						[3] = "Get the notes behind the Yalahari and read them. \z
							Talk to Azerus again and ask him for mission when you've read the notes.",
						[4] = "Ask Palimuth for mission.",
						[5] = "First you will need to kill the three plague bearers and then get The Alchemists' Formulas. \z
								When this have been done head back to either Palimuth (good side) or Yalahari (Azerus) (bad side).",
						[6] = "Ask Azerus the Yalahari for a mission.",
					},
				},
				[4] = {
					name = "Mission 04: Good to be Kingpin",
					storageId = Storage.Quest.U8_4.InServiceOfYalahar.Mission04,
					missionId = 1074,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "Ask Palimuth for mission.",
						[2] = "For this mission you are asked to go to the Trade Quarter and negotiate or threaten Mr. West. \z
							Once again you will gain access to the mechanism although if you \z
							choose to help Palimuth you should go through the sewers.",
						[3] = "You decided to help Palimuth, report him your mission.",
						[4] = "You decided to help Azerus, report him your mission. ",
						[5] = "Get back to Azerus and report him your mission.",
						[6] = "Ask Azerus for a mission.",
					},
				},
				[5] = {
					name = "Mission 05: Food or Fight",
					storageId = Storage.Quest.U8_4.InServiceOfYalahar.Mission05,
					missionId = 1075,
					startValue = 1,
					endValue = 8,
					states = {
						[1] = "Ask Palimuth for mission.",
						[2] = "On this mission you are asked to find a druid by the name of Tamerin, on the Arena Quarter. \z
							You now have permission to use the gates mechanism.",
						[3] = "The first is to bring Tamerin a flask of Animal Cure, \z
							you can buy this from Siflind on Nibelor (northeast of Svargrond).",
						[4] = "now you have to kill Morik the Gladiator and bring his helmet to Tamerin as proof.",
						[5] = "Report back to Tamerin as he will listen to your request and you can now make your choice: \z
							Cattle for Palimuth (good side), Warbeasts for Yalahari (Azerus) (bad side). \z
							Then report the one you decided your mission.",
						[6] = "You decided to help Palimuth, report him your mission.",
						[7] = "You decided to help Azerus, report him your mission.",
						[8] = "Ask Azerus for a mission.",
					},
				},
				[6] = {
					name = "Mission 06: Frightening Fuel",
					storageId = Storage.Quest.U8_4.InServiceOfYalahar.Mission06,
					missionId = 1076,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Ask Palimuth for mission.",
						[2] = "Yalahari (Azerus) orders you to travel to the Cemetery Quarter and find the Strange Carving. \z
							He gives you a Ghost Charm and tells you to charge it with the tormented souls of the ghosts there \z
							to be used as an energy source. Palimuth wants the Charged Ghost Charm in order to free those souls. \z
							You can new use the Cemetery Quarter mechanism now. Go to the big building in the Cemetery Quarter and \z
							use the Ghost Charm on the Strange Carving at the back of the room.",
						[3] = "Good side: Go to Palimuth, ask him about your mission, and hand in the charm. Bad side: \z
							Ask about your mission to Yalahari (Azerus) and give it back.",
						[4] = "Get back to Azerus and report him your mission.",
						[5] = "Ask Azerus for a mission.",
					},
				},
				[7] = {
					name = "Mission 07: A Fishy Mission",
					storageId = Storage.Quest.U8_4.InServiceOfYalahar.Mission07,
					missionId = 1077,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Ask Palimuth for mission.",
						[2] = "Bad side: Yalahari (Azerus) will send you for a new mission to go to the Sunken Quarter and kill the \z
							Quara Leaders, Inky, Splasher and Sharptooth. Good side: Rather than fighting any Quara leaders Palimuth \z
							will instead send you to find the cause for the Quaras aggressive behavior. Find Maritima and talk to her \z
							about the Quara and she will explain what their problem is.",
						[3] = "Get back to Palimuth and report him your mission.",
						[4] = "You killed the Quarabosses. Ask Azerus for a mission.",
						[5] = "Ask Azerus for a mission.",
					},
				},
				[8] = {
					name = "Mission 08: Dangerous Machinations",
					storageId = Storage.Quest.U8_4.InServiceOfYalahar.Mission08,
					missionId = 1078,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Ask Palimuth for mission.",
						[2] = "Bad side: For this mission the Yalahari requests you go to the Factory Quarter and \z
							find a pattern crystal, which will be used to supply weapons to help take control of the city. Good side: \z
							Palimuth will send you there to use the crystal to supply food for the city.",
						[3] = "Get back to Azerus and report him your mission.",
						[4] = "Ask Azerus for a mission.",
					},
				},
				[9] = {
					name = "Mission 09: Decision",
					storageId = Storage.Quest.U8_4.InServiceOfYalahar.Mission09,
					missionId = 1079,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "You now need to decide between supporting Palimuth or the Yalahari's goal. \z
							To choose Palimuth's good side go to him, and simply ask him for a mission mission. \z
							Likewise, to join the Yalahari (Azerus) (bad side) go to him and say the same.",
						[2] = "you already decided!",
					},
				},
				[10] = {
					name = "Mission 10: The Final Battle",
					storageId = Storage.Quest.U8_4.InServiceOfYalahar.Mission10,
					missionId = 1080,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Palimuth told you that a circle of Yalahari is planning some kind of ritual. They plan to create \z
							a portal for some powerful demons and to unleash them in the city to 'purge' it once and for all.",
						[2] = "The entrance to their inner sanctum has been opened for you. \z
							Be prepared for a HARD battle! Better gather some friends to assist you.",
						[3] = "Report back to whichever principal you have chosen to help and you will receive Yalaharian Outfits.",
						[4] = "You got the access to the reward room. \z
							Choose carefully which reward you pick as you can only take one item.",
						[5] = "You have completed the Quest!",
					},
				},
			},
		},
		[11] = {
			name = "Killing in the Name of...",
			startStorageId = 100157,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Paw and Fur - Hunting Elite",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.QuestLogEntry,
					missionId = 1081,
					startValue = 0,
					endValue = 1,
					description = function(player)
						return string.format("You joined the 'Paw and Fur - Hunting Elite'. Ask Grizzly Adams for some hunting tasks. You already gained %d points. You currently have %d boss points.", (math.max(player:getStorageValue(POINTSSTORAGE), 0)), (math.max(player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.BossPoints), 0)))
					end,
				},
				[2] = {
					name = "Paw and Fur - Rank: Huntsman",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.PawAndFurRank,
					missionId = 1082,
					startValue = 0,
					endValue = 1,
					description = "You have been promoted to the rank of a 'Huntsman' in the 'Paw and Fur - Hunting Elite'.",
				},
				[3] = {
					name = "Paw and Fur - Rank: Ranger",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.PawAndFurRank,
					missionId = 1083,
					startValue = 2,
					endValue = 3,
					description = "You have been promoted to the rank of a 'Ranger' in the 'Paw and Fur - Hunting Elite'.",
				},
				[4] = {
					name = "Paw and Fur - Rank: Big Game Hunter",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.PawAndFurRank,
					missionId = 1084,
					startValue = 4,
					endValue = 5,
					description = "You have been promoted to the rank of a 'Big Game Hunter' in the 'Paw and Fur - Hunting Elite'.",
				},
				[5] = {
					name = "Paw and Fur - Rank: Trophy Hunter",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.PawAndFurRank,
					missionId = 1085,
					startValue = 5,
					endValue = 6,
					description = "You have been promoted to the rank of a 'Trophy Hunter' in the 'Paw and Fur - Hunting Elite'.",
				},
				[6] = {
					name = "Paw and Fur - Rank: Elite Hunter",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.PawAndFurRank,
					missionId = 1086,
					startValue = 7,
					endValue = 8,
					description = "You have been promoted to the rank of a 'Elite Hunter' in the 'Paw and Fur - Hunting Elite'.",
				},
				[7] = { -- Grizzly Adams
					name = "Paw and Fur: Crocodiles",
					storageId = 65001,
					missionId = 1087,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 crocodiles.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.CrocodileCount))
						end,
						[1] = "You successfully hunted 300 crocodiles. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 crocodiles.",
					},
				},
				[8] = {
					name = "Paw and Fur: Badgers",
					storageId = 65002,
					missionId = 1088,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 badgers.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.BadgerCount))
						end,
						[1] = "You successfully hunted 300 badgers. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 badgers.",
					},
				},
				[9] = {
					name = "Paw and Fur: Tarantulas",
					storageId = 65003,
					missionId = 1089,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 tarantulas.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.TarantulaCount))
						end,
						[1] = "You successfully hunted 300 tarantulas. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 tarantulas.",
					},
				},
				[10] = {
					name = "Paw and Fur: Carniphilas",
					storageId = 65004,
					missionId = 1090,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/150 carniphilas.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.CarniphilasCount))
						end,
						[1] = "You successfully hunted 150 carniphilas. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 150 carniphilas.",
					},
				},
				[11] = {
					name = "Paw and Fur: Stone Golems",
					storageId = 65005,
					missionId = 1091,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/200 stone golems.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.StoneGolemCount))
						end,
						[1] = "You successfully hunted 200 stone golems. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 200 stone golems.",
					},
				},
				[12] = {
					name = "Paw and Fur: Mammoths",
					storageId = 65006,
					missionId = 1092,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 mammoths.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.MammothCount))
						end,
						[1] = "You successfully hunted 300 mammoths. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 mammoths.",
					},
				},
				[13] = {
					name = "Paw and Fur: Gnarlhounds",
					storageId = 65007,
					missionId = 1093,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 gnarlhounds.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.GnarlhoundCount))
						end,
						[1] = "You successfully hunted 300 gnarlhounds. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 gnarlhounds.",
					},
				},
				[14] = {
					name = "Paw and Fur: Terramites",
					storageId = 65008,
					missionId = 1094,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 terramites.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.TerramiteCount))
						end,
						[1] = "You successfully hunted 300 terramites. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 terramites.",
					},
				},
				[15] = {
					name = "Paw and Fur: Apes",
					storageId = 65009,
					missionId = 1095,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format(
								"You already hunted %d kongras, %d merlkins and %d sibangs. You are supposed to kill 300 apes in total.",
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.KongraCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.MerlkinCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.SibangCount)
							)
						end,
						[1] = "You successfully hunted 300 apes. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 apes.",
					},
				},
				[16] = {
					name = "Paw and Fur: Thornback Tortoises",
					storageId = 65010,
					missionId = 1096,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 thornback tortoises.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.ThornbackTortoiseCount))
						end,
						[1] = "You successfully hunted 300 thornback tortoises. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 thornback tortoises.",
					},
				},
				[17] = {
					name = "Paw and Fur: Gargoyles",
					storageId = 65011,
					missionId = 1097,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 gargoyles.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.GargoyleCount))
						end,
						[1] = "You successfully hunted 300 gargoyles. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 gargoyles.",
					},
				},
				[18] = {
					name = "Paw and Fur: Ice Golems",
					storageId = 65012,
					missionId = 1098,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 ice golems.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.IceGolemCount))
						end,
						[1] = "You successfully hunted 300 ice golems. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 ice golems.",
					},
				},
				[19] = {
					name = "Paw and Fur: Quara Scouts",
					storageId = 65013,
					missionId = 1099,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format(
								"You already killed %d constrictor scouts, %d hydromancer scouts, %d mantassin scouts, %d pincher scouts and %d predator scouts. You are supposed to kill 400 in total.",
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.QuaraConstrictorScoutCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.QuaraHydromancerScoutCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.QuaramMntassinScoutCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.QuaraPincherScoutCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.QuaraPredatorScoutCount)
							)
						end,
						[1] = "You successfully hunted 400 quara scouts. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 400 quara scouts.",
					},
				},
				[20] = {
					name = "Paw and Fur: Mutated Rats",
					storageId = 65014,
					missionId = 10100,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/400 mutated rats.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.MutatedRatCount))
						end,
						[1] = "You successfully hunted 400 mutated rats. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 400 mutated rats.",
					},
				},
				[21] = {
					name = "Paw and Fur: Ancient Scarabs",
					storageId = 65015,
					missionId = 10101,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/250 ancient scarabs.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.AncientScarabCount))
						end,
						[1] = "You successfully hunted 250 ancient scarabs. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 250 ancient scarabs.",
					},
				},
				[22] = {
					name = "Paw and Fur: Wyverns",
					storageId = 65016,
					missionId = 10102,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 wyverns.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.WyvernCount))
						end,
						[1] = "You successfully hunted 300 wyverns. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 wyverns.",
					},
				},
				[23] = {
					name = "Paw and Fur: Lancer Beetles",
					storageId = 65017,
					missionId = 10103,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 lancer beetles.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.LancerBeetleCount))
						end,
						[1] = "You successfully hunted 300 lancer beetles. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 lancer beetles.",
					},
				},
				[24] = {
					name = "Paw and Fur: Wailing Widows",
					storageId = 65018,
					missionId = 10104,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/400 wailing widows.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.WailingWidowCount))
						end,
						[1] = "You successfully hunted 400 wailing widows. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 400 wailing widows.",
					},
				},
				[25] = {
					name = "Paw and Fur: Killer Caimans",
					storageId = 65019,
					missionId = 10105,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/250 killer caimans.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.KillerCaimanCount))
						end,
						[1] = "You successfully hunted 250 killer caimans. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 250 killer caimans.",
					},
				},
				[26] = {
					name = "Paw and Fur: Bonebeasts",
					storageId = 65020,
					missionId = 10106,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 bonebeasts.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.BonebeastCount))
						end,
						[1] = "You successfully hunted 300 bonebeasts. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 bonebeasts.",
					},
				},
				[27] = {
					name = "Paw and Fur: Crystal Spiders",
					storageId = 65021,
					missionId = 10107,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 crystal spiders.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.CrystalSpiderCount))
						end,
						[1] = "You successfully hunted 300 crystal spiders. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 crystal spiders.",
					},
				},
				[28] = {
					name = "Paw and Fur: Mutated Tigers",
					storageId = 65022,
					missionId = 10108,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 mutated tigers.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.MutatedTigerCount))
						end,
						[1] = "You successfully hunted 300 mutated tigers. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 mutated tigers.",
					},
				},
				[29] = {
					name = "Paw and Fur: Underwater Quara",
					storageId = 65023,
					missionId = 10109,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format(
								"You already killed %d constrictors, %d hydromancers, %d mantassins, %d pinchers and %d predators. You are supposed to kill 600 in total.",
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.QuaraConstrictorCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.QuaraHydromancerCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.QuaraMantassinCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.QuaraPincherCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.QuaraPredatorCount)
							)
						end,
						[1] = "You successfully hunted 600 underwater quara. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 600 underwater quara.",
					},
				},
				[30] = {
					name = "Paw and Fur: Giant Spiders",
					storageId = 65024,
					missionId = 10110,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/500 giant spiders.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.GiantSpiderCount))
						end,
						[1] = "You successfully hunted 500 giant spiders. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 500 giant spiders.",
					},
				},
				[31] = {
					name = "Paw and Fur: Werewolves",
					storageId = 65025,
					missionId = 10111,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/300 werewolves.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.WerewolveCount))
						end,
						[1] = "You successfully hunted 300 werewolves. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 300 werewolves.",
					},
				},
				[32] = {
					name = "Paw and Fur: Nightmares",
					storageId = 65026,
					missionId = 10112,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d nightmares and %d nightmare scions. You are supposed to kill 400 in total.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.NightmareCount), player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.NightmareScionCount))
						end,
						[1] = "You successfully hunted 400 nightmares. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 400 nightmares.",
					},
				},
				[33] = {
					name = "Paw and Fur: Hellspawns",
					storageId = 65027,
					missionId = 10113,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/600 hellspawns.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.HellspawnCount))
						end,
						[1] = "You successfully hunted 600 hellspawns. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 600 hellspawns.",
					},
				},
				[34] = {
					name = "Paw and Fur: Lizards",
					storageId = 65028,
					missionId = 10114,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format(
								"You already hunted %d Chosen, %d Dragon Priest, %d High Guard, %d Legionnaire and %d Zaogun. You are supposed to kill 800 high class lizards in total.",
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.LizardChosenCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.LizardDragonPriestCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.LizardHighGuardCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.LizardLegionnaireCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.LizardZaogunCount)
							)
						end,
						[1] = "You successfully hunted 800 high class lizards. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 800 high class lizards.",
					},
				},
				[35] = {
					name = "Paw and Fur: Stampors",
					storageId = 65029,
					missionId = 10115,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/600 stampors.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.StamporCount))
						end,
						[1] = "You successfully hunted 600 stampors. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 600 stampors.",
					},
				},
				[36] = {
					name = "Paw and Fur: Brimstone Bugs",
					storageId = 65030,
					missionId = 10116,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/500 brimstone bugs.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.BrimstoneBugCount))
						end,
						[1] = "You successfully hunted 500 brimstone bugs. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 500 brimstone bugs.",
					},
				},
				[37] = {
					name = "Paw and Fur: Mutated Bats",
					storageId = 65031,
					missionId = 10117,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/400 mutated bats.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.MutatedBatCount))
						end,
						[1] = "You successfully hunted 400 mutated bats. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 400 mutated bats.",
					},
				},
				[38] = {
					name = "Paw and Fur: Hydras",
					storageId = 65032,
					missionId = 10118,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/650 hydras.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.HydraCount))
						end,
						[1] = "You successfully hunted 650 hydras. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 650 hydras.",
					},
				},
				[39] = {
					name = "Paw and Fur: Serpent Spawns",
					storageId = 65033,
					missionId = 10119,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/800 serpent spawns.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.SerpentSpawnCount))
						end,
						[1] = "You successfully hunted 800 serpent spawns. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 800 serpent spawns.",
					},
				},
				[40] = {
					name = "Paw and Fur: Medusae",
					storageId = 65034,
					missionId = 10120,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/500 medusae.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.MedusaCount))
						end,
						[1] = "You successfully hunted 500 medusae. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 500 medusae.",
					},
				},
				[41] = {
					name = "Paw and Fur: Behemoths",
					storageId = 65035,
					missionId = 10121,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/700 behemoths.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.BehemothCount))
						end,
						[1] = "You successfully hunted 700 behemoths. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 700 behemoths.",
					},
				},
				[42] = {
					name = "Paw and Fur: Sea Serpents",
					storageId = 65036,
					missionId = 10122,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d sea serpents and %d young sea serpents. You are supposed to kill 900 in total.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.SeaSerpentCount), player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.YoungSeaSerpentCount))
						end,
						[1] = "You successfully hunted 900 sea serpents. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 900 sea serpents.",
					},
				},
				[43] = {
					name = "Paw and Fur: Hellhounds",
					storageId = 65037,
					missionId = 10123,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/250 hellhounds.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.HellhoundCount))
						end,
						[1] = "You successfully hunted 250 hellhounds. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 250 hellhounds.",
					},
				},
				[44] = {
					name = "Paw and Fur: Ghastly Dragons",
					storageId = 65038,
					missionId = 10124,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/500 ghastly dragons.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.GhastlyDragonCount))
						end,
						[1] = "You successfully hunted 500 ghastly dragons. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 500 ghastly dragons.",
					},
				},
				[45] = {
					name = "Paw and Fur: Drakens",
					storageId = 65039,
					missionId = 10125,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format(
								"You already hunted %d draken abomination, %d draken elite, %d draken spellweaver and %d draken warmaster. You are supposed to kill 900 drakens in total.",
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.DrakenAbominationCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.DrakenEliteCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.DrakenSpellweaverCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.DrakenWarmasterCount)
							)
						end,
						[1] = "You successfully hunted 900 drakens. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 900 drakens.",
					},
				},
				[46] = {
					name = "Paw and Fur: Destroyers",
					storageId = 65040,
					missionId = 10126,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/650 destroyers.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.DestroyerCount))
						end,
						[1] = "You successfully hunted 650 destroyers. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 650 destroyers.",
					},
				},
				[47] = {
					name = "Paw and Fur: Undead Dragons",
					storageId = 65041,
					missionId = 10127,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/400 undead dragons.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.UndeadDragonCount))
						end,
						[1] = "You successfully hunted 400 undead dragons. If you want to you may complete this task again.",
						[2] = "You succesfully hunted 400 undead dragons.",
					},
				},
				[48] = {
					name = "Paw and Fur: Demons",
					storageId = 65042,
					missionId = 10128,
					startValue = 0,
					endValue = 1,
					states = {
						[0] = function(player)
							return string.format("You already hunted %d/6666 demons.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.MonsterKillCount.DemonCount))
						end,
						[1] = "You successfully hunted 6666 demons.",
					},
				},
				[49] = { -- Grizzly Adams Boss
					name = "Paw and Fur: The Snapper",
					storageId = 34100,
					missionId = 10129,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about the Snapper, a crocodile that already killed many citizens of Port Hope. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Snapper. Talk to Grizzly again.",
						[3] = "You've killed the Snapper and reported back to Grizzly.",
					},
				},
				[50] = {
					name = "Paw and Fur: Hide",
					storageId = 34101,
					missionId = 10130,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Hide', a tarantula that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Hide. Talk to Grizzly again.",
						[3] = "You've killed Hide and reported back to Grizzly.",
					},
				},
				[51] = {
					name = "Paw and Fur: Deathbine",
					storageId = 34102,
					missionId = 10131,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Deathbine', a carniphila that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Deathbine. Talk to Grizzly again.",
						[3] = "You've killed Deathbine and reported back to Grizzly.",
					},
				},
				[52] = {
					name = "Paw and Fur: The Bloodtusk",
					storageId = 34103,
					missionId = 10132,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about the Bloodtusk, a mammoth that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Bloodtusk. Talk to Grizzly again.",
						[3] = "You've killed the Bloodtusk and reported back to Grizzly.",
					},
				},
				[53] = {
					name = "Paw and Fur: Shardhead",
					storageId = 34104,
					missionId = 10133,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Shardhead', a ice golem that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Shardhead. Talk to Grizzly again.",
						[3] = "You've killed Shardhead and reported back to Grizzly.",
					},
				},
				[54] = {
					name = "Paw and Fur: Esmerelda",
					storageId = 34105,
					missionId = 10134,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Esmerelda', a mutated rat that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Esmerelda. Talk to Grizzly again.",
						[3] = "You've killed Esmerelda and reported back to Grizzly.",
					},
				},
				[55] = {
					name = "Paw and Fur: Fleshcrawler",
					storageId = 34106,
					missionId = 10135,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Fleshcrawler', a ancient scarab that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Fleshcrawler. Talk to Grizzly again.",
						[3] = "You've killed Fleshcrawler and reported back to Grizzly.",
					},
				},
				[56] = {
					name = "Paw and Fur: Ribstride",
					storageId = 34107,
					missionId = 10136,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Ribstride', a bonebeast that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Ribstride. Talk to Grizzly again.",
						[3] = "You've killed Ribstride and reported back to Grizzly.",
					},
				},
				[57] = {
					name = "Paw and Fur: Bloodweb",
					storageId = 34108,
					missionId = 10137,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Bloodweb', a crystal spider that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Bloodweb. Talk to Grizzly again.",
						[3] = "You've killed Bloodweb and reported back to Grizzly.",
					},
				},
				[58] = {
					name = "Paw and Fur: Thul",
					storageId = 34109,
					missionId = 10138,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Thul', a quara that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Thul. Talk to Grizzly again.",
						[3] = "You've killed Thul and reported back to Grizzly.",
					},
				},
				[59] = {
					name = "Paw and Fur: The Old Widow",
					storageId = 34110,
					missionId = 10139,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about the Old Widow, a giant spider that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Old Widow. Talk to Grizzly again.",
						[3] = "You've killed the Old Widow and reported back to Grizzly.",
					},
				},
				[60] = {
					name = "Paw and Fur: Hemming",
					storageId = 34111,
					missionId = 10140,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Hemming', a werewolf that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Hemming. Talk to Grizzly again.",
						[3] = "You've killed Hemming and reported back to Grizzly.",
					},
				},
				[61] = {
					name = "Paw and Fur: Tormentor",
					storageId = 34112,
					missionId = 10141,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Tormentor', a nightmare that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Tormentor. Talk to Grizzly again.",
						[3] = "You've killed Tormentor and reported back to Grizzly.",
					},
				},
				[62] = {
					name = "Paw and Fur: Flameborn",
					storageId = 34113,
					missionId = 10142,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Flameborn', a hellspawn that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Flameborn. Talk to Grizzly again.",
						[3] = "You've killed Flameborn and reported back to Grizzly.",
					},
				},
				[63] = {
					name = "Paw and Fur: Fazzrah",
					storageId = 34114,
					missionId = 10143,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Fazzrah', a lizard that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Fazzrah. Talk to Grizzly again.",
						[3] = "You've killed Fazzrah and reported back to Grizzly.",
					},
				},
				[64] = {
					name = "Paw and Fur: Tromphonyte",
					storageId = 34115,
					missionId = 10144,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Tromphonyte', a stampor that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Tromphonyte. Talk to Grizzly again.",
						[3] = "You've killed Tromphonyte and reported back to Grizzly.",
					},
				},
				[65] = {
					name = "Paw and Fur: Sulphur Scuttler",
					storageId = 34116,
					missionId = 10145,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Sulphur Scuttler', a brimstone bug that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Sulphur Scuttler. Talk to Grizzly again.",
						[3] = "You've killed Sulphur Scuttler and reported back to Grizzly.",
					},
				},
				[66] = {
					name = "Paw and Fur: Bruise Payne",
					storageId = 34117,
					missionId = 10146,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Bruise Payne', a mutated bat that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Bruise Payne. Talk to Grizzly again.",
						[3] = "You've killed Bruise Payne and reported back to Grizzly.",
					},
				},
				[67] = {
					name = "Paw and Fur: The Many",
					storageId = 34118,
					missionId = 10147,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about the Many, a hydra that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Many. Talk to Grizzly again.",
						[3] = "You've killed the Many and reported back to Grizzly.",
					},
				},
				[68] = {
					name = "Paw and Fur: The Noxious Spawn",
					storageId = 34119,
					missionId = 10148,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about the Noxious Spawn, a serpent spawn that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Noxious Spawn. Talk to Grizzly again.",
						[3] = "You've killed the Noxious Spawn and reported back to Grizzly.",
					},
				},
				[69] = {
					name = "Paw and Fur: Gorgo",
					storageId = 34120,
					missionId = 10149,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Gorgo', a medusa that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Gorgo. Talk to Grizzly again.",
						[3] = "You've killed Gorgo and reported back to Grizzly.",
					},
				},
				[70] = {
					name = "Paw and Fur: Stonecracker",
					storageId = 34121,
					missionId = 10150,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Stonecracker', a behemoth that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Stonecracker. Talk to Grizzly again.",
						[3] = "You've killed Stonecracker and reported back to Grizzly.",
					},
				},
				[71] = {
					name = "Paw and Fur: Leviathan",
					storageId = 34122,
					missionId = 10151,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Leviathan', a sea serpent that already killed many citizens of Svargrond. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Leviathan. Talk to Grizzly again.",
						[3] = "You've killed Leviathan and reported back to Grizzly.",
					},
				},
				[72] = {
					name = "Paw and Fur: Kerberos",
					storageId = 34123,
					missionId = 10152,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Kerberos', a hellhound that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Kerberos. Talk to Grizzly again.",
						[3] = "You've killed Kerberos and reported back to Grizzly.",
					},
				},
				[73] = {
					name = "Paw and Fur: Ethershreck",
					storageId = 34124,
					missionId = 10153,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Ethershreck', a ghastly dragon that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Ethershreck. Talk to Grizzly again.",
						[3] = "You've killed Ethershreck and reported back to Grizzly.",
					},
				},
				[74] = {
					name = "Paw and Fur: Paiz the Pauperizer",
					storageId = 34125,
					missionId = 10154,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Paiz the Pauperizer', a daunting draken that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Paiz the Pauperizer. Talk to Grizzly again.",
						[3] = "You've killed Paiz the Pauperizer and reported back to Grizzly.",
					},
				},
				[75] = {
					name = "Paw and Fur: Bretzecutioner",
					storageId = 34126,
					missionId = 10155,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about 'Bretzecutioner', a destroyer that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Bretzecutioner. Talk to Grizzly again.",
						[3] = "You've killed Bretzecutioner and reported back to Grizzly.",
					},
				},
				[76] = {
					name = "Paw and Fur: Zanakeph",
					storageId = 34127,
					missionId = 10156,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Grizzly told you about Zanakeph, an undead dragon that already killed many citizens. Try find its hideout and kill it.",
						[2] = "You have found the hideout of Zanakeph. Talk to Grizzly again.",
						[3] = "You've killed Zanakeph and reported back to Grizzly.",
					},
				},
				[77] = {
					name = "Paw and Fur: Tiquandas Revenge",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.MissionTiquandasRevenge,
					missionId = 10157,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "You have the special task to bring down Tiquanda's Revenge.",
						[2] = "You have fought 'Tiquanda's Revenge'. Report to Grizzly Adams about your special task.",
						[3] = "You found the hideout of Tiquanda's Revenge and managed to kill it.",
					},
				},
				[78] = {
					name = "Paw and Fur: Demodras",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.MissionDemodras,
					missionId = 10158,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "You have the special task to bring down Demodras.",
						[2] = "You have fought 'Demodras'. Report to Grizzly Adams about your special task.",
						[3] = "You found the hideout of Demodras and managed to kill it.",
					},
				},
				[79] = { -- Others
					name = "The Marid: Green Djinns",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.GreenDjinnTask,
					missionId = 10159,
					startValue = 0,
					endValue = 3,
					states = {
						[0] = function(player)
							return string.format("Gabel sent you to kill 500 green djinns or Efreet. You have killed %d green djinns and %d Efreet so far.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.GreenDjinnCount), player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.EfreetCount))
						end,
						[1] = "If you dare, you can try finding and fighting Merikh the Slaughterer.",
						[2] = "You faced Merikh the Slaughterer. Go back to Gabel.",
						[3] = "You've finished this task. If you want to kill green djinns or Efreet again, talk to Gabel about this task.",
					},
				},
				[80] = {
					name = "The Efreet: Blue Djinns",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.BlueDjinnTask,
					missionId = 10160,
					startValue = 0,
					endValue = 3,
					states = {
						[0] = function(player)
							return string.format("Malor sent you to kill 500 blue djinns or Marid. You have killed %d blue djinns and %d Marid so far.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.BlueDjinnCount), player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.MaridCount))
						end,
						[1] = "If you dare, you can try finding and fighting Fahim the wise.",
						[2] = "You faced Fahim the wise. Go back to Malor.",
						[3] = "You've finished this task. If you want to kill blue djinns or Marid again, talk to Malor about this task.",
					},
				},
				[81] = {
					name = "Meriana Rebels: Pirates",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.PirateTask,
					missionId = 10161,
					startValue = 0,
					endValue = 3,
					states = {
						[0] = function(player)
							return string.format(
								"Kill 3000 pirates in total to help the rebels on Meriana. So far, you have killed %d Marauders, %d Cutthroats, %d Buccaneers and %d Corsairs.",
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.PirateMarauderCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.PirateCutthroadCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.PirateBuccaneerCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.PirateCorsairCount)
							)
						end,
						[1] = "You succesfully killed 3000 pirates. Striker sent you to find the secret hideout of the pirate leaders on Nargor and vanquish whoever you find inside.",
						[2] = "You discovered the secret hideout of a pirate leader. Talk to Ray Striker if you like.",
						[3] = "You succesfully killed 3000 pirates.",
					},
				},
				[82] = {
					name = "Turmoil of War",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.BudrikMinos,
					missionId = 10162,
					startValue = 0,
					endValue = 2,
					states = {
						[0] = function(player)
							return string.format(
								"Budrik asked you to kill 5000 minotaurs for him. You already killed %d minotaurs, %d minotaur guards, %d minotaur mages and %d minotaur archers.",
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.MinotaurCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.MinotaurGuardCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.MinotaurMageCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.MinotaurArcherCount)
							)
						end,
						[1] = "Budrik found the hideout of The Horned Fox! You have a single chance of bringing him down. Go for it.",
						[2] = "You have slain 5000 minotaurs and fought The Horned Fox for Budrik and the whole dwarven kind.",
					},
				},
				[83] = {
					name = "Lugri: Necromancers and Priestesses",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.LugriNecromancers,
					missionId = 10163,
					startValue = 0,
					endValue = 4,
					states = {
						[0] = function(player)
							return string.format(
								"Lugri sent you to kill 4000 necromancers, though he said 'no reward'. So far you killed %d Necromancers, %d Priestesses, %d Blood Priests, %d Blood Hands and %d Shadow Pupils.",
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.NecromancerCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.PriestessCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.BloodPriestCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.BloodHandCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.ShadowPupilCount)
							)
						end,
						[1] = "If you dare, you can try finding and fighting Necropharus in his Halls of Sacrifice, deep under Drefia. Note that this will be the only time you're allowed to enter his room, so be well prepared.",
						[2] = "You faced Necropharus. Go back to Lugri if you like.",
						[3] = function(player)
							return string.format(
								"Lugri sent you to kill 1000 necromancers. So far you killed %d Necromancers, %d Priestesses, %d Blood Priests, %d Blood Hands and %d Shadow Pupils.",
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.NecromancerCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.PriestessCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.BloodPriestCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.BloodHandCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.ShadowPupilCount)
							)
						end,
						[4] = "You've finished this task - for now. If you want to kill the different necromancers and priestesses again for an experience and money bonus, talk to Lugri about this task.",
					},
				},
				[84] = {
					name = "Edron City: Trolls",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.TrollTask,
					missionId = 10164,
					startValue = 0,
					endValue = 1,
					states = {
						[0] = function(player)
							return string.format("Daniel Steelsoul sent you to kill 100 trolls, preferably west of Edron city. You have killed %d trolls and %d troll champions so far.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.TrollCount), player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.TrollChampionCount))
						end,
						[1] = "You succesfully killed 100 trolls. As long as you are level 20 or lower, you may repeat this task by talking to Daniel Steelsoul about it.",
					},
				},
				[85] = {
					name = "Edron City: Goblins",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.GoblinTask,
					missionId = 10165,
					startValue = 0,
					endValue = 1,
					states = {
						[0] = function(player)
							return string.format(
								"Daniel Steelsoul sent you to kill 150 goblins, preferably west of Edron city. You have killed %d goblins so far, %d goblin scavengers and %d goblin assassins.",
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.GoblinCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.GoblinScavengerCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.GoblinAssassinCount)
							)
						end,
						[1] = "You succesfully killed 150 goblins. As long as you are level 20 or lower, you may repeat this task by talking to Daniel Steelsoul about it.",
					},
				},
				[86] = {
					name = "Edron City: Rotworms",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.RotwormTask,
					missionId = 10166,
					startValue = 0,
					endValue = 1,
					states = {
						[0] = function(player)
							return string.format("Daniel Steelsoul sent you to kill 300 rotworms, preferably in their tunnels south of Edron city. You have killed %d rotworms and %d carrion worms so far.", player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.RotwormCount), player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.CarrionWormnCount))
						end,
						[1] = "You succesfully killed 300 rotworms. As long as you are level 40 or lower, you may repeat this task by talking to Daniel Steelsoul about it.",
					},
				},
				[87] = {
					name = "Edron City: Cyclops",
					storageId = Storage.Quest.U8_5.KillingInTheNameOf.CyclopsTask,
					missionId = 10167,
					startValue = 0,
					endValue = 1,
					states = {
						[0] = function(player)
							return string.format(
								"Daniel Steelsoul sent you to kill 500 cyclops, preferably in Cyclopolis north of Edron city. You have killed %d cyclops, %d drones and %d smiths so far.",
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.CyclopsCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.CyclopsDroneCount),
								player:getStorageValue(Storage.Quest.U8_5.KillingInTheNameOf.AltKillCount.CyclopsSmithCount)
							)
						end,
						[1] = "You succesfully killed 500 cyclops. As long as you are level 60 or lower, you may repeat this task by talking to Daniel Steelsoul about it.",
					},
				},
			},
		},
		[12] = {
			name = "Outfit and Addon Quests",
			startStorageId = Storage.OutfitQuest.DefaultStart,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Assassin Addon: The Red Death",
					storageId = Storage.Quest.U7_8.AssassinOutfits.AssassinBaseOutfit,
					missionId = 10168,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Atrad wants only two items from you for his old katana: a behemoth claw and a nose ring, \z
							both at the same time. He also told you about a &quot;horned fox&quot; who wears such as nose ring",
						[2] = "You have received the second assassin addon.",
					},
				},
				[2] = {
					name = "Citizen Addon: Backpack",
					storageId = Storage.Quest.U7_8.CitizenOutfits.MissionBackpack,
					missionId = 10169,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Collect 100 pieces of minotaur leather and bring it to either Amber or Lubo \z
							to have them make a backpack addon for you.",
						[2] = "You delivered 100 pieces of minotaur leather. Some time is needed to make the backpack for you though. \z
							You should check back later and ask either Amber or Lubo for your backpack.",
					},
				},
				[3] = {
					name = "Citizen Addon: Feather Hat",
					storageId = Storage.Quest.U7_8.CitizenOutfits.MissionHat,
					missionId = 10170,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Collect a legion helmet, 100 chicken feathers and 50 honeycombs and bring them to either \z
							Hanna or Norma to have them make a feather hat addon for you.",
						[2] = "You got the Citizen Hat Addon!",
					},
				},
				[4] = {
					name = "Barbarian Outfit Quest",
					storageId = Storage.Quest.U7_8.BarbarianOutfits.BarbarianAddon,
					missionId = 10171,
					startValue = 1,
					endValue = 17,
					states = {
						[1] = "Bron told you that his brother Ajax in Northport needs to learn that violence is not \z
							always the answer. He told you to make his brother angry, then show him that all he \z
							needed to do was say 'please' to fix the situation.",
						[2] = "You will need to leave Ajax alone for an hour, then return to him.",
						[3] = "Ajax told you that he has thought about it, and that violence is not always good. \z
							Return to Bron now, and tell him that Ajax said fist not always good",
						[4] = "Bron mentioned that he has someone in his house that he doesn't like, and he wants you to \z
							get advice from Ajax about how to handle the situation. Go back to Ajax and ask him about Gelagos",
						[5] = "Ajax told you his brother needs Fighting Spirit, and that you should get some from a Djinn \z
							and give it to him.",
						[6] = "You brought Bron the Fighting Spirit. He acted a little strange.",
						[7] = "In order to make a shirt as a present for Ajax, Bron wants you to bring him 50 Pieces of \z
							Red Cloth and 50 Pieces of Green Cloth.",
						[8] = "Bron wants you to bring him 10 Spider Silk Yarn.",
						[9] = "Bron wants you to bring him the Warrior's Sweat.",
						[10] = "You brought him all required items! accept it!",
						[11] = "You got the Barbarian Wig Addon! Bring now the present from Bron to Ajax!",
						[12] = "Bring Ajax in Northport 100 Iron Ore.",
						[13] = "Bring Ajax 1 Huge Chunk of Crude Iron.",
						[14] = "Bring Ajax 50 Perfect Behemoth Fang",
						[15] = "Bring Ajax 50 Lizard Leather",
						[16] = "Come later in 2 hours and ask Ajax for the axe.",
						[17] = "You got the Axe Addon!",
					},
				},
				[5] = {
					name = "Beggar Outfit: The Newest Fashion",
					storageId = Storage.Quest.U7_8.BeggarOutfits.BeggarOutfit,
					missionId = 10172,
					startValue = 1,
					endValue = 8,
					states = {
						[1] = "Your current task is to bring Hugo 20 pieces of brown cloth, like the worn and ragged ghoul clothing.",
						[2] = "Your current task is to bring 50 pieces of minotaur leather to Hugo. \z
							If you don't know how to get leather, you should ask Kalvin.",
						[3] = "Your current task is to bring 10 bat wings to Hugo.",
						[4] = "Your current task is to bring 30 heaven blossoms to Hugo. Elves are said to cultivate these flowers.",
						[5] = "You brought all items required for the &quot;poor man's look&quot; to Hugo. \z
							He told you to come back to him after a whole day has passed, then the outfit should be finished.",
						[6] = "You got the outfit!",
						[7] = "Now you need to go after the items to get the first addon.",
						[8] = "Congratulations, you delivered the items for the first addon.",
					},
				},
				[6] = {
					name = "Druid Outfit Quest",
					storageId = Storage.Quest.U7_8.DruidOutfits.DruidHatAddon,
					missionId = 10173,
					startValue = 1,
					endValue = 10,
					states = {
						[1] = "Ceiron sends you to collect a sample of the blooming Griffinclaw.",
						[2] = "Ask Ceiron for task.",
						[3] = "take Ceirons waterskin and try to fill it with water from this special trickle. \z
							In the mountains between Ankrahmun and Tiquanda are two hydra lairs. \z
							It is important that you take the water directly from the trickle, not from the pond",
						[4] = "Ask Ceiron for task.",
						[5] = "Bring Ceiron 100 ounces of demon dust.",
						[6] = "Ask Ceiron for task.",
						[7] = "The last mission is to find and retrieve Ceiron's Wolf Tooth Chain lost inside the Orc Fortress.",
						[8] = "Ask Ceiron for Faolan.",
						[9] = "Head over to Cormaya, find A Majestic Warwolf's Cave and ask her about an addon.",
						[10] = "You got the Outfit!",
					},
				},
				[7] = {
					name = "Hunter Outfit Quest",
					storageId = Storage.Quest.U7_8.HunterOutfits.HunterHatAddon,
					missionId = 10174,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Elane sends you to Liberty Bay to bring her the Crossbow from the Cult.",
						[2] = "Bring Elane 100 pieces of lizard leather and 100 pieces of red dragon leather.",
						[3] = "Bring Elane 5 enchanted chicken wings.",
						[4] = "Bring Elane one piece of royal steel, draconian steel and hell steel each.",
						[5] = "You got the Outfit!",
					},
				},
				[8] = {
					name = "Knight Addon: Helmet",
					storageId = Storage.Quest.U7_8.KnightOutfits.MissionHelmet,
					missionId = 10175,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "Your current task is to bring 100 perfect behemoth fangs to Gregor in Thais.",
						[2] = "Your current task is to retrieve the helmet of Ramsay the Reckless from Banuta. \z
							These pesky apes steal everything they can get their dirty hands on.",
						[3] = "Your current task is to obtain a flask of warrior's sweat, which can be magicially extracted \z
							from headgear worn by a true warrior, but only in small amounts. Djinns are said to be good at this.",
						[4] = "Your current task is to bring royal steel to Gregor in Thais. \z
							Royal steel can only be refined by very skilled smiths.",
						[5] = "You have delivered all items required for the helmet addon. \z
							Go talk to Sam and tell him Gregor sent you. He will be glad to refine your helmet.",
						[6] = "Sam is currently creating the helmet for you. Be patient and don't forget to check on it later!",
					},
				},
				[9] = {
					name = "Mage &amp; Summoner Outfit Quest (Wand)",
					storageId = Storage.Quest.U7_8.MageAndSummonerOutfits.AddonWand,
					missionId = 10176,
					startValue = 1,
					endValue = 7,
					states = {
						[1] = "You found Angelina in a Prison. She told you a secret: \z
						Lynda in Thais can create a blessed wand. Greet her from Angelina, maybe she will aid you.",
						[2] = "Lynda send you to bring her a sample of all five wands and five rods \z
							(Snakebite, Moonlight, Necrotic, Terra, Hailstorm, Vortex, Dragonbreath, Decay, Cosmic Energy and Inferno)",
						[3] = "Bring Lynda 10 ounces of magic sulphur",
						[4] = "Bring Lynda the Necromancer's soul stone",
						[5] = "Bring Lynda 20 ankhs now to complete the ritual.",
						[6] = "You need to wait 3 hours for the ritual to be completed",
						[7] = "You got the Outfit!",
					},
				},
				[10] = {
					name = "Mage &amp; Summoner Outfit Quest (Fluid Belt)",
					storageId = Storage.Quest.U7_8.MageAndSummonerOutfits.AddonBelt,
					missionId = 10177,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Now you can get a lottery ticket at Sandra for 100 empty vials.",
						[2] = "You got the Outfit! Now you can get for a lottery prize 50000 gold!",
					},
				},
				[11] = {
					name = "Female Mage and Male Summoner Addon: Headgear",
					storageId = Storage.Quest.U7_8.MageAndSummonerOutfits.MissionHatCloak,
					missionId = 10178,
					startValue = 1,
					endValue = 11,
					states = {
						[1] = "Your current task is to bring 70 bat wings to Myra in Port Hope.",
						[2] = "Your current task is to bring 20 pieces of red cloth to Myra in Port Hope. \z
							These are said to make an excellent material for a cape.",
						[3] = "Your current task is to bring 40 pieces of ape fur to Myra in Port Hope.",
						[4] = "Your current task is to bring 35 holy orchids to Myra in Port Hope. Elves are said to cultivate these.",
						[5] = "Your current task is to bring 10 spools of spider silk yarn to Myra in Port Hope. \z
							Only very large spiders produce silk which is strong enough to be yarned by mermaids.",
						[6] = "Your current task is to bring 60 lizard scales to Myra in Port Hope. \z
							Lizard scales are great for all sort of magical potions.",
						[7] = "Your current task is to bring 40 red dragon scales to Myra in Port Hope.",
						[8] = "Your current task is to bring 15 ounces of magic sulphur to Myra in Port Hope. \z
							Djinns are said to be good at extracting magic sulphur.",
						[9] = "Your current task is to bring 30 ounces of vampire dusts to Myra in Port Hope. \z
							You might need to ask a priest for a special blessed stake to turn vampires into dust.",
						[10] = "You finally collected all of the items which Myra asked for. \z
							Go talk to Zoltan in Edron and tell him that Myra nominated you for an award.",
					},
				},
				[12] = {
					name = "Norseman Outfit Quest",
					storageId = Storage.Quest.U8_0.TheIceIslands.NorsemanOutfit,
					missionId = 10179,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Bring Hjaern 5 frostheart shards to get the first Addon. Ask him for shard!",
						[2] = "Bring Hjaern 10 frostheart shards to get the second Addon. Ask him for shard!",
						[3] = "You got the Outfit Addons! You can trade the rest shards to Hjaern for 2000 gold each!",
					},
				},
				[13] = {
					name = "Warrior Addon: Shoulder Spike",
					storageId = Storage.Quest.U7_8.WarriorOutfits.WarriorShoulderAddon,
					missionId = 10180,
					startValue = 1,
					endValue = 7,
					states = {
						[1] = "Your current task is to bring 100 hardened bones to Trisha in Carlin. \z
							They can sometimes be extracted from creatures that consist only of - you guessed it, bones. \z
							You need an obsidian knife though.",
						[2] = "Your current task is to bring 100 turtle shells to Trisha in Carlin. \z
							Turtles can be found on some idyllic islands which have recently been discovered.",
						[3] = "Your current task is to show that you have fighting spirit. Maybe someone grants you a wish...?",
						[4] = "Your current task is to obtain a dragon claw. \z
							You cannot get this special claw from any common dragons in Tibia. \z
							It requires a special one, a lord among the lords.",
						[5] = "You have delivered all items requried for the shoulder spike addon. \z
							Go talk to Cornelia and tell her Trisha sent you. She will be glad to create the should spikes.",
						[6] = "Cornelia is currently creating the should spikes for you. \z
							Be patient and don't forget to check on it later!",
						[7] = "You have obtained the shoulder spike addon.",
					},
				},
				[14] = {
					name = "Wizard Outfits Quest",
					storageId = Storage.Quest.U7_8.WizardOutfits,
					missionId = 10181,
					startValue = 1,
					endValue = 7,
					states = {
						[1] = "Bring Lugri the Medusa shield!",
						[2] = "Bring Lugri the Dragon Scale Mail!",
						[3] = "Bring Lugri the Crown Legs!",
						[4] = "Bring Lugri the Ring of the Sky!",
						[5] = "You got the first Outfit Addon!",
						[6] = "Bring The Queen Of The Banshees 50 Holy Orchids and she will reward you with the second addon.",
						[7] = "You got the second Outfit Addon!",
					},
				},
				[15] = {
					name = "Pirate Outfit Quest (Sabre)",
					storageId = Storage.Quest.U7_8.PirateOutfits.PirateSabreAddon,
					missionId = 10182,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Bring Duncan 100 Eye Patches from pirates!",
						[2] = "Bring Duncan 100 peg legs from pirates!",
						[3] = "Bring Duncan 100 pirate hooks from pirates!",
						[4] = "Go to Morgan and tell him this codeword: 'firebird' to get the outfit addon!",
						[5] = "You got the Outfit Addon!",
					},
				},
				[16] = {
					name = "Oriental Addon: Hipwear",
					storageId = Storage.Quest.U7_8.OrientalOutfits.FirstOrientalAddon,
					missionId = 10183,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Your current task is to find a mermaid's comb. \z
							If you have ever encountered a mermaid, you should ask her. \z
							Bring the comb to Habdel if you are male or to Ishina if you are female.",
						[2] = "You have received the first oriental addon.",
					},
				},
				[17] = {
					name = "Oriental Addon: Headgear",
					storageId = Storage.Quest.U7_8.OrientalOutfits.SecondOrientalAddon,
					missionId = 10184,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Your current task is to bring 100 pieces of ape fur to Razan if you are male, \z
							or to Miraia if you are female.",
						[2] = "Your current task is to bring 100 fish fins to Razan if you are male, or to Miraia if you are female.",
						[3] = "Your current task is to bring 2 enchanted chicken wings to Razan if you are male, \z
							or to Miraia if you are female.",
						[4] = "Your current task is to bring 100 pieces of blue cloth to Razan if you are male, \z
							or to Miraia if you are female.",
						[5] = "You have received the second oriental addon.",
					},
				},
				[18] = {
					name = "Shaman Addon: Staff",
					storageId = Storage.Quest.U7_8.ShamanOutfits.MissionStaff,
					missionId = 10185,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Try to find a monster which sometimes lurks in the Tiquandian jungle as the revenge of the jungle \z
							against mankind. Bring the rare root it carries to Chondur as well as 5 voodoo dolls.",
					},
				},
				[19] = {
					name = "Shaman Addon: Mask",
					storageId = Storage.Quest.U7_8.ShamanOutfits.MissionMask,
					missionId = 10186,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Your current task is to collect 5 tribal masks from the dworcs and 5 banana staves from the apes. \z
							Bring them to Chondur to earn your shamanic mask.",
					},
				},
			},
		},
		[13] = {
			name = "Sam's Old Backpack",
			startStorageId = Storage.Quest.U7_5.SamsOldBackpack.SamsOldBackpackNpc,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Dwarven Armor Quest",
					storageId = Storage.Quest.U7_5.SamsOldBackpack.SamsOldBackpackNpc,
					missionId = 10187,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Sam sends you to see Kroox in Kazordoon to get a special dwarven armor. \z
							Just tell him, his old buddy Sam is sending you.",
						[2] = "You have the permission to retrive a dwarven armor from the mines. \z
							The problem is, some giant spiders made the tunnels where the storage is their new home.",
						[3] = "You have completed Dwarven Armor Quest!",
					},
				},
			},
		},
		[14] = {
			name = "Sea of Light",
			startStorageId = Storage.Quest.U8_54.SeaOfLight.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Mission 1: The Plans",
					storageId = Storage.Quest.U8_54.SeaOfLight.Mission1,
					missionId = 10188,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Spectulus in Edron has sent you on a mission to find out the whereabouts of a certain inventor. \z
							A beggar in Edron seems to know more about this topic than he wants to tell.",
						[2] = "The beggar turned out to be the inventor himself. \z
							You successfully convinced him to give you the only remaining plans of his creation. \z
							You should return to Spectulus in Edron to tell him the news.",
						[3] = "You gave the plans to the astronomer. \z
							He began reconstructing the invention as soon as he got ahold of them. \z
							It will take a while for him to work out the problem which caused the initial failure.",
						[4] = "You returned to Speculus who finally worked out the failure of the initial construction. \z
							He recapitulated the plans and needs only one item before he can start building the magic device.",
					},
				},
				[2] = {
					name = "Mission 2: The Collector",
					storageId = Storage.Quest.U8_54.SeaOfLight.Mission2,
					missionId = 10189,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Spectulus asked you to enter the Lost Mines beneath Edron and recover a rare crystal. In exchange for \z
						it you will gain access to the lair of the Collector who guards a vital component of the device.",
						[2] = "Luckily, you survived the horrors of the Lost Mines and recovered a rare crystal. \z
						You should visit Spectulus in Edron to seek counsel on what to do next.",
						[3] = "You returned to astronomer Spectulus and gave him the rare crystal.",
					},
				},
				[3] = {
					name = "Mission 3: The Mirror Crystal",
					storageId = Storage.Quest.U8_54.SeaOfLight.Mission3,
					missionId = 10190,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "In order to access the lair of the Collector, you will need to find the creature's well on \z
							an ice isle near Carlin. To donate the rare crystal overcome your greed and use it at the well's pedestal.",
						[2] = "You offered the rare crystal to the creature and can now enter the Collector's lair. \z
							Its crystal chamber cannot be accessed by outsiders. You need to find a way to snatch the Mirror Crystal.",
						[3] = "The Collector has been defeated. \z
							You packed the fragile Mirror Crystal into the device Spectulus gave you. \z
							All yo have to do now is to return to the astronomer and to present him your acquisition.",
						[4] = "It may have been the excitement or simple nervousness but as soon as Spectulus removed the crystal, \z
							it somehow slipped. Unfinishable for all eternity, the device left yet another scholar in despair.",
					},
				},
			},
		},
		[15] = {
			name = "Secret Service",
			startStorageId = Storage.Quest.U8_1.SecretService.Quest,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Mission 1: From Thais with Love",
					storageId = Storage.Quest.U8_1.SecretService.TBIMission01,
					missionId = 10191,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Your first mission is to deliver a warning to the Venoreans. \z
							Get a fire bug from Liberty Bay and set their shipyard on fire.",
						[2] = "You have set the Venoreans shipyard on fire, report back to Chester!",
						[3] = "You have reported back that you have completed your mission, ask Chester for a new mission!",
					},
				},
				[2] = {
					name = "Mission 1: For Your Eyes Only",
					storageId = Storage.Quest.U8_1.SecretService.AVINMission01,
					missionId = 10192,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Your first task is to deliver a letter to Gamel in thais, If he is a bit reluctant, be persuasive.",
						[2] = "Gamel sent his thugs on you, defeat them and deliver the letter to Gamel!",
						[3] = "After defeating Gamel's thugs, he found you to be persuasive enough to accept the letter. \z
							Report back to Uncle!",
						[4] = "You have reported back that you have completed your task. Ask Uncle for a new mission!",
					},
				},
				[3] = {
					name = "Mission 1: Borrowed Knowledge",
					storageId = Storage.Quest.U8_1.SecretService.CGBMission01,
					missionId = 10193,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Emma has requested that you steal a Nature Magic Spellbook in the Edron academy.",
						[2] = "You have delivered the Nature Magic Spellbook to Emma, ask her for a new mission!",
					},
				},
				[4] = {
					name = "Mission 2: Operation Green Claw",
					storageId = Storage.Quest.U8_1.SecretService.TBIMission02,
					missionId = 10194,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Your next mission is to find some information about one of \z
							their missing agents in The Green Claw Swamp.",
						[2] = "You have delivered the Black Knight's notes to Chester, ask him for a new mission!",
					},
				},
				[5] = {
					name = "Mission 2: A File Between Friends",
					storageId = Storage.Quest.U8_1.SecretService.AVINMission02,
					missionId = 10195,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Your next task is to retrieve a file named AH-X17L89.",
						[2] = "You have delivered the file named AH-X17L89 to Uncle, ask him for a new mission!",
					},
				},
				[6] = {
					name = "Mission 2: Codename:Lumberjack",
					storageId = Storage.Quest.U8_1.SecretService.CGBMission02,
					missionId = 10196,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Emma has requested that you retrieve a Rotten Heart of a Tree from \z
							the Black Knight Villa in Greenclaw swamp north-west of Venore.",
						[2] = "You have delivered the Rotten Heart of a Tree to Emma, ask her for a new mission!",
					},
				},
				[7] = {
					name = "Mission 3: Treachery in Port Hope",
					storageId = Storage.Quest.U8_1.SecretService.TBIMission03,
					missionId = 10197,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Your next mission is to retrieve some evidence that the traders in Port Hope are up to no good!",
						[2] = "You have found the evidence, report back to Chester!",
						[3] = "You have reported back that you have completed your mission, ask Chester for a new mission!",
					},
				},
				[8] = {
					name = "Mission 3: What Men are Made of",
					storageId = Storage.Quest.U8_1.SecretService.AVINMission03,
					missionId = 10198,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Your next task is to bring a barrel of beer to the Secret Tavern in the sewers of Carlin.",
						[2] = "On your way to the Secret Tavern in the sewers you were attacked by amazons trying to stop you! \z
							Deliver the barrel of beer to Karl.",
						[3] = "You have delivered the barrel of beer to Karl, report back to Uncle!",
						[4] = "You have reported back that you have completed your task, ask Uncle for a new mission!",
					},
				},
				[9] = {
					name = "Mission 3: Rust in Peace",
					storageId = Storage.Quest.U8_1.SecretService.CGBMission03,
					missionId = 10199,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Emma has requested that you damage the Ironhouse of Venore, use the \z
							Case of Rust Bugs on the keyhole in the cellar of the ironhouse.",
						[2] = "The bugs are at work! Report back to Emma.",
						[3] = "You have reported back that you have completed your mission, ask her for a new mission!",
					},
				},
				[10] = {
					name = "Mission 4: Objective Hellgate",
					storageId = Storage.Quest.U8_1.SecretService.TBIMission04,
					missionId = 10200,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Your next mission is to investigate for some documents in Hellgate.",
						[2] = "You have delivered the documents to Chester, ask him for a new mission!",
					},
				},
				[11] = {
					name = "Mission 4: Pawn Captures Knight",
					storageId = Storage.Quest.U8_1.SecretService.AVINMission04,
					missionId = 10201,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Your next task is to travel to the Black Knight's Villa and kill the Black Knight!",
						[2] = "You have killed the Black Knight, report back to Uncle!",
						[3] = "You have reported back that you have completed your task, ask Uncle for a new mission!",
					},
				},
				[12] = {
					name = "Mission 4: Plot for A Plan",
					storageId = Storage.Quest.U8_1.SecretService.CGBMission04,
					missionId = 10202,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Emma has requested that you retrieve the Building Plans for a ship from the Venore shipyard.",
						[2] = "You have delivered the Building Plans to Emma, ask her for a new mission!",
					},
				},
				[13] = {
					name = "Mission 5: Coldfinger",
					storageId = Storage.Quest.U8_1.SecretService.TBIMission05,
					missionId = 10203,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Your next mission is to travel to the southern barbarians camp and place false evidence!",
						[2] = "You have placed the false evidence! Report back to Chester.",
						[3] = "You have reported back that you have completed your mission, ask Chester for a new mission!",
					},
				},
				[14] = {
					name = "Mission 5: A Cryptic Mission",
					storageId = Storage.Quest.U8_1.SecretService.AVINMission05,
					missionId = 10204,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Your next task is to travel to the Isle of the Kings and find a ring.",
						[2] = "You have delivered the ring to Uncle, ask him for a new mission!",
					},
				},
				[15] = {
					name = "Mission 5: No Admittance",
					storageId = Storage.Quest.U8_1.SecretService.CGBMission05,
					missionId = 10205,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Emma has requested that you find some hints in the ruins of Dark Cathedral.",
						[2] = "You have delivered the Suspicious Documents to Emma, ask her for a new mission!",
					},
				},
				[16] = {
					name = "Mission 6: The Weakest Spot",
					storageId = Storage.Quest.U8_1.SecretService.TBIMission06,
					missionId = 10206,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Your next mission is to disguise yourself as an amazon and destroy a \z
							beer casket in the north-east corner in the cellar of Svargrond's Tavern.",
						[2] = "You have succesfully destroyed the beer casket disguised as an amazon, report back to Chester!",
						[3] = "You have reported back that you have completed your mission, ask Chester for a new mission!",
					},
				},
				[17] = {
					name = "Mission 6: A Little Bribe Won't Hurt",
					storageId = Storage.Quest.U8_1.SecretService.AVINMission06,
					missionId = 10207,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Your next task is to bribe a barbarian in the large barbarian camp with a weapons crate.",
						[2] = "You have bribed Freezhild with the weapons create! Report back to Uncle.",
						[3] = "You have reported back that you have completed your task, ask Uncle for a new mission!",
					},
				},
				[18] = {
					name = "Mission 6: News From the Past",
					storageId = Storage.Quest.U8_1.SecretService.CGBMission06,
					missionId = 10208,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Emma has requested that you go to the Isle of the Kings and retrieve a book.",
						[2] = "You have delivered the book to Emma, ask her for a new mission!",
					},
				},
				[19] = {
					name = "Mission 7: Licence to Kill",
					storageId = Storage.Quest.U8_1.SecretService.Mission07,
					missionId = 10209,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "A Mad Technomancer in Kazordoon is trying to blackmail the city! \z
							Kill him and bring back his beard as proof.",
						[2] = "You have reported back that you have completed your mission, you are now a Special Agent!",
					},
				},
			},
		},
		[16] = {
			name = "The Ancient Tombs",
			startStorageId = Storage.Quest.U7_4.TheAncientTombs.DefaultStart,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Omruc's Treasure",
					storageId = Storage.Quest.U7_4.TheAncientTombs.OmrucsTreasure,
					missionId = 10210,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Now you can start the steps until you reach Omruc's room.",
						[2] = "You defeated Omruc and received a helmet adornment.",
					},
				},
				[2] = {
					name = "Thalas' Treasure",
					storageId = Storage.Quest.U7_4.TheAncientTombs.ThalasTreasure,
					missionId = 10211,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Congratulations, you have pulled all 8 levers and can now continue to the next step.",
						[2] = "You defeated Thalas and received a Gem Holder",
					},
				},
				[3] = {
					name = "Diphtrah's Treasure",
					storageId = Storage.Quest.U7_4.TheAncientTombs.DiphtrahsTreasure,
					missionId = 10212,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Now you need to pull all 11 levers to be able to continue.",
						[2] = "Now you need to use all the plaques before accessing Diphtrah's room.",
						[3] = "Congratulations, this step has been completed.",
					},
				},
				[4] = {
					name = "Mahrdis' Treasure",
					storageId = Storage.Quest.U7_4.TheAncientTombs.MahrdisTreasure,
					missionId = 10213,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "You need to defeat Mahrdis and receive a Helmet Ornament.",
						[2] = "You defeated Mahrdis and received a Helmet Ornament.",
					},
				},
				[5] = {
					name = "Vashresamun's Treasure",
					storageId = Storage.Quest.U7_4.TheAncientTombs.VashresamunsTreasure,
					missionId = 10214,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Once you've started this quest, you'll need to play the musicals before teleporting.",
						[2] = "Congratulations, you played the musical correctly, now you can continue.",
						[3] = "You solved the musical riddles of Vashresamun's Tomb and received a left horn.",
					},
				},
				[6] = {
					name = "Morguthis' Treasure",
					storageId = Storage.Quest.U7_4.TheAncientTombs.MorguthisTreasure,
					missionId = 10215,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Now you need to go over the blue fireworks on the path.",
						[2] = "You defeated Morguthis and received a Right Horn.",
					},
				},
				[7] = {
					name = "Rahemos' Treasure",
					storageId = Storage.Quest.U7_4.TheAncientTombs.RahemosTreasure,
					missionId = 10216,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "You have started the steps to access Rahemos' room, and you will need to pull some levers to get to Rahemos' room.",
						[2] = "You defeated Rahemos and received a Helmet Piece.",
					},
				},
			},
		},
		[17] = {
			name = "The Ape City",
			startStorageId = Storage.Quest.U7_6.TheApeCity.Started,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Hairycles' Missions",
					storageId = Storage.Quest.U7_6.TheApeCity.Questline,
					missionId = 10217,
					startValue = 1,
					endValue = 18,
					states = {
						[1] = "Find whisper moss in the dworc settlement south of Port Hope and bring it back to Hairycles.",
						[2] = "You have completed the first mission. Hairycles was happy about the whisper moss you gave to him. \z
							He might have another mission for you.",
						[3] = "Hairycles asked you to bring him cough syrup from a human settlement. \z
							A healer might know more about this medicine.",
						[4] = "You have completed the second mission. Hairycles was happy about the cough syrup you gave to him. \z
							He might have another mission for you.",
						[5] = "Hairycles asked you to bring him a magical scroll from the lizard settlement Chor.",
						[6] = "You have completed the third mission. Hairycles appreciated that you brought \z
							the scroll to him and will try to read it. Maybe he has another mission for you later.",
						[7] = "Since Hairycles was not able to read the scroll you brought him, he asked you dig for a tomb in the \z
							desert to the east. Proceed in this tomb until you find an obelisk between red stones and read it.",
						[8] = "You have completed the fourth mission. \z
							Hairycles read your mind and can now translate the lizard scroll. \z
							He might have another mission for you.",
						[9] = "Hairycles wants to create a life charm for the ape people. \z
							He needs a hydra egg since it has strong regenerating powers.",
						[10] = "You have completed the fifth mission. \z
							Hairycles attempts to create a might charm for the protection of the ape people. \z
							He might have another mission for you later.",
						[11] = "Hairycles need a witches' cap mushroom which is supposed to be hidden in a dungeon deep under Fibula.",
						[12] = "You have completed the sixth mission. You brought the witches' cap mushroom back to Hairycles. \z
							He might have another mission for you.",
						[13] = "Hairycles is worried about an ape cult which drinks some strange fluid that the lizards left behind. \z
							Go to the old lizard temple under Banuta and destroy three of the casks there with a crowbar.",
						[14] = "You have completed the seventh mission. \z
							You found the old lizard ruins under Banuta and destroyed three of the casks with snake blood. \z
							Hairycles might have another mission for you.",
						[15] = "The apes now need a symbol of their faith. \z
							Speak with the blind prophet in a cave to the northeast and go to the Forbidden Land. \z
							Find a hair of the giant, holy ape Bong and bring it back.",
						[16] = "You completed the eighth mission. Hairycles gladly accepted the hair of the ape \z
							god which you brought him. He told you to have one final mission for you.",
						[17] = "Go into the deepest catacombs under Banuta and destroy the monument of \z
							the snake god with the hammer that Hairycles gave to you.",
						[18] = "You successfully destroyed the monument of the snake god. \z
							As reward, you can buy sacred statues from Hairycles. \z
							If you haven't done so yet, you should also ask him for a shaman outfit.",
					},
				},
			},
		},
		[18] = {
			name = "The Beginning",
			startStorageId = Storage.Quest.U8_2.TheBeginningQuest.SantiagoQuestLog,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "The Cockroach Plague",
					storageId = Storage.Quest.U8_2.TheBeginningQuest.SantiagoQuestLog,
					missionId = 10218,
					startValue = 1,
					endValue = 11,
					states = {
						[1] = "You have found a fisherman called Santiago, who has a little problem. \z
							Maybe you should talk to him again to find out more.",
						[2] = "Santiago asked you to go into his house. Upstairs you will find a chest. \z
							You can keep what you find inside of it. Once you got that, talk to Santiago again.",
						[3] = "You have found Santiago's Coat and reported back to him. \z
							Your quest is not done yet, you should talk to him a bit more.",
						[4] = "Santiago gave you a weapon. After equipping it, go to the cellar of his house to find out \z
							about the cockroach plague.",
						[5] = "You brought the cockroach legs to Santiago. He still has something to tell you though.",
						[6] = "Santiago asked you, if those cockroaches hurt you. You should reply to him!",
						[7] = "Santiago has a valuable lesson for you. You should talk to him again.",
						[8] = "Santiago showed you how some monsters might hurt you. \z
							Better to talk to him to learn a way to heal yourself.",
						[9] = "Santiago gave you some fish! Just 'use' it to eat it and regain health. \z
							Afterwards, you should talk to Santiago again.",
						[10] = "Santiago asked you if you had seen Zirella. Don't let him wait for the answer.",
						[11] = "You have helped Santiago a lot by killing the cokcroaches in his cellar. \z
							In exchange, he gave you equipment and some valuable experience. Well done!",
					},
				},
				[2] = {
					name = "Collecting Wood",
					storageId = Storage.Quest.U8_2.TheBeginningQuest.ZirellaQuestLog,
					missionId = 10219,
					startValue = 1,
					endValue = 8,
					states = {
						[1] = "You have a vague idea that Zirella might need you for collecting firewood, \z
							but you don't know yet where to get it. You should talk to her again.",
						[2] = "You know that the branches Zirella needs might be gotten from dead trees in \z
							the forest south of here, but you don't know the details yet. You should talk to her \z
								but there is some information missing. You should talk to Zirella again.",
						[4] = "You have learned that you can push the branch which you've broken from a dead tree by \z
							'Drag &amp; Drop', but you still need some information. You should talk to Zirella again.",
						[5] = "You know that you have to 'Use' the branch. Then leftclick with the changed cursor on the cart. \z
							Now you just have to tell Zirella that you will help her.",
						[6] = "Go into the forest south of here and look for trees without leaves. 'Use' one to break a branch \z
							from it, then drag &amp; drop the branch back to her cart and 'Use' it with the cart.",
						[7] = "You have brought a branch to Zirella, congratulations! You should talk to her again for your reward.",
						[8] = "You have helped Zirella by collecting wood for her. The reward can be found in her house.",
					},
				},
				[3] = {
					name = "A Hungry Tailor",
					storageId = Storage.Quest.U8_2.TheBeginningQuest.CarlosQuestLog,
					missionId = 10220,
					startValue = 1,
					endValue = 8,
					states = {
						[1] = "You found another person named Carlos. You should talk to him learn how to change your outfit.",
						[2] = "Carlos taught you how to change your outfit. Now he seems to be wanting a small favour from you. \z
							Talk to him again to learn more.",
						[3] = "Carlos asked you whether you could bring him some food. \z
							Talk to him again to learn how to find food here.",
						[4] = "Carlos asked you to hunt some deer and rabbits and loot them to find a piece of ham or meat. \z
							However you haven't agreed yet, so you should tell him that you'll do it.",
						[5] = "You agreed to bring Carlos some food. \z
							Hunt some deer or rabbit until you find a piece of meat or ham talk to Carlos again.",
						[6] = "To sell the meat or ham to Carlos, talk to him and ask him for a 'trade'.",
						[7] = "You sucessfully learnt how to change your outfit and how to trade with NPCs. \z
							Time to head over the bridge to Rookgaard!",
						[8] = "You have passed the bridge to Rookgaard and have sucessfully completed the Tutorial. \z
							If you want to skip the tutorial in the future with a new character, simply say 'skip tutorial' to Santiago.",
					},
				},
			},
		},
		[19] = {
			name = "The Djinn War - Efreet Faction",
			startStorageId = Storage.Quest.U7_4.DjinnWar.EfreetFaction.Start,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Efreet Mission 1: The Supply Thief",
					storageId = Storage.Quest.U7_4.DjinnWar.EfreetFaction.Mission01,
					missionId = 10221,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Travel to Thais and keep your eyes open for something that might give you a clue on the supply thief.",
						[2] = "You have found the potential supply thief - Partos in Thais seemed very suspicious. \z
							Baa'leal might be interested in this matter.",
						[3] = "You have reported the case to Baa'leal. \z
							He seemed very satisfied and told you that Alesar might have another mission for you.",
					},
				},
				[2] = {
					name = "Efreet Mission 2: The Tear of Daraman",
					storageId = Storage.Quest.U7_4.DjinnWar.EfreetFaction.Mission02,
					missionId = 10222,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Sneak into Ashta'daramai and steal a &quot;Tear of Daraman&quot;. \z
							For more information about these gems visit the Efreet library.",
						[2] = "You have successfully managed to steal a Tear of Daraman from Ashta'daramai. Bring it to Alesar.",
						[3] = "You have delivered Daraman's Tear. \z
							Alesar seemed very satisfied and told you that Malor himself might have another mission for you.",
					},
				},
				[3] = {
					name = "Efreet Mission 3: The Sleeping Lamp",
					storageId = Storage.Quest.U7_4.DjinnWar.EfreetFaction.Mission03,
					missionId = 10223,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Malor asked you to find Fa'hradin's sleeping lamp in the orc fortress at Ulderek's Rock. \z
							Then, sneak into Ashta'daramai and exchange Gabel's sleeping lamp with Fa'hradin's lamp.",
						[2] = "You successfully exchanged the lamps. Malor will be happy to hear about this.",
						[3] = "The Efreet are very satisfied with your help. King Malor allowed you to trade with Yaman and Alesar.",
					},
				},
			},
		},
		[20] = {
			name = "The Djinn War - Marid Faction",
			startStorageId = Storage.Quest.U7_4.DjinnWar.MaridFaction.Start,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Marid Mission 1: The Dwarven Kitchen",
					storageId = Storage.Quest.U7_4.DjinnWar.MaridFaction.Mission01,
					missionId = 10224,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Bring a cookbook of the dwarven kitchen to Bo'ques.",
						[2] = "You have delivered the cookbook. \z
							Bo'ques seemed very satisfied and told you that Fa'hradin might have another mission for you.",
					},
				},
				[2] = {
					name = "Marid Mission 2: The Spyreport",
					storageId = Storage.Quest.U7_4.DjinnWar.MaridFaction.Mission02,
					missionId = 10225,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Fa'hradin asked you to sneak into the Efreet fortress Mal'ouqhah and find their undercover spy. \z
							The codeword is PIEDPIPER.",
						[2] = "You have delivered the spyreport. \z
							Fa'hradin seemed impressed and told you that Gabel himself might have another mission for you.",
					},
				},
				[3] = {
					name = "Rata'Mari and the Cheese",
					storageId = Storage.Quest.U7_4.DjinnWar.MaridFaction.RataMari,
					missionId = 10226,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "You have promised Rata'Mari cheese. Once you deliver some to him, he will hand over his spyreport.",
						[2] = "You got Rata'Mari's spyreport. He seems to be quite happy with the cheese you brought him.",
					},
				},
				[4] = {
					name = "Marid Mission 3: The Sleeping Lamp",
					storageId = Storage.Quest.U7_4.DjinnWar.MaridFaction.Mission03,
					missionId = 10227,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Gabel asked you to find Fa'hradin's sleeping lamp in the orc fortress at Ulderek's Rock. \z
							Then, sneak into Mal'ouqhah and exchange Malor's sleeping lamp with Fa'hradin's lamp.",
						[2] = "You successfully exchanged the lamps. Gabel will be happy to hear about this.",
						[3] = "The Marid deeply appreciate your help. King Gabel allowed you to trade with Haroun and Nah'bob.",
					},
				},
			},
		},
		[21] = {
			name = "The Hidden City of Beregar",
			startStorageId = Storage.Quest.U8_4.TheHiddenCityOfBeregar.DefaultStart,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Going Down",
					storageId = Storage.Quest.U8_4.TheHiddenCityOfBeregar.GoingDown,
					missionId = 10228,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Deliver 3 Gear Wheels to Xorlosh.",
						[2] = "You sucessfully helped Xorlosh in repairing the elevator. \z
							You can now enter the teleporter to the eastern part of the mine.",
					},
				},
				[2] = {
					name = "Justice for All",
					storageId = Storage.Quest.U8_4.TheHiddenCityOfBeregar.JusticeForAll,
					missionId = 10229,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "Nokmir told you that he is falsely accused of being a thief. \z
							You could help him by talking to Grombur about the case. \z
							Furthermore you should try to find that ring which belongs to Rerun.",
						[2] = "You should talking to Grombur about Nokmir.",
						[3] = "You should try to find that ring which belongs to Rerun everywhere in the mine.",
						[4] = "You have found Rerun's ring. Bring the ring to the emperor Rehal and talk to him about Nokmir.",
						[5] = "You informed emperor Rehal about your recent discoveries and he acquitted Nokmir of being a thief.",
						[6] = "You told Nokmir about his acquittal and he granted you access to the northern mine.",
					},
				},
				[3] = {
					name = "Pythius the Rotten",
					storageId = Storage.Quest.U8_4.TheHiddenCityOfBeregar.FirewalkerBoots,
					missionId = 10230,
					startValue = 1,
					endValue = 1,
					states = {
						[1] = "You won the battle against the malicious undead dragon Pythius the Rotten. \z
							He granted you firewalker boots as a reward.",
					},
				},
				[4] = {
					name = "Sweet as Chocolate Cake",
					storageId = Storage.Quest.U8_4.TheHiddenCityOfBeregar.SweetAsChocolateCake,
					missionId = 10231,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Bake a Chocolate Cake and bring it to Bolfona at the bar.",
						[2] = "Report back to Frafnar by telling him about the mission.",
						[3] = "You told Frafnar that you did everything he asked you to do. \z
							You may now enter the western part of the mine.",
					},
				},
				[5] = {
					name = "The Good Guard",
					storageId = Storage.Quest.U8_4.TheHiddenCityOfBeregar.TheGoodGuard,
					missionId = 10232,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Grombur asked you to get him a cask of dwarven brown ale. \z
							You heard that Boozer in Venore tried to brew some. Maybe you should pay him a visit.",
						[2] = "Grombur liked the ale and you are now allowed to enter his part of the mine.",
					},
				},
			},
		},
		[22] = {
			name = "The Ice Islands Quest",
			startStorageId = Storage.Quest.U8_0.TheIceIslands.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Befriending the Musher",
					storageId = Storage.Quest.U8_0.TheIceIslands.Mission01,
					missionId = 10233,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Find Sniffler the husky of Iskan. He should be somewhere north west of the town. \z
							He is probably marking his territory so you should be able to find his trace. \z
							Call him sniffler and feed him with meat.",
						[2] = "Tell Iskan that you found and feed Sniffler",
						[3] = "You are now a friend of Iskan and can ask him for a passage to Nibelor. \z
							You should ask Hjaern in Nibelor if you can help him.",
					},
				},
				[2] = {
					name = "Nibelor 1: Breaking the Ice",
					storageId = Storage.Quest.U8_0.TheIceIslands.Mission02,
					missionId = 10234,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Chakoyas may use the ice for a passage to the west and attack Svargrond. Use the rocks at east \z
							of nibelor on at least three of these places and the chakoyas probably won't be able to pass the ice.",
						[2] = "You have broke 1 of 3 icepassages",
						[3] = "You have broke 2 of 3 icepassages",
						[4] = "You have broke 3 of 3 icepassages! Tell Hjaern your mission!",
						[5] = "You should ask Silfind if you can help her in some matters.",
					},
				},
				[3] = {
					name = "Nibelor 2: Ecological Terrorism",
					storageId = Storage.Quest.U8_0.TheIceIslands.Mission03,
					missionId = 10235,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Siflind send you to travel to a distant land to get ants from an Ant-Hill to \z
							perform ecological terrorism on some pirates on Tyrsung. Just use the jug on an anthill.",
						[2] = "Now head back to Svargrond and go to Buddel, the drunk sailor in southern Svargrond, \z
							and ask him to take you to Tyrsung. Now go all the way to the southern shores \z
							where you find a outpost. Go to the bottom deck and use the jug with the western mast",
						[3] = "Go tell Siflind that you released the ants and aks her for mission!",
					},
				},
				[4] = {
					name = "Nibelor 3: Artful Sabotage",
					storageId = Storage.Quest.U8_0.TheIceIslands.Mission04,
					missionId = 10236,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Siflind gave you a Vial of Paint to use on some Baby Seals. \z
							Go back to Tyrsung and follow the shore from Buddel south. Use the Vial of Paint on three of these seals.",
						[2] = "Go tell Siflind that you painted the seals and aks her for mission!",
					},
				},
				[5] = {
					name = "Nibelor 4: Berserk Brewery",
					storageId = Storage.Quest.U8_0.TheIceIslands.Mission05,
					missionId = 10237,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "The first things needed are 5 bat wings to brew a berserker elixir. Bring her them!",
						[2] = "The next items Siflind need are 4 bear paws. Bring her them!",
						[3] = "The next items Siflind need are 3 bonelord eyes. Bring her them!",
						[4] = "The next items Siflind need are 2 fish fins. Bring her them!",
						[5] = "The next item Siflind need is a green dragon scale. Bring her that!",
						[6] = "You helped Siflind to defend Svargrond. Now Nilsor need help, go ask him for mission.",
					},
				},
				[6] = {
					name = "Nibelor 5: Cure the Dogs",
					storageId = Storage.Quest.U8_0.TheIceIslands.Mission06,
					missionId = 10238,
					startValue = 1,
					endValue = 8,
					states = {
						[1] = "To cure Nilsor dogs, bring him the 1st of 7 ingredients: a Part of the Sun Adorer Cactus. \z
							Only an ordinary kitchen knife will be precise enough to produce the ingredient weneed.",
						[2] = "To cure Nilsor dogs, bring him the 2nd of 7 ingredients: Geyser Water in a Waterskin. \z
							Use it on a geyser that is NOT active. The water of active geysers is far too hot.",
						[3] = "To cure Nilsor dogs, bring him the 3rd of 7 ingredients: Fine Sulphur. \z
							Use an ordinary kitchen spoon on an inactive lava hole.",
						[4] = "To cure Nilsor dogs, bring him the 4th of 7 ingredients: the Frostbite Herb. \z
							You can find it on mountain peaks. You will need to cut it with a fine kitchen knife.",
						[5] = "To cure Nilsor dogs, bring him the 5th of 7 ingredients: Purple Kiss Blossom. \z
							The purple kiss is a plant that grows in a place called jungle. \z
							You will have to use a kitchen knife to harvest its blossom.",
						[6] = "To cure Nilsor dogs, bring him the 6th of 7 ingredients: the Hydra Tongue. \z
							The hydra tongue is a common pest plant in warmer regions. You might find one in a shop.",
						[7] = "To cure Nilsor dogs, bring him the 7th of 7 ingredients: Spores of a Giant Glimmercap Mushroom. \z
							The giant glimmercap mushroom exists in caves and other preferably warm and humid places. \z
							Use an ordinary kitchen spoon on a mushroom to collectits spores.",
						[8] = "You found all ingredients to cure Nilsor dogs, ask him for mission. \z
						You can now travel by Dog Sleds to Inukaya.",
					},
				},
				[7] = {
					name = "The Secret of Helheim",
					storageId = Storage.Quest.U8_0.TheIceIslands.Mission07,
					missionId = 10239,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Hjaern might have a mission for you. So maybe you go and talk to him.",
						[2] = "Hjaern send you to find someone in Svargrond who can give you a passage to Helheim and seek the reason for the unrest there.",
						[3] = "You discovered the necromantic altar and should report Hjaern about it.",
					},
				},
				[8] = {
					name = "The Contact",
					storageId = Storage.Quest.U8_0.TheIceIslands.Mission08,
					missionId = 10240,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Get out of Nibelor and go to the Svargrond Explorer's Society. Ask Lurik for the mission.",
						[2] = "Get to the raider camp, then follow to the extreme south where you find lots of barbarians. \z
						Near the southern most coastline, try looking for the NPC Nor. Ask him about Memory Crystal.",
						[3] = "Go back to Lurik and deliver him the memory crystal.",
						[4] = "Give Lurik some time to evaluate the information (ca. 5min). \z
						Then talk to him again about your mission.",
					},
				},
				[9] = {
					name = "Formorgar Mines 1: The Mission",
					storageId = Storage.Quest.U8_0.TheIceIslands.Mission09,
					missionId = 10241,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the entrance of the Formorgar Mines. \z
						Find some hint or someone who is willing to talk about what is going on there.",
						[2] = "You found a old and tattered written paper in a skeleton next to a Restless Soul, \z
						you can only make out a signature: Tylaf, apprentice of Hjaern. Ask Hjaern about Tylaf.",
					},
				},
				[10] = {
					name = "Formorgar Mines 2: Ghostwhisperer",
					storageId = Storage.Quest.U8_0.TheIceIslands.Mission10,
					missionId = 10242,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Go back to the mine and ask the restless soul about his story.",
						[2] = "You already have listen to his story!",
					},
				},
				[11] = {
					name = "Formorgar Mines 3: The Secret",
					storageId = Storage.Quest.U8_0.TheIceIslands.Mission11,
					missionId = 10243,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "The Cultists plan is to create a new demon army for their master to conquer the world. \z
						Hjaern and the other shamans must learn about it! Hurry before its too late.",
						[2] = "The Cultists plan is to create a new demon army for their master to conquer the world. \z
						Hjaern and the other shamans are already informed!",
					},
				},
				[12] = {
					name = "Formorgar Mines 4: Retaliation",
					storageId = Storage.Quest.U8_0.TheIceIslands.Mission12,
					missionId = 10244,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "Hjaern gave you a spirit charm of cold. Travel to the mines and find four \z
						special obelisks to mark them with the charm.",
						[2] = "1 of 4 obelisks are marked.",
						[3] = "2 of 4 obelisks are marked.",
						[4] = "3 of 4 obelisks are marked.",
						[5] = "Once all 4 obelisks are marked report back to Hjaern.",
						[6] = "You got the Norseman outfit and you have access to the Yakchal room deep in the Formorgar Mines.",
					},
				},
				[13] = {
					name = "Barbarian Test 1: Barbarian Booze",
					storageId = Storage.Quest.U8_0.BarbarianTest.Mission01,
					missionId = 1055,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "You participate in the drinking challenge. Now you can get the permission for a few sips of barbarian mead in exchange for some honey.",
						[2] = "Now drink from the bucket until you drink 10 sips in a row without passing out",
						[3] = "You have mastered the first task of the barbarian test. If you haven't done so yet, talk to Sven about it.",
					},
				},
				[14] = {
					name = "Barbarian Test 2: The Bear Hugging",
					storageId = Storage.Quest.U8_0.BarbarianTest.Mission02,
					missionId = 1056,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Somewhere north of Svargrond you will find a lonely bear which you have to hug. You wonder what you were thinking when accepting this quest...",
						[2] = "You passed the bear hugging test (and should take a bath). If you haven't done so yet, talk to Sven about it.",
					},
				},
				[15] = {
					name = "Barbarian Test 3: The Mammoth Pushing",
					storageId = Storage.Quest.U8_0.BarbarianTest.Mission03,
					missionId = 1057,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find a mammoth north-west of Svargrond and knock it over. You wonder whether your mission is becoming a barbarian or rather commiting suicide.",
						[2] = "You have knocked over a mammoth - though you wonder what this crushing noise at your spine was. If you haven't done so yet, talk to Sven about the mammoth pushing.",
					},
				},
				[16] = {
					name = "The Honorary Barbarian",
					storageId = Storage.Quest.U8_0.BarbarianTest.Questline,
					missionId = 10099,
					startValue = 8,
					endValue = 8,
					states = {
						[8] = "You are now a honorary barbarian and can become a citizen of Svargrond. If you haven't done so yet, you should look for a barbarian in need of help in the north of the town.",
					},
				},
			},
		},
		[23] = {
			name = "The Inquisition",
			startStorageId = Storage.Quest.U8_2.TheInquisitionQuest.Questline,
			startStorageValue = 2,
			missions = {
				[1] = {
					name = "Mission 1: Interrogation",
					storageId = Storage.Quest.U8_2.TheInquisitionQuest.Mission01,
					missionId = 10245,
					startValue = 1,
					endValue = 7,
					states = {
						[1] = "Your mission is to investigate the 5 guards in Thais regarding the Heretic behavior. \z
						Tim, Kulag, Grof, Miles and Walter are their names. If you do well you see a holy sprite on you.",
						[2] = "You investigated 1 of 5 guards in Thais.",
						[3] = "You investigated 2 of 5 guards in Thais.",
						[4] = "You investigated 3 of 5 guards in Thais.",
						[5] = "You investigated 4 of 5 guards in Thais.",
						[6] = "You investigated 5 of 5 guards in Thais. Get back to Thais and report your mission to Henricus.",
						[7] = "You investigated all guards in Thais.",
					},
				},
				[2] = {
					name = "Mission 2: Eclipse",
					storageId = Storage.Quest.U8_2.TheInquisitionQuest.Mission02,
					missionId = 10246,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Henricus tells you to get The Witches' Grimoire, he sends you to Femor Hills where you \z
						can fly to the witches' mountain, say Eclipse to Uzon and he will take you there. \z
						Use the vial of holy water that he gives you on the big cauldron and open the chest to your left, \z
						then bring the witches' grimoire to Henricus.",
						[2] = "Find the witches' grimoire and bring it to Henricus.",
						[3] = "You already brought the witches' grimoire to Henricus.",
					},
				},
				[3] = {
					name = "Mission 3: Vampire Hunt",
					storageId = Storage.Quest.U8_2.TheInquisitionQuest.Mission03,
					missionId = 10247,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "Henricus wants you to find the Dwarfish Vampire Hunter, Storkus, located west of the Dwarf Bridge. \z
						It's good idea bring your 20 Vampire Dusts with you to save some time.",
						[2] = "Go Back to Storkus the Dwarf and ask for Mission.",
						[3] = "Now Storkus wants you to kill a vampire lord, The Count in the Green Claw Swamp, \z
						The Count is located near to the Blood Herb Quest. To summon The Count, \z
						you must use the coffin in the center of the room. Kill it and bring The Ring of the Count to Storkus.",
						[4] = "Kill The Count and bring his ring to Storkus the Dwarf and ask for Mission.",
						[5] = "Return to Henricus and tell him that you finished your job here.",
						[6] = "Get back to Thais and report your mission to Henricus.",
					},
				},
				[4] = {
					name = "Mission 4: The Haunted Ruin",
					storageId = Storage.Quest.U8_2.TheInquisitionQuest.Mission04,
					missionId = 10248,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Henricus will gave you a Special Flask (vial of holy water). Go to Liberty Bay \z
						and use the vial on an old house. Use this vial of holy water on that spot to drive out the evil being.",
						[2] = "Kill the Pirate Ghost and get back to Thais and report your mission to Henricus.",
						[3] = "You already cleaned the abandoned and haunted house in Liberty, ask Henricus for mission.",
					},
				},
				[5] = {
					name = "Mission 5: Essential Gathering",
					storageId = Storage.Quest.U8_2.TheInquisitionQuest.Mission05,
					missionId = 10249,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Henricus wants 20 Demonic Essences as a proof of your accomplishments.",
						[2] = "Now ask Henricus for outfit to get the Demon Hunter Outfit.",
						[3] = "You got the Demon Hunter Outfit! Ask Henricus for mission to unlock more addons.",
					},
				},
				[6] = {
					name = "Mission 6: The Demon Ungreez",
					storageId = Storage.Quest.U8_2.TheInquisitionQuest.Mission06,
					missionId = 10250,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Henricus wants you to kill a demon called Ungreez. Head to Edron Hero Cave and go down a few levels.",
						[2] = "You killed Ungreez, report your mission to Henricus.",
						[3] = "You got the the first addon of Demon Hunter Outfit! Ask Henricus for mission to unlock more addons.",
					},
				},
				[7] = {
					name = "Mission 7: The Shadow Nexus",
					storageId = Storage.Quest.U8_2.TheInquisitionQuest.Mission07,
					missionId = 10251,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Your mission is to go to the Demon Forge and slay seven of The Ruthless Seven Minions. \z
						The Demon Forge is located in the Edron Hero Cave, through a portal after the Vampire Shield Quest.",
						[2] = "You destroyed the shadow nexus! Get back to Thais and report your mission to Henricus.",
						[3] = "Now ask to Henricus for a outfit. He will give you the 2nd addon of the Demon Hunter Outfits.",
						[4] = "You got the the second addon of Demon Hunter Outfit! Go now to the reward room and choose one wisely!",
						[5] = "You have completed The Inquisition Quest! You can now buy the Blessing of the Inquisition!",
					},
				},
			},
		},
		[24] = {
			name = "The Postman Missions",
			startStorageId = Storage.Quest.U7_24.ThePostmanMissions.Mission01,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Mission 01 - Check Postal Routes",
					storageId = Storage.Quest.U7_24.ThePostmanMissions.Mission01,
					missionId = 10252,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "Kevin wants you to travel with Captain Bluebear to Carlin.",
						[2] = "Kevin wants you to travel with Uzon in Femor Hills to Edron.",
						[3] = "Kevin wants you to travel with Captain Seahorse to Venore.",
						[4] = "Kevin wants you to travel with Brodrosch to Cormaya",
						[5] = "You have checked the Postal Routes, report back to Kevin!",
						[6] = "You have reported back that you have completed the mission.",
					},
				},
				[2] = {
					name = "Mission 02 - Fix Mailbox",
					storageId = Storage.Quest.U7_24.ThePostmanMissions.Mission02,
					missionId = 10253,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Kevin wants you to fix one of their Mailboxes located on Folda with a crowbar.",
						[2] = "You have fixed the mailbox, report back to Kevin!",
						[3] = "You have reported back that you have completed the mission.",
					},
				},
				[3] = {
					name = "Mission 03 - Bill Delivery",
					storageId = Storage.Quest.U7_24.ThePostmanMissions.Mission03,
					missionId = 10254,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Kevin wants you to deliver a bill to the stage magician David Brassacres. \z
						He's hiding from his creditors somewhere in Venore.",
						[2] = "You have delivered the bill to the stage magician David Brassacres, report back to Kevin!",
						[3] = "You have reported back that you have completed the mission.",
					},
				},
				[4] = {
					name = "Mission 04 - Aggressive Dogs",
					storageId = Storage.Quest.U7_24.ThePostmanMissions.Mission04,
					missionId = 10255,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Kevin has asked you to deliver 20 Bones to him.",
						[2] = "You have delivered 20 Bones to Kevin.",
					},
				},
				[5] = {
					name = "Mission 05 - Present Delivery",
					storageId = Storage.Quest.U7_24.ThePostmanMissions.Mission05,
					missionId = 10256,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Kevin has asked you to retrieve the present behind the door on the \z
						lower right side of his room and deliver it to Dermot in Fibula.",
						[2] = "Deliver the present to Dermot in Fibula.",
						[3] = "You have delivered the present to Dermot, report back to Kevin!",
						[4] = "You have reported back that you have completed the mission.",
					},
				},
				[6] = {
					name = "Mission 06 - New Uniforms",
					storageId = Storage.Quest.U7_24.ThePostmanMissions.Mission06,
					missionId = 10257,
					startValue = 1,
					endValue = 13,
					states = {
						[1] = "Kevin has asked you to travel to Venore and negotiate with Hugo for new uniforms.",
						[2] = "Hugo said that his dog ate the last dress pattern they used and he \z
						has no clue where Kevin Postner got it from, go ask Kevin.",
						[3] = "Kevin wants you to ask the great Technomancer Talphion in Kazordoon for the technical details.",
						[4] = "Talphion will send a copy to Kevin, report back to Kevin.",
						[5] = "Kevin wants you to ask Queen Eloise of Carlin for the perfect colours.",
						[6] = "Queen Eloise said she will send some color samples via mail to Kevin, report back to Kevin.",
						[7] = "Kevin has asked you to go to Noodles and find out what he dislikes the most: \z
						mouldy cheese, a piece of fur or a banana skin.",
						[8] = "Noodles seems to like banana skin, check if he likes dirty fur.",
						[9] = "Noodles seems to like dirty fur, check if he likes mouldy cheese.",
						[10] = "Noodles dislikes mouldy cheese! Report back to Kevin.",
						[11] = "Kevin wants you to tell Hugo that they order those uniforms.",
						[12] = "Hugo has agreed to make the uniforms, report back to Kevin!",
						[13] = "You have reported back that you have completed the mission.",
					},
				},
				[7] = {
					name = "Mission 07 - Measurements",
					storageId = Storage.Quest.U7_24.ThePostmanMissions.Mission07,
					missionId = 10258,
					startValue = 1,
					endValue = 9,
					states = {
						[1] = "Kevin wants you to bring him the measurements of Benjamin, Lokur, Dove, Liane, Chrystal and Olrik.",
						[2] = "You have received the measurements from 1 of 6 post officers.",
						[3] = "You have received the measurements from 2 of 6 post officers.",
						[4] = "You have received the measurements from 3 of 6 post officers.",
						[5] = "You have received the measurements from 4 of 6 post officers.",
						[6] = "You have received the measurements from 5 of 6 post officers.",
						[8] = "You have received all measurements, report back to Kevin!",
						[9] = "You have reported back that you have completed the mission.",
					},
				},
				[8] = {
					name = "Mission 08 - Missing Courier",
					storageId = Storage.Quest.U7_24.ThePostmanMissions.Mission08,
					missionId = 10259,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Kevin wants you to find the missing courier Waldo or at least his posthorn.",
						[2] = "You have found Waldos posthorn.",
						[3] = "You have reported back that you have completed the mission.",
					},
				},
				[9] = {
					name = "Mission 09 - Dear Santa",
					storageId = Storage.Quest.U7_24.ThePostmanMissions.Mission09,
					missionId = 10260,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Kevin wants you to deliver som letters to Santa Claus on Vega.",
						[2] = "You have retrieved the letters, deliver them to Santa Claus on Vega.",
						[3] = "You have delivered the letters to Santa Claus on Vega.",
						[4] = "You have reported back that you have completed the mission.",
					},
				},
				[10] = {
					name = "Mission 10 - Mintwallin",
					storageId = Storage.Quest.U7_24.ThePostmanMissions.Mission10,
					missionId = 10261,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Kevin wants you to deliver a letter  to Markwin, king of Mintwallin from his mother.",
						[2] = "You have delivered the letter to Markwin.",
						[3] = "You have reported back that you have completed the mission.",
					},
				},
				[11] = {
					name = "Postman Rank",
					storageId = Storage.Quest.U7_24.ThePostmanMissions.Rank,
					missionId = 10262,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Assistant Postman",
						[2] = "Postman",
						[3] = "Grand Postman",
						[4] = "Grand Postman for Special Operations",
						[5] = "Arch Postman",
					},
				},
			},
		},
		[25] = {
			name = "The Shattered Isles",
			startStorageId = Storage.Quest.U7_8.TheShatteredIsles.DefaultStart,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "A Djinn in Love",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.ADjinnInLove,
					missionId = 10263,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "You need to return to Marina and ask her for a date with Ocelus.",
						[2] = "You need to return to Ocelus with the bad news.",
						[3] = "Ocelus told you to get a poem for him, if you didn't buy one already, \z
						head to Ab'Dendriel and buy a Love Poem from Elvith.",
						[4] = "You need to go recite the poem to Marina and impress her \z
						with the Djinn's romantic and poetic abilities.",
						[5] = "After reciting the poem to Marina, she decided to date Ocelus and release Ray Striker from her spell.",
					},
				},
				[2] = {
					name = "A Poem for the Mermaid",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.APoemForTheMermaid,
					missionId = 10264,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "You need to find the man-stealing mermaid and try to break her spell over poor Raymond, \z
						the mermaid Marina is near the northern coast of the island.",
						[2] = "You discovered that she does in fact have a spell on him, and will not release him unless \z
						someone better comes along.",
						[3] = "You are a true master in reciting love poems now. \z
						No mermaid will be able to resist if you ask for a date!",
					},
				},
				[3] = {
					name = "Access to Goroma",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.AccessToGoroma,
					missionId = 10265,
					startValue = 1,
					endValue = 1,
					description = "After helping Jack Fate to collect the 30 woodpieces, \z
						Jack Fate in Liberty Bay will bring you to Goroma.",
				},
				[4] = {
					name = "Access to Laguna Island",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.AccessToLagunaIsland,
					missionId = 10266,
					startValue = 1,
					endValue = 1,
					description = "After arranging a date for Marina and Ocelus, you are allowed to use Marina's sea turtles. \z
						They will bring you to the idyllic Laguna Islands.",
				},
				[5] = {
					name = "Access to Meriana",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.AccessToMeriana,
					missionId = 10267,
					startValue = 1,
					endValue = 1,
					description = "After earning the trust of the governor's daughter Eleonore, \z
						Captain Waverider in Liberty Bay will bring you to Meriana if you tell him the secret codeword 'peg leg'.",
				},
				[6] = {
					name = "Access to Nargor",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.AccessToNargor,
					missionId = 10268,
					startValue = 1,
					endValue = 1,
					description = "After convincing the people in Sabrehaven that you are a trustworthy hero, \z
					Sebastian will sail you to Nargor.",
				},
				[7] = {
					name = "Ray's Mission 1: Fafnar's Fire",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.RaysMission1,
					missionId = 10269,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Ray Striker asked you to travel to Edron and pretend to the alchemist Sandra that you are the one \z
						whom the other pirates sent to get the fire. When she asks for a payment, tell her \z
						'Your continued existence is payment enough'.",
						[2] = "Sandra will be enraged and will cut any deals with pirates. Report back to Raymond Striker.",
						[3] = "Ray Striker was pleased to hear about Sandra's rage. If you haven't done so yet, \z
						ask him for other missions.",
					},
				},
				[8] = {
					name = "Ray's Mission 2: Sabotage",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.RaysMission2,
					missionId = 10270,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Buy a fire bug at Liberty Bay and infiltrate Nargor. \z
						Find the pirates' harbor and use the fire bug to sabotage their catapult there.",
						[2] = "You were able to sabotage the catapult in the pirate's harbor. \z
						Report back to Ray Striker to tell him about mission.",
						[3] = "Ray Striker was pleased to hear about successful sabotage. \z
						If you haven't done so yet, ask him for other missions.",
					},
				},
				[9] = {
					name = "Ray's Mission 3: Spy Mission",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.RaysMission3,
					missionId = 10271,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Travel to Nargor and try to enter de pirate's tavern by deceiving the guard in front of it. \z
						Read all the plans which you can find in the tavern and report back to Striker.",
						[2] = "You studied all of the pirate's plans in their tavern which will give insight about their next strikes. \z
						If you haven't done so yet, ask Ray for another mission.",
					},
				},
				[10] = {
					name = "Ray's Mission 4: Proof of Death",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.RaysMission4,
					missionId = 10272,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Travel to Nargor and try to find out more about the mission Klaus offers. \z
						He apparently wants the death of Ray Striker and your task is to convince him that Ray is dead.",
						[2] = "Klaus told you to kill Ray Striker and bring him his lucky pillow as a proof. \z
						Ray should be interested in hearing about this mission.",
						[3] = "You informed Ray that Klaus needs his lucky pillow as proof of his death. \z
						Ray gave it to you, now go convince Klaus that the mission is fulfilled and Ray is Dead!",
						[4] = "Klaus belieaves that Ray Striker is dead and will celebrate a big party. \z
						You should tell Ray about your successful mission.",
						[5] = "Ray was very impressed to hear about your successful mission \z
						and gave you a ship and a pirate outfit as reward.",
					},
				},
				[11] = {
					name = "Reputation in Sabrehaven: Suspicious",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.ReputationInSabrehaven,
					missionId = 10273,
					startValue = 2,
					endValue = 13,
					states = {
						[2] = "Ariella asked you for a few days of adequate supply. \z
						Help her and improve your reputation in Sabrehaven.",
						[3] = "You have finished one mission. Ask around in Sabrehaven and surroundings whether the \z
						people there might have missions for you. This will improve your reputation and earn their trust.",
						[4] = "Morgan asked you to deliver a letter safely to old Eremo on Cormaya. \z
						Help him and improve your reputation in Sabrehaven.",
						[5] = "You delivered the letter safely to old Eremo. Report back to Morgan and \z
						improve your reputation in Sabrehaven.",
						[6] = "You have finished two missions. Ask around in Sabrehaven and surroundings \z
						whether the people there might have missions for you. This will improve your reputation and earn their trust.",
						[7] = "Duncan requested an atlas of the explorers society. Help him and improve your reputation in Sabrehaven.",
						[8] = "You have finished three missions. Ask around in Sabrehaven and surroundings whether the \z
						people there might have missions for you. This will improve your reputation and earn their trust.",
						[9] = "Chondur asked at least five pirate voodoo dolls to lift the curse. Help him and improve \z
						your reputation in Sabrehaven.",
						[10] = "You have finished four missions. Ask around in Sabrehaven and surroundings whether the \z
						people there might have missions for you. This will improve your reputation and earn their trust.",
						[11] = "Ariella asked you to bring a sample of whisper beer from a secret whisper bar in Carlin. \z
						Help her and improve your reputation in Sabrehaven.",
						[12] = "Take the sample of whisper beer to Ariella. Help her and improve your reputation in Sabrehaven.",
					},
				},
				[12] = {
					name = "Reputation in Sabrehaven: Friendly",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.ReputationInSabrehaven,
					missionId = 10274,
					startValue = 14,
					endValue = 17,
					states = {
						[14] = "You have finished five missions. People in Sabrehaven seem to start trusting you. \z
						Maybe this is a good time for some more difficult missions.",
						[15] = "You have finished six missions. People in Sabrehaven seem to start trusting you. \z
						Maybe this is a good time for some more difficult missions.",
						[16] = "You have finished seven missions. People in Sabrehaven seem to start trusting you. \z
						Maybe this is a good time for some more difficult missions.",
					},
				},
				[13] = {
					name = "Reputation in Sabrehaven: Cordial",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.ReputationInSabrehaven,
					missionId = 10275,
					startValue = 18,
					endValue = 19,
					description = "You have finished eight missions. \z
					People in Sabrehaven seem to trust you, but there is still one last mission left.",
				},
				[14] = {
					name = "Reputation in Sabrehaven: Loyal",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.ReputationInSabrehaven,
					missionId = 10276,
					startValue = 20,
					endValue = 22,
					states = {
						[20] = "You have finished nine missions. People in Sabrehaven are considering you as one of them.",
						[21] = "You have finished all missions. \z
						People in Sabrehaven are considering you as one of them and you earned their full trust.",
					},
				},
				[15] = {
					name = "The Counterspell",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.TheCounterspell,
					missionId = 10277,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "You have begun Chondur's ritual. Bring him a fresh dead chicken so that he can begin to \z
						create a counterspell which will allow you to pass the magical barrier on Goroma.",
						[2] = "You have begun Chondur's ritual. Bring him a fresh dead rat so that he can continue \z
						creating a counterspell which will allow you to pass the magical barrier on Goroma.",
						[3] = "You have begun Chondur's ritual. Bring him a fresh dead black sheep so that he can \z
						complete his counterspell which will allow you to pass the magical barrier on Goroma.",
						[4] = "You may pass the energy barrier on Goroma. The counterspell Chondur created for you \z
						with his ritual will allow you to withstand the evil magic of the cultist.",
					},
				},
				[16] = {
					name = "The Errand",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.TheErrand,
					missionId = 10278,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "You told Eleonore to run a small errand. Deliver the 200 gold pieces she \z
						gave to the herbalist Charlotta in the south-western part of Liberty Bay.",
						[2] = "You delivered the gold to Charlotta. Return to Eleonore and tell her the secret password: peg leg",
					},
				},
				[17] = {
					name = "The Governor's Daughter",
					storageId = Storage.Quest.U7_8.TheShatteredIsles.TheGovernorDaughter,
					missionId = 10279,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "You promised to find Eleonore's lost ring. She told you that a parrot stole it from her \z
						dressing table and flew to the nearby mountains. You might need a rake to retrieve the ring.",
						[2] = "You found the ring. Return it to Eleonore.",
						[3] = "You returned the ring to Eleonore.",
					},
				},
			},
		},
		[26] = {
			name = "The Thieves Guild",
			startStorageId = Storage.Quest.U8_2.TheThievesGuildQuest.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Mission 1: Ivory Poaching",
					storageId = Storage.Quest.U8_2.TheThievesGuildQuest.Mission01,
					missionId = 10280,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Dorian wants you to collect 10 elephant tusks and deliver them to him.",
						[2] = "You delivered the ten tusks to Dorian.",
					},
				},
				[2] = {
					name = "Mission 2: Burglary",
					storageId = Storage.Quest.U8_2.TheThievesGuildQuest.Mission02,
					missionId = 10281,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Dorian wants you to steal a vase from Sarina, the owner of Carlin's general store.",
						[2] = "You have stolen the vase, report back to Dorian!",
						[3] = "You have delivered the stolen vase to Dorian, ask him for a new mission!",
					},
				},
				[3] = {
					name = "Mission 3: Invitation",
					storageId = Storage.Quest.U8_2.TheThievesGuildQuest.Mission03,
					missionId = 10282,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Your task is to somehow convince Oswald to hand you an invitation to the king's ball.",
						[2] = "You have received the invitation to the King's ball, report back to Dorian!",
						[3] = "You have delivered the invitation to Dorian, ask him for a new mission!",
					},
				},
				[4] = {
					name = "Mission 4: Bridge Robbery",
					storageId = Storage.Quest.U8_2.TheThievesGuildQuest.Mission04,
					missionId = 10283,
					startValue = 1,
					endValue = 8,
					states = {
						[1] = "Dorian wants you to find a forger in the outlaw camp, go talk to Snake eye.",
						[2] = "Snake Eye told you to visit Ahmet in Ankrahmun.",
						[3] = "Ahmet told you that he will only help a friend and asked you to kill at least one Nomad.",
						[4] = "You have killed a Nomad, go back to Ahmet!",
						[5] = "You have received the forged documents from Ahmet, next is to get a disguise from Percybald in Venore!",
						[6] = "You have received the dwarf disguise from Percybald. Now go do the deal with Nurik.",
						[7] = "You have traded the forged documents for the painting, report back to Dorian.",
						[8] = "You have delivered the painting to Dorian, ask him for a new mission!",
					},
				},
				[5] = {
					name = "Mission 5: Enforcing Debts",
					storageId = Storage.Quest.U8_2.TheThievesGuildQuest.Mission05,
					missionId = 10284,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Your mission is to travel to Tiquanda. Fina a hidden smuggler cave to the north of Port Hope \z
						and try to retrieve the valuable goblet which Dorian is looking for. Once you got it, bring it to him.",
						[2] = "You have delivered the golden goblet to Dorian, ask him for a new mission!",
					},
				},
				[6] = {
					name = "Mission 6: Fishnapping",
					storageId = Storage.Quest.U8_2.TheThievesGuildQuest.Mission06,
					missionId = 10285,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Dorian wants you to fishnap Theodore Loveless' fish, first you need to get the key to his room. \z
						Talk to Chantalle in Liberty Bay.",
						[2] = "You have received the key for Theodore Loveless' room, time to fishnap his fish!",
						[3] = "You have fishnapped Theodore Loveless' fish, deliver it to Dorian.",
						[4] = "You have delivered the fish to Dorian, ask him for a new mission!",
					},
				},
				[7] = {
					name = "Mission 7: Blackmail",
					storageId = Storage.Quest.U8_2.TheThievesGuildQuest.Mission07,
					missionId = 10286,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Your current task is to find compromising information about one of the \z
						Venore city guards, no matter how. A good starting point might be in their barracks.",
						[2] = "You have delivered the compromising letter to Dorian, ask him for a new mission!",
					},
				},
				[8] = {
					name = "Mission 8: Message",
					storageId = Storage.Quest.U8_2.TheThievesGuildQuest.Mission08,
					missionId = 10287,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Dorian wants you to deliver a message to his competitors in the dark cathedral.",
						[2] = "You have put up the message, report back to Dorian.",
						[3] = "You have reported back that you have completed the mission, \z
						Dorian now allows you to trade with Black Bert.",
					},
				},
			},
		},
		[27] = {
			name = "The Travelling Trader Quest",
			startStorageId = Storage.Quest.U8_1.TheTravellingTrader.Mission01,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Mission 1: Trophy",
					storageId = Storage.Quest.U8_1.TheTravellingTrader.Mission01,
					missionId = 10288,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Your first mission for becoming a recognized trader is to bring the \z
						traveling salesman Rashid a Deer Trophy.",
						[2] = "You have completed this mission. Talk with Rashid to continue.",
					},
				},
				[2] = {
					name = "Mission 2: Delivery",
					storageId = Storage.Quest.U8_1.TheTravellingTrader.Mission02,
					missionId = 10289,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Your mission is to get the package from Willard the weapon dealer at Edron.",
						[2] = "Willard forgot to pick it up from Snake Eye at Outlaw Camp. \z
						So he wants you to go and pick it up from Snake Eye.",
						[3] = "Take the package just next door.",
						[4] = "Now bring back the package to Rashid.",
						[5] = "You have completed this mission. Talk with Rashid to continue.",
					},
				},
				[3] = {
					name = "Mission 3: Cheese",
					storageId = Storage.Quest.U8_1.TheTravellingTrader.Mission03,
					missionId = 10290,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Rashid wants you to pick his special order from Miraia in Darashia. \z
						But you have to be quick, Scarab cheese can rot really fast in high temperature.",
						[2] = "Now quickly bring back the Scarab cheese to Rashid.",
						[3] = "You have completed this mission. Talk with Rashid to continue.",
					},
				},
				[4] = {
					name = "Mission 4: Vase",
					storageId = Storage.Quest.U8_1.TheTravellingTrader.Mission04,
					missionId = 10291,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Rashid have ordered a special elven vase from Briasol in Ab'Dendriel. \z
						    He asks you to buy it from Briasol and bring it back. \z
                            But you should be carefully, since the vase is very fragile.",
						[2] = "Now carefully bring the vase back to Rashid.",
						[3] = "You have completed this mission. Talk with Rashid to continue.",
					},
				},
				[5] = {
					name = "Mission 5: Make a deal",
					storageId = Storage.Quest.U8_1.TheTravellingTrader.Mission05,
					missionId = 10292,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "This time, Rashid is testing your trading skills to buy a Crimson Sword from Uzgod. \z
						But it have to be less than 400 gold coins and the quality has to be perfect.",
						[2] = "Now bring the sword back to Rashid.",
						[3] = "You have completed this mission. Talk with Rashid to continue.",
					},
				},
				[6] = {
					name = "Mission 6: Goldfish",
					storageId = Storage.Quest.U8_1.TheTravellingTrader.Mission06,
					missionId = 10293,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Rashid wants you to bring him a Goldfish Bowl.",
						[2] = "You have completed this mission. Talk with Rashid to continue.",
					},
				},
				[7] = {
					name = "Mission 7: Declare",
					storageId = Storage.Quest.U8_1.TheTravellingTrader.Mission07,
					missionId = 10294,
					startValue = 1,
					endValue = 1,
					states = {
						[1] = "Rashid has declare you as one of his recognized traders, \z
						and now you are able to trade with him anytime..",
					},
				},
			},
		},
		[28] = {
			name = "The Explorer Society",
			startStorageId = Storage.Quest.U7_6.ExplorerSociety.QuestLine,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Joining the Explorers",
					storageId = Storage.Quest.U7_6.ExplorerSociety.JoiningTheExplorers,
					missionId = 10295,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "The mission should be simple to fulfil. You have to seek out Uzgod in \z
							Kazordoon and get the pickaxe for us. Or just find dwarven pickaxe on your own...",
						[2] = "Get into Dwacatra and get Uzgod's family brooch.",
						[3] = "Bring family brooch back to Uzgod",
						[4] = "Bring the pickaxe back to the Explorer Society representative.",
						[5] = "You have completed Joining the Explorers",
					},
				},
				[2] = {
					name = "The Ice Delivery",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheIceDelivery,
					missionId = 10296,
					startValue = 6,
					endValue = 8,
					states = {
						[6] = "Take this ice pick and use it on a block of ice in the caves beneath Folda. \z
							Get some ice and bring it here as fast as you can. \z
							If the ice melt away, report on your ice delivery mission anyway.",
						[7] = "You have 10 minutes before the icicle defrosts. Run back to the Explorer Society representative!",
						[8] = "You have completed The Ice Delivery.",
					},
				},
				[3] = {
					name = "The Butterfly Hunt",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheButterflyHunt,
					missionId = 10297,
					startValue = 9,
					endValue = 17,
					states = {
						[9] = "This preparation kit will allow you to collect a PURPLE butterfly you have killed. \z
							Just use it on the fresh corpse of a PURPLE butterfly.",
						[10] = "Return the prepared butterfly to Explorer Society representative.",
						[11] = "Ask for another butterfly hunt.",
						[12] = "This preparation kit will allow you to collect a BLUE butterfly you have killed. \z
							Just use it on the fresh corpse of a BLUE butterfly.",
						[13] = "Return the prepared butterfly to Explorer Society representative.",
						[14] = "Ask for another butterfly hunt.",
						[15] = "This preparation kit will allow you to collect a RED butterfly you have killed. \z
							Just use it on the fresh corpse of a RED butterfly.",
						[16] = "Return the prepared butterfly to Explorer Society representative.",
						[17] = "You have completed The Butterfly Hunt.",
					},
				},
				[4] = {
					name = "The Plant Collection",
					storageId = Storage.Quest.U7_6.ExplorerSociety.ThePlantCollection,
					missionId = 10298,
					startValue = 18,
					endValue = 26,
					states = {
						[18] = "Take botanist's container. Use it on a jungle bells plant to collect a sample.",
						[19] = "Report about your plant collection to Explorer Society representative.",
						[20] = "Ask for plant collection when you are ready to continue.",
						[21] = "Use botanist's container on a witches cauldron to collect a sample.",
						[22] = "Report about your plant collection to Explorer Society representative.",
						[23] = "Ask for plant collection when you are ready to continue.",
						[24] = "Use this botanist's container on a giant jungle rose to obtain a sample.",
						[25] = "Report about your plant collection to Explorer Society representative.",
						[26] = "You have completed The Plant Collection.",
					},
				},
				[5] = {
					name = "The Lizard Urn",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheLizardUrn,
					missionId = 10299,
					startValue = 27,
					endValue = 29,
					states = {
						[27] = "In the south-east of Tiquanda is a small settlement of the lizard people. \z
							Beneath the newly constructed temple there, the lizards hide the urn. \z
							Acquire an ancient urn which is some sort of relic to the lizard people of Tiquanda.",
						[28] = "Bring the Funeral Urn back to the Explorer Society.",
						[29] = "You have completed The Lizard Urn.",
					},
				},
				[6] = {
					name = "The Bonelord Secret",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheBonelordSecret,
					missionId = 10300,
					startValue = 30,
					endValue = 32,
					states = {
						[30] = "Travel to the city of Darashia and then head north-east for the pyramid. \z
								If any documents are left, you probably find them in the catacombs beneath.",
						[31] = "Bring the Wrinkled Parchment back to the Explorer Society representative.",
						[32] = "You have completed The Bonelord Secret.",
					},
				},
				[7] = {
					name = "The Orc Powder",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheOrcPowder,
					missionId = 10301,
					startValue = 33,
					endValue = 35,
					states = {
						[33] = "As far as we can tell, the orcs maintain some sort of training facility \z
							in some hill in the north-east of their city. \z
							There you should find lots of their war wolves and hopefully also some of the orcish powder.",
						[34] = "Bring the Strange Powder to the Explorer Society representative to complete your mission.",
						[35] = "You have completed The Orc Powder.",
					},
				},
				[8] = {
					name = "The Elven Poetry",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheElvenPoetry,
					missionId = 10302,
					startValue = 36,
					endValue = 38,
					states = {
						[36] = "This mission is easy but nonetheless vital. Travel Hellgate beneath Ab'Dendriel and get the book.",
						[37] = "Bring back an elven poetry book to the Explorer Society representative.",
						[38] = "You have completed The Elven Poetry.",
					},
				},
				[9] = {
					name = "The Memory Stone",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheMemoryStone,
					missionId = 10303,
					startValue = 39,
					endValue = 41,
					states = {
						[39] = "In the ruins of north-western Edron you should be able to find a memory stone. ",
						[40] = "Bring back a memory stone to the Explorer Society representative.",
						[41] = "You have completed The Memory Stone.",
					},
				},
				[10] = {
					name = "The Rune Writings",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheRuneWritings,
					missionId = 10304,
					startValue = 42,
					endValue = 44,
					states = {
						[42] = "Somewhere under the ape infested city of Banuta, one can find dungeons \z
							that were once inhabited by lizards. Look there for an atypical structure that \z
							would rather fit to Ankrahmun and its Ankrahmun Tombs. Copy the runes you will find on this structure.",
						[43] = "Report back to the Explorer Society representative.",
						[44] = "You have completed The Rune Writings.",
					},
				},
				[11] = {
					name = "The Ectoplasm",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheEctoplasm,
					missionId = 10305,
					startValue = 45,
					endValue = 47,
					states = {
						[45] = "Take ectoplasm container and use it on a ghost that was recently slain.",
						[46] = "Return back to the Explorer Society representative with the collected ectoplasm.",
					},
				},
				[12] = {
					name = "The Spectral Dress",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheSpectralDress,
					missionId = 10306,
					startValue = 48,
					endValue = 50,
					states = {
						[48] = "The queen of the banshees lives in the so called Ghostlands, south west of Carlin. \z
							Try to get a spectral dress from her.",
						[49] = "Report to the Explorer Society with the spectral dress.",
					},
				},
				[13] = {
					name = "The Spectral Stone",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheSpectralStone,
					missionId = 10307,
					startValue = 51,
					endValue = 55,
					states = {
						[51] = "Please travel to our second base and ask them to mail us their latest research reports. \z
							Then return here and ask about new missions.",
						[52] = "Tell our fellow explorer that the papers are in the mail already.",
						[53] = "Take the spectral essence and use it on the strange carving in this building \z
							as well as on the corresponding tile in our second base.",
						[54] = "Good! Now use the spectral essence on the strange carving in our second base.",
					},
				},
				[14] = {
					name = "The Astral Portals",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheAstralPortals,
					missionId = 10308,
					startValue = 56,
					endValue = 56,
					states = {
						[56] = "Both carvings are now charged and harmonised. You are able to travel in zero time from \z
							one base to the other, but you need to have an orichalcum pearl in your possession to use it as power source.",
					},
				},
				[15] = {
					name = "The Island of Dragons",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheIslandofDragons,
					missionId = 10309,
					startValue = 57,
					endValue = 59,
					states = {
						[57] = "Travel to Okolnir and try to find a proof for the existence of dragon lords there in the old times. \z
							I think old Buddel might be able to bring you there.",
						[58] = "Report back to Lurik with the dragon scale.",
					},
				},
				[16] = {
					name = "The Ice Music",
					storageId = Storage.Quest.U7_6.ExplorerSociety.TheIceMusic,
					missionId = 10310,
					startValue = 60,
					endValue = 62,
					states = {
						[60] = "There is a cave on Hrodmir, north of the southernmost barbarian camp Krimhorn. \z
							In this cave, there are a waterfall and a lot of stalagmites. \z
							Take the resonance crystal and use it on the stalagmites in the cave to record the sound of the wind.",
						[61] = "Report back to Lurik.",
						[62] = "Now you may use the Astral Bridge from Liberty Bay to Svargrond.",
					},
				},
				[17] = {
					name = "The Undersea Kingdom",
					storageId = Storage.Quest.U7_6.ExplorerSociety.CalassaQuest,
					missionId = 10311,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Captain Max will bring you to Calassa whenever you are ready. Please try to retrieve the missing logbook which must be in one of the sunken shipwrecks.",
						[2] = "Report about your Calassa mission to Berenice in Liberty Bay.",
						[3] = "Congratulations, you completed the remaining part of this mission!",
					},
				},
			},
		},
		[29] = {
			name = "The Ultimate Challenges",
			startStorageId = Storage.Quest.U8_0.BarbarianArena.QuestLogGreenhorn,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Barbarian Arena - Greenhorn Mode",
					storageId = Storage.Quest.U8_0.BarbarianArena.QuestLogGreenhorn,
					missionId = 10312,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "You have to defeat all enemies in this mode.",
						[2] = "You have defeated all enemies in this mode.",
					},
				},
				[2] = {
					name = "Barbarian Arena - Scrapper Mode",
					storageId = Storage.Quest.U8_0.BarbarianArena.QuestLogScrapper,
					missionId = 10313,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "You have to defeat all enemies in this mode.",
						[2] = "You have defeated all enemies in this mode.",
					},
				},
				[3] = {
					name = "Barbarian Arena - Warlord Mode",
					storageId = Storage.Quest.U8_0.BarbarianArena.QuestLogWarlord,
					missionId = 10314,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "You have to defeat all enemies in this mode.",
						[2] = "You have defeated all enemies in this mode.",
					},
				},
			},
		},
		[30] = {
			name = "The White Raven Monastery",
			startStorageId = Storage.Quest.U7_24.TheWhiteRavenMonastery.QuestLog,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Access to the Isle of Kings",
					storageId = Storage.Quest.U7_24.TheWhiteRavenMonastery.Passage,
					missionId = 10315,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "You are a friend of Dalbrect. \z
						Since you returned his family brooch he will sail you to the Isle of Kings unless you do something stupid.",
					},
				},
				[2] = {
					name = "The Investigation",
					storageId = Storage.Quest.U7_24.TheWhiteRavenMonastery.Diary,
					missionId = 10316,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Investigate the catacombs. Abbot Costello should be interested in information about brother Fugio.",
						[2] = "You returned Fugio's Diary. \z
						Costello was very thankful about your help and gave you a blessed ankh as reward.",
					},
				},
			},
		},
		[31] = {
			name = "Tibia Tales",
			startStorageId = Storage.Quest.U8_1.TibiaTales.DefaultStart,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "To Appease the Mighty",
					storageId = Storage.Quest.U8_1.TibiaTales.ToAppeaseTheMightyQuest,
					missionId = 10317,
					startValue = 0,
					endValue = 4,
					states = {
						[1] = "Kazzan sent you to talk with Ubaid and Umar to offer an appeasement treaty to the Djinn races. \z
						Talk to Umar first.",
						[2] = "Umar said he won't be part of Kazzan's plans. Now you need to try with Ubaid.",
						[3] = "Umar and Ubaid said they won't be part of those plans. Return to Kazzan and collect your reward.",
						[4] = "You have completed the quest!",
					},
				},
				[2] = {
					name = "Arito's Task",
					storageId = Storage.Quest.U8_1.TibiaTales.AritosTask,
					missionId = 10318,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Arito asked you to make a peace agreement between him and the Nomads.",
						[2] = "Return to Arito and tell him the good news.",
						[3] = "Now Arito are safe and you have access to Nomads Cave.",
					},
				},
				[3] = {
					name = "Lion's Rock",
					storageId = Storage.Quest.U10_70.LionsRock.Questline,
					missionId = 10319,
					startValue = 1,
					endValue = 11,
					states = {
						[1] = function(player)
							return string.format(
								"You have discovered the Lion's Rock. If you pass the following tests you may enter the inner sanctum.\n\nThe Lion's Strength %d/1\nThe Lion's Beauty %d/1\nThe Lion's Tears %d/1",
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.OuterSanctum.LionsStrength), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.OuterSanctum.LionsBeauty), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.OuterSanctum.LionsTears), 0))
							)
						end,
						[2] = function(player)
							return string.format(
								"You have discovered the Lion's Rock. If you pass the following tests you may enter the inner sanctum.\n\nThe Lion's Strength %d/1\nThe Lion's Beauty %d/1\nThe Lion's Tears %d/1",
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.OuterSanctum.LionsStrength), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.OuterSanctum.LionsBeauty), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.OuterSanctum.LionsTears), 0))
							)
						end,
						[3] = function(player)
							return string.format(
								"You have discovered the Lion's Rock. If you pass the following tests you may enter the inner sanctum.\n\nThe Lion's Strength %d/1\nThe Lion's Beauty %d/1\nThe Lion's Tears %d/1",
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.OuterSanctum.LionsStrength), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.OuterSanctum.LionsBeauty), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.OuterSanctum.LionsTears), 0))
							)
						end,
						[4] = "You have passed the three tests of Lion's Rock and thus lit the three mystical pyramids. You may enter the inner sanctum now. - What other secrets could be hidden down there?",
						[5] = "You found a mysterious scroll in the debris of an old amphora. It seems it could help to translate the old temple inscriptions.",
						[6] = function(player)
							return string.format(
								"lions' enemies in this area of the temple. What could be the resolution?\n\nblood %d/1\negg %d/1\neye %d/1\npoison %d/1",
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.InnerSanctum.SnakeSign), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.InnerSanctum.LizardSign), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.InnerSanctum.ScorpionSign), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.InnerSanctum.HyenaSign), 0))
							)
						end,
						[7] = function(player)
							return string.format(
								"lions' enemies in this area of the temple. What could be the resolution?\n\nblood %d/1\negg %d/1\neye %d/1\npoison %d/1",
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.InnerSanctum.SnakeSign), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.InnerSanctum.LizardSign), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.InnerSanctum.ScorpionSign), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.InnerSanctum.HyenaSign), 0))
							)
						end,
						[8] = function(player)
							return string.format(
								"lions' enemies in this area of the temple. What could be the resolution?\n\nblood %d/1\negg %d/1\neye %d/1\npoison %d/1",
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.InnerSanctum.SnakeSign), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.InnerSanctum.LizardSign), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.InnerSanctum.ScorpionSign), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U10_70.LionsRock.InnerSanctum.HyenaSign), 0))
							)
						end,
						[9] = 'In the north-west area of the Inner Sanctum, find the southern rectangular room to the south-west. In this room you will find 4 "sun" floor inscriptions as well as a rock in the center. The sun inscriptions represent gem slots.',
						[11] = "By solving the gem puzzle you unveiled the last secret of the Lion's Rock. You drew a treasure out of the ornamented fountain in the lower temple areas.",
					},
				},
				[4] = {
					name = "Against the Spider Cult",
					storageId = Storage.Quest.U8_1.TibiaTales.AgainstTheSpiderCult,
					missionId = 10320,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "Daniel Steelsoul in Edron wants you to infiltrate the Edron Orc Cave and destroy 4 Spider Eggs.",
						[2] = "You destroyed 1 of 4 Spider Eggs in the Edron Orc Cave",
						[3] = "You destroyed 2 of 4 Spider Eggs in the Edron Orc Cave",
						[4] = "You destroyed 3 of 4 Spider Eggs in the Edron Orc Cave",
						[5] = "You destroyed all Spider Eggs in the Edron Orc Cave, report back to Daniel Steelsoul!",
						[6] = "You have completed the Quest!",
					},
				},
				[5] = {
					name = "An Interest In Botany",
					storageId = Storage.Quest.U8_6.AnInterestInBotany.Questline,
					missionId = 10321,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Rabaz in Farmine asked you to collect samples from rare plant specimen in Zao. \z
						Go to the storage room to the west and receive the Botany Almanach. \z
						Find then the Giant Dreadcoil and use your Obsidian Knife on it to obtain a sample.",
						[2] = "Now you must find the second plant, a Giant Verminous and use your \z
						Obsidian Knife on it to obtain a sample.",
						[3] = "You found the two samples, report back to Rabaz in Farmine!",
						[4] = "You have completed the Quest!",
					},
				},
				[6] = {
					name = "Graves Sanctified - In Progress",
					storageId = Storage.Quest.U8_1.RestInHallowedGround.HolyWater,
					missionId = 10322,
					startValue = 1,
					endValue = 15,
					description = function(player)
						return string.format("You sanctified %d of 15 graves.", (math.max(player:getStorageValue(Storage.Quest.U8_1.RestInHallowedGround.HolyWater), 0)))
					end,
				},
				[7] = {
					name = "Into the Bone Pit",
					storageId = Storage.Quest.U8_1.TibiaTales.IntoTheBonePit,
					missionId = 10323,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Search the Cursed Bone Pit in the dungeon north of Thais and dig for a \z
						well-preserved human bone for Muriel.",
						[2] = "You have found a desecrated bone for Muriel.",
						[3] = "You helped Muriel to obtain a desecrated bone.",
					},
				},
				[8] = {
					name = "Rest in Hallowed Ground",
					storageId = Storage.Quest.U8_1.RestInHallowedGround.Questline,
					missionId = 10324,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Go to the white raven monastery and ask for some holy water for Amanda.",
						[2] = "You got the holy water from the white raven monastery. \z
						Go back to Amanda and report about your mission.",
						[3] = "Sanctify every single grave at the unholy graveyard north of Edron with the holy water.",
						[4] = "You have sanctified all graves at the unholy graveyard of Edron. Report about your mission at Amanda.",
						[5] = "You helped Amanda by sanctifying the cursed graveyard of Edron.",
					},
				},
				[9] = {
					name = "The Exterminator",
					storageId = Storage.Quest.U8_1.TibiaTales.TheExterminator,
					missionId = 10325,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Padreia in Carlin asked you to exterminate the slimes in the sewers of \z
						Carlin by poisoning their spawn pool.",
						[2] = "You poisoned the spawn pool of the slimes in the sewers of Carlin. \z
						Report to Padreia about your mission.",
						[3] = "You successfully helped Padreia in saving Carlin from a slimy disease.",
					},
				},
				[10] = {
					name = "The Ultimate Booze",
					storageId = Storage.Quest.U8_1.TibiaTales.UltimateBoozeQuest,
					missionId = 10326,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Boozer in Vernore asked you to bring him some special dwarven brown ale. \z
						You may find some in the brewery in Kazordoon.",
						[2] = "You found the special dwarven brown ale. Bring it to Boozer in Vernore.",
						[3] = "You have completed The Ultimate Booze Quest!",
					},
				},
				[11] = {
					name = "Jack to the Future",
					storageId = Storage.Quest.U8_7.JackFutureQuest.QuestLine,
					missionId = 10327,
					startValue = 1,
					endValue = 11,
					states = {
						[1] = "Spectulus told you about a failed experiment he once did, involving an intern \z
						named Jack, and asked you to help him rescue Jack. Go to Jack's house and talk to him \z
						about Spectulus.",
						[2] = "You have talked to Jack and found out that he is not remembering the time \z
						accident or Spectulus. Return to Spectulus in the Edron Academy to tell him about \z
						your findings.",
						[3] = "Spectulus wants you to trigger Jack's memory. Jack used to like his red cushioned \z
						chair, an old globe, a telescope, a large amphora and a rocking horse. Place those in his \z
						room and ask him about it.",
						[4] = "You have talked to Jack about the furniture you placed in his house. Report it back \z
						to Spectulus in the Edron Academy.",
						[5] = "Spectulus sent you once again to his former intern Jack. Explain the incident to the \z
						people close to him. Talk to Jack's mother and sister and return to Spectulus to report their reaction.",
						[6] = "You have talked with Jack's mother and sister. Report it back to Spectulus.",
						[7] = "Spectulus suggested asking Jack abouthis hobbies. Make Jack leave his hobby be by whateber \z
						means it takes. Only by doing this he will be separated from what distracts him from his former self.",
						[8] = "You found out and destroyed Jack's hobby. Jack is now finally ready and beginning to change. \z
						He event seems to start remembering Spectulus and the Academy.",
						[9] = "Jack is finally remembering Spectulus and the Academy. Report back your mission.",
						[10] = "Spectulus found out that you were convincing the wrong Jack. His real intern was transported \z
						way back to the past. He left a note years ago which, to your misery, reached Spectulus a little too late.",
						[11] = function(player)
							return string.format("%s", getJackLastMissionState(player))
						end,
					},
				},
				[12] = {
					name = "The Cursed Crystal",
					storageId = Storage.Quest.U10_70.TheCursedCrystal.Questline,
					missionId = 10328,
					startValue = 0,
					endValue = 4,
					states = {
						[0] = "A pirate told you about an evil artifact down in the crystal caves under Nargor.\z
						 It is a big crystal that affects the caves in a negative manner. Perhaps a jarring,\z
						very loud sound could destroy it.",
						[1] = "You found an old inscription to a mysterious recipe: 'vial of emb... fl... and \z
						mix ... a medusa's bl... Then ... the dust of ... crystal ... get Medusa's Ointm... able \z
						to unpetrify ...'",
						[2] = "You mixed the proper ingredients to create a special salve. The Medusa's Ointment. \z
						With this balm you may unpetrify a petrified object.",
						[3] = "With the Medusa's Ointment you unpetrified a banshee's scream near the evil crystal. \z
						Thus the baleful artefact was destroyed. You should return to One-Eyed Joe.",
						[4] = "You have completed the Quest!",
					},
				},
				[13] = {
					name = "Hidden Threats",
					storageId = Storage.Quest.U11_50.HiddenThreats.QuestLine,
					missionId = 10329,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "You have talked to Corym Ratter. He asked you to find the reason why the amount of  \z
						delivered ores is decreasing. You got access to the mine.",
						[2] = "You have met Corym Servant. He told you the true story of enslaved corym working under  \z
						terrible conditions. You have agreed to help him planing a riot. First you have to liberate his comrades.",
						[3] = "You have found two key fragments. They are quite rusted. It is necessary to remove the  \z
						rust before forging them together. You have to find a way to rebuild the key. This might open the doors.",
						[4] = "With the forged key you have unlocked the three areas. The Corym Servant was very relieved  \z
						and asked you to bring 20 units of rare earth.",
						[5] = "You have brought 20 units of rare earth to Corym Servant. He was very thankful and gave you  \z
						a reward. The revolution should now take place as intended.",
					},
				},
				[14] = {
					name = "To Outfox a Fox",
					storageId = Storage.Quest.U8_1.ToOutfoxAFoxQuest,
					missionId = 10432,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Budrik asked you to look for the hideout of the Horned Fox and bring his stolen mining helmet back. The Fox's lair is presumed to be west of Kazordoon near the coast.",
						[2] = "You succesfully helped Budrik in stealing back his old mining helemt.",
					},
				},
				[15] = {
					name = "Fish for a Serpent",
					storageId = Storage.Quest.U8_2.TheHuntForTheSeaSerpent.FishForASerpent,
					missionId = 10097,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Your first task is to bring 5 fish.",
						[2] = "Your second task is to bring 5 northern pike.",
						[3] = "Your third task is to bring 5 green perch.",
						[4] = "Your forth task is to bring 5 rainbow trout.",
						[5] = "You bring enough fish to make the bait. Now you're ready for the hunt.",
					},
				},
				[16] = {
					name = "The hunt for the Sea Serpent",
					storageId = Storage.Quest.U8_2.TheHuntForTheSeaSerpent.QuestLine,
					missionId = 10098,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "",
						[2] = "You navigated the ship to the right location. You are now able to dive down and explore the caves.",
					},
				},
				-- [17] = {
				-- name = "Nomads Land",
				-- storageId = PLACEHOLDER,
				-- missionId = PLACEHOLDER,
				-- startValue = 1,
				-- endValue = 2,
				-- states = {
				-- [1] = "",
				-- [2] = ""
				-- }
				-- }
			},
		},
		[32] = {
			name = "Unnatural Selection",
			startStorageId = Storage.Quest.U8_54.UnnaturalSelection.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Mission 1: Skulled",
					storageId = Storage.Quest.U8_54.UnnaturalSelection.Mission01,
					missionId = 10330,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Your mission is to find the Holy Skull. It is in a cave in the northern orc settlement, \z
						which is located north-west on the Zao Steppe.",
						[2] = "You found the Holy Skull. Retrieve it to Lazaran in the Zao Mountains.",
						[3] = "You brought Lazaran the Holy Skull. Ask him for new mission!",
					},
				},
				[2] = {
					name = "Mission 2: All Around the World",
					storageId = Storage.Quest.U8_54.UnnaturalSelection.Mission02,
					missionId = 10331,
					startValue = 1,
					endValue = 13,
					states = {
						[1] = "You received the Skull of a Caveman and need to explore the world, letting the skull see everything. \z
						You need to stand at the highest place of Edron.",
						[2] = "You received the Skull of a Caveman and need to explore the world, letting the skull see everything. \z
						You need to stand at the highest place of Ab'dendriel.",
						[3] = "You received the Skull of a Caveman and need to explore the world, letting the skull see everything. \z
						You need to stand at the highest place of Femor Hills.",
						[4] = "You received the Skull of a Caveman and need to explore the world, letting the skull see everything. \z
						You need to stand at the highest place of Darashia",
						[5] = "You received the Skull of a Caveman and need to explore the world, letting the skull see everything. \z
						You need to stand at the highest place of Ankrahmun",
						[6] = "You received the Skull of a Caveman and need to explore the world, letting the skull see everything. \z
						You need to stand at the highest place of Port Hope",
						[7] = "You received the Skull of a Caveman and need to explore the world, letting the skull see everything. \z
						You need to stand at the highest place of Liberty Bay",
						[8] = "You received the Skull of a Caveman and need to explore the world, letting the skull see everything. \z
						You need to stand at the highest place of Yalahar",
						[9] = "You received the Skull of a Caveman and need to explore the world, letting the skull see everything. \z
						You need to stand at the highest place of Svargrond",
						[10] = "You received the Skull of a Caveman and need to explore the world, letting the skull see everything. \z
						You need to stand at the highest place of Thais",
						[11] = "You received the Skull of a Caveman and need to explore the world, letting the skull see everything. \z
						You need to stand at the highest place of Carlin",
						[12] = "You visited all the highest places with the skull. \z
						Turn the skull back to Lazaran and report him your mission!",
						[13] = "You turned the skull already back to Lazaran. Ask him for new mission!",
					},
				},
				[3] = {
					name = "Mission 3: Dance Dance Evolution",
					storageId = Storage.Quest.U8_54.UnnaturalSelection.Mission03,
					missionId = 10332,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Lazaran told you to go to Ulala, who is located above Lazaran.",
						[2] = "Ulala told you to dance to please their god Krunus. \z
						On the south mountain in the camp you will find the Krunus altar, there are lots of leaves on the ground.",
						[3] = "You solved the dance. Head back to Ulala and report your mission!",
					},
				},
				[4] = {
					name = "Mission 4: Bits and Pieces",
					storageId = Storage.Quest.U8_54.UnnaturalSelection.Mission04,
					missionId = 10333,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Now the god Krunus is pleased, another god called Pandor needs to be pleased. \z
						Ulala wants you to collect 5 Orc Teeth, 5 Minotaur leathers and 5 Lizard Leathers. Bring them to her.",
						[2] = "You brought Ulala 5 Orc Teeth, 5 Minotaur leathers and 5 Lizard Leathers. Ask her for new mission!",
					},
				},
				[5] = {
					name = "Mission 5: Ray of Light",
					storageId = Storage.Quest.U8_54.UnnaturalSelection.Mission05,
					missionId = 10334,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "The third god which needs to be pleased is called Fasuon. \z
						Find the great crystal on top of mountain of Fasuon and pray there for his support!",
						[2] = "You already prayed at the great crystal. Report it to Ulala",
						[3] = "You have reported back to Ulala that you have completed the mission.",
					},
				},
				[6] = {
					name = "Mission 6: Firewater Burn",
					storageId = Storage.Quest.U8_54.UnnaturalSelection.Mission06,
					missionId = 10335,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Speak with Lazaran and tell the gods are pleased now.",
						[2] = "Bring Lazaran a Pot of brown water for a party after the great hunt.",
						[3] = "You brought Lazaran the beer and got a Serpent Crest as reward!",
					},
				},
			},
		},
		[33] = {
			name = "What a foolish Quest",
			startStorageId = Storage.Quest.U8_1.WhatAFoolishQuest.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "What a foolish Quest - Tasks of a Fool",
					storageId = Storage.Quest.U8_1.WhatAFoolishQuest.Mission1,
					missionId = 10336,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Cut a flower at the Whiteflower Temple south of Thais. Then report to Bozo about your mission.",
						[2] = "You have finished your first mission and should ask Bozo for the next mission.",
					},
				},
				[2] = {
					name = "What a foolish Quest - That stinks!",
					storageId = Storage.Quest.U8_1.WhatAFoolishQuest.Mission2,
					missionId = 10337,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "It sometimes stinks to be a fool. \z
						Collect some noxious fumes from a recently slain slime with the special vial. \z
						Then report to Bozo about your mission.",
						[2] = "You have finished your second mission and should ask Bozo for the next mission.",
					},
				},
				[3] = {
					name = "What a foolish Quest - A Piece of Cake",
					storageId = Storage.Quest.U8_1.WhatAFoolishQuest.Mission3,
					missionId = 10338,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Get 12 pies from Mirabell in Edron. Then report to Bozo about your mission.",
						[2] = "You have finished your third mission and should ask Bozo for the next mission.",
					},
				},
				[4] = {
					name = "What a foolish Quest - Fool Spirits",
					storageId = Storage.Quest.U8_1.WhatAFoolishQuest.Mission4,
					missionId = 10339,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Get 18 vials of wine for Bozo. Then report to Bozo about your mission.",
						[2] = "Exchange the crates in front of Xodet's house and return to Bozo with the swapped crate.",
						[3] = "You have finished your fourth mission and should ask Bozo for the next mission.",
					},
				},
				[5] = {
					name = "What a foolish Quest - Watch out for the foolish",
					storageId = Storage.Quest.U8_1.WhatAFoolishQuest.Mission5,
					missionId = 10340,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Steal the magic watch from the Triangle Tower west of Jakundaf Desert. \z
						Then report to Bozo about your mission.",
						[2] = "Use the magic watch to steal the beard of the sleeping dwarven emperor.",
						[3] = "You have already finished five missions for that fool. \z
						You should definitely talk to Bozo about your jester outfit now!",
					},
				},
				[6] = {
					name = "What a foolish Quest - The queen of farts",
					storageId = Storage.Quest.U8_1.WhatAFoolishQuest.Mission6,
					missionId = 10341,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Get Bozo 4 pieces of minotaur leather.",
						[2] = "Get Bozo a piece of giant spider silk.",
						[3] = "Ask Bozo about your mission, he might be finished with the whoopee cushion by now.",
						[4] = "Place the whoopee cushion on the queen's throne in Carlin by using the cushion with the throne.",
						[5] = "You have finished your sixth mission and should ask Bozo for the next mission.",
					},
				},
				[7] = {
					name = "What a foolish Quest - For your mice only",
					storageId = Storage.Quest.U8_1.WhatAFoolishQuest.Mission7,
					missionId = 10342,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Get the toy mouse of Queen Eloise's cat and show it to Carina, the jeweler in Venore, to scare her.",
						[2] = "You have finished your seventh mission and should ask Bozo for the next mission.",
					},
				},
				[8] = {
					name = "What a foolish Quest - Smoking is a foolish thing",
					storageId = Storage.Quest.U8_1.WhatAFoolishQuest.Mission8,
					missionId = 10343,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Gather some easily inflammable sulphur using a spoon on an inactive lava hole.",
						[2] = "You brought Bozo the sulphur. Now cut him some leaves of the jungle dweller bush with a kitchen knife.",
						[3] = "You have gathered the ordered ingredients and should ask Bozo for the next mission.",
						[4] = "Deliver the exploding cigar to Theodore Loveless in Liberty Bay.",
						[5] = "You have finished your eighth mission and should ask Bozo for the next mission.",
					},
				},
				[9] = {
					name = "What a foolish Quest - A fool's bargain",
					storageId = Storage.Quest.U8_1.WhatAFoolishQuest.Mission9,
					missionId = 10344,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Bozo wants you to fill a vial with the blood of a stalker. \z
						Use the vial on a slain stalker immediately after his death. Then report to Bozo about your mission.",
						[2] = "Bozo wants you to fill a vial with the ink of a quara constrictor. \z
						Use the vial on a slain constrictor immediately after its death. Then report to Bozo about your mission.",
						[3] = "You have gathered the ordered ingredients and should ask Bozo for the next mission.",
						[4] = "Order 2000 steel shields from Sam. Sign his contract with the magic ink.",
						[5] = "You have finished your ninth mission and should ask Bozo for the next mission.",
					},
				},
				[10] = {
					name = "What a foolish Quest - A sweet surprise",
					storageId = Storage.Quest.U8_1.WhatAFoolishQuest.Mission10,
					missionId = 10345,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Deliver a cookie to Avar Tar, Simon, Ariella, Lorbas, King Markwin, \z
						Hjaern, Wyda, Hairycles, the orc king and EITHER Yaman OR Nah'Bob. Then report to Bozo about the mission.",
						[2] = "You have finished your tenth mission and should ask Bozo for the next mission.",
					},
				},
				[11] = {
					name = "What a foolish Quest - The final foolishness",
					storageId = Storage.Quest.U8_1.WhatAFoolishQuest.Mission11,
					missionId = 10346,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Gather 5 pieces of white cloth for Bozo. Then report about your mission.",
						[2] = "Travel to Darama and climb the highest point of the Plague Spike to give these pieces of white \z
						cloth an old and worn look. Some ancient altar should suit your needs best - use the white cloth on it.",
						[3] = "Use your mummy disguise to scare the caliph Kazzan in Darashia. \z
						DON'T use the disguise too early or you will fail the quest.",
						[4] = "You have finished all of Bozo's missions and you are a complete fool now. Yay!",
					},
				},
				[12] = {
					name = "What a foolish Quest - To become a complete fool",
					storageId = Storage.Quest.U8_1.WhatAFoolishQuest.JesterOutfit,
					missionId = 10347,
					startValue = 4,
					endValue = 4,
					states = {
						[4] = "Now that you have a basic outfit, you should talk to Bozo about your missions to gain further rewards.",
					},
				},
			},
		},
		[34] = {
			name = "Wrath of the Emperor",
			startStorageId = Storage.Quest.U8_6.WrathOfTheEmperor.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Mission 01: Catering the Lions Den",
					storageId = Storage.Quest.U8_6.WrathOfTheEmperor.Mission01,
					missionId = 10348,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "You must bring Zalamon 3 nails and a piece of wood so that he can make a Marked Crate for you.",
						[2] = "Go to the tunnel in eastern Muggy Plains and reach the other side. \z
						Try to hide in the dark and avoid being seen at all by using the crate. \z
						After that you need to find the rebel hideout and talk to their leader Chartan.",
						[3] = "You passed the maintenance tunnel and successfully made contact with the resistance in their hideout north of the Great Gate.",
					},
				},
				[2] = {
					name = "Mission 02: First Contact",
					storageId = Storage.Quest.U8_6.WrathOfTheEmperor.Mission02,
					missionId = 10349,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Chartan needs you to reactivate the teleport to the Muggy Plains. \z
						Head downstairs and into the temple and craft material to repair the teleport. \z
						To do this you will need some tools to improvise.",
						[2] = "As you give the coal into the pool the corrupted fluid begins to dissolve, leaving purified, \z
						refreshing water. The teleporter is reactivated. Report back to Chartan.",
						[3] = "Report back to Zalamon for the next mission.",
					},
				},
				[3] = {
					name = "Mission 03: The Keeper",
					storageId = Storage.Quest.U8_6.WrathOfTheEmperor.Mission03,
					missionId = 10350,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Zalamon gives you a Flask of Plant Poison to destroy plants in the garden \z
						of the Emperor to lure out and kill The Keeper to get his tail. The garden is southeast of the rebel hideout.",
						[2] = "You killed the Keeper and got his tail. Bring it to Zalamon.",
						[3] = "You brought the tail of the Keeper to Zalamon and completed the mission. Ask for the next mission.",
					},
				},
				[4] = {
					name = "Mission 04: Sacrament of the Snake",
					storageId = Storage.Quest.U8_6.WrathOfTheEmperor.Mission04,
					missionId = 10351,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Zalamon now wants you to go to Deeper Banuta and get an Ancient Sceptre \z
						that will help in the fight against the emperor. \z
						On each floor under Deeper Banuta you collect a sceptre part from a Ghost of a Priest. \z
						On the 4th and final floor you need to assemble the sceptre..",
						[2] = "After you've assembled the Snake Sceptre and fought your way back out, \z
						head back to Zalamon and give it to him.",
						[3] = "You have delievered the recreated sceptre to the rebels.",
					},
				},
				[5] = {
					name = "Mission 05: New in Town",
					storageId = Storage.Quest.U8_6.WrathOfTheEmperor.Mission05,
					missionId = 10352,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Enter the imperial city Razachai to the west and talk to your contact in the ministry there for further missions.",
						[2] = "Now you only have to walk west until you find Zlak inside the big green building.",
						[3] = "You went deep inside the city to find Zlak and completed the mission. Ask for the next mission.",
					},
				},
				[6] = {
					name = "Mission 06: The Office Job",
					storageId = Storage.Quest.U8_6.WrathOfTheEmperor.Mission06,
					missionId = 10353,
					startValue = 0,
					endValue = 5,
					description = function(player)
						return string.format("Kill four Magistrati in the office building. Then report back to Zlak. You have killed %d magistrati so far.", (math.max(player:getStorageValue(Storage.Quest.U8_6.WrathOfTheEmperor.Mission06), 1)))
					end,
				},
				[7] = {
					name = "Mission 07: A Noble Cause",
					storageId = Storage.Quest.U8_6.WrathOfTheEmperor.Mission07,
					missionId = 10354,
					startValue = 0,
					endValue = 6,
					description = function(player)
						return string.format("Kill six nobles in the city and report back to Zlak. You have killed %d nobles so far.", (math.max(player:getStorageValue(Storage.Quest.U8_6.WrathOfTheEmperor.Mission07), 0)))
					end,
				},
				[8] = {
					name = "Mission 08: Uninvited Guests",
					storageId = Storage.Quest.U8_6.WrathOfTheEmperor.Mission08,
					missionId = 10355,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Use the old escape tunnel in the northern basement of the ministry to enter the imperial palace. Fight your way to the basement to meet your new rebel contact.",
						[2] = "You have reached your rebel contact Zizzle in the imperial palace.",
					},
				},
				[9] = {
					name = "Mission 09: The Sleeping Dragon",
					storageId = Storage.Quest.U8_6.WrathOfTheEmperor.Mission09,
					missionId = 10356,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "To enter the inner realms of the Emperor you need to free the mind of a dragon. \z
						An interdimensional potion will help you to enter this dream and unleash his consciousness.",
						[2] = "You travelled through the Sleeping Dragon dreams and freed his mind.",
					},
				},
				[10] = {
					name = "Mission 10: A Message of Freedom",
					storageId = Storage.Quest.U8_6.WrathOfTheEmperor.Mission10,
					missionId = 10357,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "After solving the riddle, and talking again to the Sleeping Dragon you got a Spiritual Charm. \z
						Report back to Zizzle.",
						[2] = "You possess the key to enter the inner realms of the emperor. \z
						Start with the one in the north-west and work your way clockwise trough the room and kill those manifestation. \z
						Then use your sceptre on the remain to destroy the emperor's influence over the crystal.",
						[3] = "You possess the key to enter the inner realms of the emperor. \z
						You destroyed 1 of 4 emperor's influences.",
						[4] = "You possess the key to enter the inner realms of the emperor. \z
						You destroyed 2 of 4 emperor's influences.",
						[5] = "You possess the key to enter the inner realms of the emperor. \z
						You destroyed 3 of 4 emperor's influences.",
						[6] = "You possess the key to enter the inner realms of the emperor. \z
						You destroyed all emperor's influences.",
					},
				},
				[11] = {
					name = "Mission 11: Payback Time",
					storageId = Storage.Quest.U8_6.WrathOfTheEmperor.Mission11,
					missionId = 10358,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Your Mission is to kill Zalamon. Step into the teleporter to confront him. \z
						Finally use your sceptre on the death body.",
						[2] = "Go back to Awareness Of The Emperor and report him your success!",
					},
				},
				[12] = {
					name = "Mission 12: Just Rewards",
					storageId = Storage.Quest.U8_6.WrathOfTheEmperor.Mission12,
					missionId = 10359,
					startValue = 0,
					endValue = 1,
					states = {
						[0] = "The Emperor has promised you wealth beyond measure. Go claim it in the ministry.",
						[1] = "You completed this Quest!",
					},
				},
			},
		},
		[35] = {
			name = "Oramond",
			startStorageId = Storage.Quest.U10_50.OramondQuest.QuestLine,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "To Take Roots",
					storageId = Storage.Quest.U10_50.OramondQuest.ToTakeRoots.Mission,
					missionId = 10360,
					startValue = 1,
					endValue = 3000,
					description = "Five Juicy roots from the outskirts of Rathleton may already help feed the poor. \z
					Try to find a city official to deliver them to or go to the Rathleton poor house.",
				},
			},
		},
		[36] = {
			name = "Forgotten Knowledge",
			startStorageId = Storage.Quest.U11_02.ForgottenKnowledge.Tomes,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Circle of the Black Sphinx",
					storageId = Storage.Quest.U11_02.ForgottenKnowledge.LadyTenebrisKilled,
					missionId = 10361,
					startValue = 0,
					endValue = 1522018605,
					states = {
						[1] = "You defeated the rogue Lady Tenebris.",
					},
				},
				[2] = {
					name = "Bane of the Cosmic Force",
					storageId = Storage.Quest.U11_02.ForgottenKnowledge.LloydKilled,
					missionId = 10362,
					startValue = 0,
					endValue = 1522018605,
					states = {
						[1] = "You calmed poor, misguided Lloyd. All he wanted was protection from the outside world. \z
						Luckily he seems to have learned his lesson... or has he?",
					},
				},
				[3] = {
					name = "The Desecrated Glade",
					storageId = Storage.Quest.U11_02.ForgottenKnowledge.ThornKnightKilled,
					missionId = 10363,
					startValue = 0,
					endValue = 1522018605,
					states = {
						[1] = "You defeated the Thorn Knight and shattered the root of evil with all your might. \z
						The honor of being a guardian of the glade indeed comes with pride as well as responsibility.",
					},
				},
				[4] = {
					name = "The Unwary Mage",
					storageId = Storage.Quest.U11_02.ForgottenKnowledge.DragonkingKilled,
					missionId = 10364,
					startValue = 0,
					endValue = 1522018605,
					states = {
						[1] = "With help of Ivalisse from the temple of the Astral Shapers in Thais and her father, \z
						you averted the Dragon King's menace deep in the Zao Muggy Plains.",
					},
				},
				[5] = {
					name = "Dragon in Distress",
					storageId = Storage.Quest.U11_02.ForgottenKnowledge.HorrorKilled,
					missionId = 10365,
					startValue = 0,
					endValue = 1522018605,
					states = {
						[1] = "You saved the Dragon Mother's egg and she melted the ice wall that blocked your way.",
					},
				},
				[6] = {
					name = "Time is a Window",
					storageId = Storage.Quest.U11_02.ForgottenKnowledge.TimeGuardianKilled,
					missionId = 10366,
					startValue = 0,
					endValue = 1522018605,
					states = {
						[1] = "You defeated the Time Guardian and are free to return to your own time. \z
						For some creatures in this world, it seems neither past nor future are an obstacle.",
					},
				},
				[7] = {
					name = "Final Fight",
					storageId = Storage.Quest.U11_02.ForgottenKnowledge.LastLoreKilled,
					missionId = 10367,
					startValue = 0,
					endValue = 1522018605,
					states = {
						[1] = "Description Fault.",
					},
				},
			},
		},
		[37] = {
			name = "The First Dragon",
			startStorageId = Storage.Quest.U11_02.TheFirstDragon.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Power",
					storageId = Storage.Quest.U11_02.TheFirstDragon.DragonCounter,
					missionId = 10368,
					startValue = 0,
					endValue = 200,
					description = function(player)
						return ("You already hunted %d/200 dragons."):format(player:getStorageValue(Storage.Quest.U11_02.TheFirstDragon.DragonCounter))
					end,
				},
				[2] = {
					name = "Treasure",
					storageId = Storage.Quest.U11_02.TheFirstDragon.ChestCounter,
					missionId = 10369,
					startValue = 0,
					endValue = 20,
					description = "Treasure is the favorite of the dragon lords. \z
					Find and take Kalyassa's treasures spread across the world.",
				},
				[3] = {
					name = "Knowledge",
					storageId = Storage.Quest.U11_02.TheFirstDragon.GelidrazahAccess,
					missionId = 10370,
					startValue = 0,
					endValue = 1,
					description = "You learned that frost dragon's incitement is the thirst for knowledge, \z
					perhaps if you bring some to Gelidrazah's you'll meet him.",
				},
				[4] = {
					name = "Life",
					storageId = Storage.Quest.U11_02.TheFirstDragon.SecretsCounter,
					missionId = 10371,
					startValue = 0,
					endValue = 3,
					description = "Undead dragons aspires for life. \z
					No better way to see life as it grows around the world, is there?",
				},
			},
		},
		[38] = {
			name = "Cults of Tibia",
			startStorageId = Storage.Quest.U11_40.CultsOfTibia.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "The Strengthtening of the Minotaurs",
					storageId = Storage.Quest.U11_40.CultsOfTibia.Minotaurs.JamesfrancisTask,
					missionId = 10372,
					startValue = 0,
					endValue = 50,
					description = function(player)
						return ("James asked you to enter the cave for hunting 50 empowered minotaurs. \z
						Then he will be able to continue his research.\nMinotaurs killed: %d/50"):format(player:getStorageValue(Storage.Quest.U11_40.CultsOfTibia.Minotaurs.JamesfrancisTask))
					end,
				},
				[2] = {
					name = "The Strengthtening of the Minotaurs",
					storageId = Storage.Quest.U11_40.CultsOfTibia.Minotaurs.Mission,
					missionId = 10373,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Gerimor told you that the naturalist Jamesfrancis is an expert of minotaurs. \z
						Right now he is investigating a cave in minocity. But this time something seems to be completely different.",
						[2] = "Jamesfrancis already entered the inner part of the cave weeks ago but had to flee when \z
						the minotaurs became too strong. He gave you the key to investigate this room as well.",
						[3] = "You found an entrance to the minotaur boss. You killed it and now you have to return to Jamesfrancis.",
						[4] = "Jamesfrancis sent you to talk with Gerimor about the minotaur cult.",
						[5] = "You have reported the Druid of Crunor about the minotaur cult.",
					},
				},
				[3] = {
					name = "Patron of Arts",
					storageId = Storage.Quest.U11_40.CultsOfTibia.MotA.Mission,
					missionId = 10374,
					startValue = 1,
					endValue = 15,
					states = {
						[1] = "The Druid of Cronor gave you the hint that the Thais exhibition has expanded. \z
						The new section is called MOTA (Museum of Tibian Arts). It's really worth a visit.",
						[2] = "Gareth told you how to become a patron of the arts. To fulfil your duty you have to manage some tasks. \z
						First you have to investigate the crime scene of a theft in the museum.",
						[3] = "You found a ransom note, wich requests you to pay some money for \z
						the stolen picture to a stonge in Kazordoon. His name is Iwar. Nevertheless I should talk to Gareth first.",
						[4] = "You told Gareth about the ransom note. \z
						He asked you to pay the money to Iwar to get the picture back. In his opinion, there is no alternative.",
						[5] = "You paid the money to stooge in Kazordoon. \z
						You were told that the picture is delivered to Gareth himself.",
						[6] = "You have to go to Angelo and get a magnifier to investigate all small \z
						pictures in the entrance hall of the MOTA. One of them should be a fake.",
						[7] = "Angelo allowed you to take a magnifier from a crate next to the cave entrance.",
						[8] = "You've fetched the magnifier from Angelo's crate. You're ready for your job in the museum.",
						[9] = "Indeed! One of the investigated small pictures is fake. Report to Gareth!",
						[10] = "After you told Gareth about the fake painting, he asked you to go to Angelo to get a new picture.",
						[11] = "Angelo was not willing to give you a new picture. \z
						However, they havent found any artefact in the sandy cave yet. Report to Gareth about your failure.",
						[12] = "Even though you weren't successful in getting a replacement for the fake picture, \z
						Gareth gave you access to the last floor of the museum. This area is for patrons only.",
						[13] = "INTERNAL MESSAGE: THIS NEED QUESTLOG INFORMATION",
						[14] = "The Denomintator opened the door for you after you answered his questions to the wanted number. \z
						In the end he mentioned the Druid of Conor. Maybe you should pay him a visit.",
						[15] = "In the end you told the Druid of Crunor about your experiences in the MoTA.",
					},
				},
				[4] = {
					name = "Barkless",
					storageId = Storage.Quest.U11_40.CultsOfTibia.Barkless.Mission,
					missionId = 10375,
					startValue = 1,
					endValue = 7,
					states = {
						[1] = "The members of the Barkless follow a rigid path of hardship and sacrifice. \z
						Their cult is located somewhere beneath Ab'dendriel. \z
						Whatever happened to their leader, only a true Barkless can find out.",
						[2] = "You survived the sulphur and tar trial. You accepted the stigma of misfortune and vanity. \z
						The hardest part, however, is yet to come. Give your life to the ice... to become true and purified.",
						[3] = function(player)
							return ("You survived the Trial. Barkless now have the right to see the cult leader but a \z
							powerful relic is sealing the path. Barkless markings broken to reverse the power of the cult object: \z %d of 10"):format(math.max(player:getStorageValue(Storage.Quest.U11_40.CultsOfTibia.Barkless.Objects), 0))
						end,
						[4] = "You broke enough Barkless markings to now reverse the seal \z
						held up by the cult object in the ritual chamber. \z
						The power you gained feels unnatural and excessive but it seems ther is no other way.",
						[5] = 'Something far more powerful than the beliel of your Barkless brothers \z
						and sisters powered the seal to the leader. Whatever the case - find Leiden, \z
						or as he\'s known to his devotees: the "Penitent".',
						[6] = "The Leiden you confronted has strayed far from his own original vision of Barkless. \z
						What you encountered was more monster than elf and less virtuous than his devotees would have you believe.",
						[7] = "You returned to Gerimor after putting an end to the mischief of Leyden the Penitent. \z
						May the Barkless walk the true path again one day.",
					},
				},
				[5] = {
					name = "Misguided",
					storageId = Storage.Quest.U11_40.CultsOfTibia.Misguided.Mission,
					missionId = 10376,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "ASD",
						[2] = "Below a ruin in the vicinity of the outlaw camp east of Thais a strange figure in ragged clothes \z
						hinted at something weird going on in a cave. He seemed too confused to decide whether to stop you.",
						[3] = function(player)
							return ("While rubbish, the amulet you equipe emits a strange aura of splendour. \z
							You feel an urge to fulfill the amulets hunger for especific deaths... Exorcisms: %d/5 "):format(math.max(player:getStorageValue(Storage.Quest.U11_40.CultsOfTibia.Misguided.Exorcisms), 0))
						end,
						[4] = "You defeated the cult leader of Misguided by uncovering the true master to pull his strings \z
						and freeing this world from its malicious existance. Return to Gerimor to tell him about the victory.",
						[5] = "You have spoken to Gerimor about your victory.",
					},
				},
				[6] = {
					name = "The Orc Idol",
					storageId = Storage.Quest.U11_40.CultsOfTibia.Orcs.Mission,
					missionId = 10377,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "ASD",
						[2] = "ASD",
						[3] = "You returned to Gerimor after facing the being the orcs worshipped. \z
						Whatever it was, it did not find the orcs by accident. \z
						A far more powerful force seems to have strategically place it here.",
					},
				},
				[7] = {
					name = "The Secret of the Sandy Cave",
					storageId = Storage.Quest.U11_40.CultsOfTibia.Life.Mission,
					missionId = 10378,
					startValue = 1,
					endValue = 10,
					states = {
						[1] = "ASD",
						[2] = "ASD",
						[3] = "In the cave you haven't found one of the missing scientists. \z
						However, you have faced a lots of strange mummies and a green oasis at the end.",
						[4] = "After you informed Angelo about your experiences in the cave, \z
						he asked you to go back to analyse the water of the oasis. For that reason you got an analysis tool.",
						[5] = "You have analysed the water with the help of the analysis tool from Angelo.",
						[6] = "You informed Angelo about the analyzed water. \z
						He gave you a counteragent, wich you have to apply to the oasis.",
						[7] = "You applied the counteragent to the oasis, just like Angelo had asked you to. \z
						But the effect was different from what you had expected. \z
						A sandstorm approached and caused create damage to the oasis.",
						[8] = "You Killed the boss",
						[9] = "You reported your victory to Angelo",
						[10] = "You have told Gerimor about your stay in the sandy cave. \z
						He was not really surprised and felt vindicated that the rumors about a cult in the cave might be true.",
					},
				},
				[8] = {
					name = "Zathroth Remmants",
					storageId = Storage.Quest.U11_40.CultsOfTibia.Humans.Mission,
					missionId = 10379,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = function(player)
							return ("A remnant cult of Zathroth has formed in a forbidden temple beneath Carlin. \z
						Find out what's behind this and stop it in time.\nTemporarily vaporised souls:\n%d Decaying\n%d Withering"):format(math.max(player:getStorageValue(18551), 0), math.max(player:getStorageValue(18550), 0))
						end,
						[2] = "ASD",
						[3] = "You returned to Gerimor after encounter with the remnants of Zathroth. On one hand its is \z
						furtunate that Zathroth indeed wasn't behind all this, but on the other... what is going on there?",
					},
				},
			},
		},
		[39] = {
			name = "Dangerous Depths",
			startStorageId = Storage.Quest.U11_50.DangerousDepths.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Dwarves: Home Improvement",
					storageId = Storage.Quest.U11_50.DangerousDepths.Dwarves.Home,
					missionId = 10380,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = function(player)
							return ("Destroy makeshift homes of the Lost to force them to fight you! Try making some \z
							prisoners in the progress and report back to Klom Stonecutter.\n\nLost Exiles: %d/20\nPrisoners (bonus): \z
							%d/3"):format(math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Dwarves.LostExiles), 0), math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Dwarves.Prisoners), 0))
						end,
						[2] = "You drove off the Lost but more are sure to come. Check back with Klom Stonecutter at a later time.",
					},
				},
				[2] = {
					name = "Dwarves: Subterranean Life",
					storageId = Storage.Quest.U11_50.DangerousDepths.Dwarves.Subterranean,
					missionId = 10381,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = function(player)
							return ("Klome Stonecutter sent you on a grave mission to exterminate large populaces of \z
							subterranian life. Looks like the dwarves make short work of the deep intruders.\n\nSubterranean organisms: \z
							%d/50"):format(math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Dwarves.Organisms), 0))
						end,
						[2] = "You helped Klom defend the outpost by cutting down a number of vermin from deep down below. \z
						The gnomes don't seem to completely approve of this but everyone appreciates the drop in the enemy's ranks.",
					},
				},
				[3] = {
					name = "Gnomes: Gnomal Warming Measurements",
					storageId = Storage.Quest.U11_50.DangerousDepths.Gnomes.Measurements,
					missionId = 10382,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = function(player)
							return ("Gnomus sent you on a mission to measure the rising heat from below.\n\nLocation A: \z
							%d/1\nLocation B: %d/1\nLocation C: %d/1\nLocation D: %d/1\nLocation E: %d/1"):format(
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Gnomes.LocationA), 0),
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Gnomes.LocationB), 0),
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Gnomes.LocationC), 0),
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Gnomes.LocationD), 0),
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Gnomes.LocationE), 0)
							)
						end,
						[2] = "You helped Lardoc Bashsmite fighting back the verminous growth in the northern mineshaft. \z
						Return to him later to see if he has more work for you.",
					},
				},
				[4] = {
					name = "Gnomes: Ordnance",
					storageId = Storage.Quest.U11_50.DangerousDepths.Gnomes.Ordnance,
					missionId = 10383,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Gnomus sent you to find and rescue the gnome ordnance the outpost is currently waiting for. \z
						Travel to the east of the cave system and find the old gnome trail where reinforcements will arrive.",
						[2] = function(player)
							return ("You found the old gnome trail where ordnance for the gnome outpost arrive, escort them \z
							and their pack animals to safety and return to Gnomus.\n\nRescued gnomes: %d/5\nRescued animals: %d/3"):format(math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Gnomes.GnomesCount), 0), math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Gnomes.CrawlersCount), 0))
						end,
						[3] = "You helped Lardoc Bashsmite fighting back the verminous growth in the northern mineshaft. \z
						Return to him later to see if he has more work for you.",
					},
				},
				[5] = {
					name = "Gnomes: Uncharted Territory",
					storageId = Storage.Quest.U11_50.DangerousDepths.Gnomes.Charting,
					missionId = 10384,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = function(player)
							return ("Chart the area around the deep base for Gnomus. Look for especific landmarks: \z
							\n\nOld Gate: %d/1\nThe Gaze: %d/1\nLost Ruin: %d/1\nOutpost: %d/1\nBastion: %d/1\nBroken Tower: \z
							%d/1"):format(
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Gnomes.OldGate), 0),
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Gnomes.TheGaze), 0),
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Gnomes.LostRuin), 0),
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Gnomes.Outpost), 0),
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Gnomes.Bastion), 0),
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Gnomes.BrokenTower), 0)
							)
						end,
						[2] = "You helped Gnomus chart the area around the deep base. You found traces of what \z
						could have been an old civilisation but there's not enough left to draw any conclusion.",
					},
				},
				[6] = {
					name = "Scouts: Explosive Growth",
					storageId = Storage.Quest.U11_50.DangerousDepths.Scouts.Growth,
					missionId = 10385,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = function(player)
							return ("You found the mine shaft. Burn all the growth and report back to Lardoc Bashsmite! \z
							\n\nFirst Room: %d/1\nSecond room: %d/1\nThird room: %d/1\nFourth room: %d/1\nFifth room: %d/1"):format(
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Scouts.FirstBarrel), 0),
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Scouts.SecondBarrel), 0),
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Scouts.ThirdBarrel), 0),
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Scouts.FourthBarrel), 0),
								math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Scouts.FifthBarrel), 0)
							)
						end,
						[2] = "You helped Lardoc Bashsmite fighting back the verminous growth in the northern mineshaft. \z
						Return to him later to see if he has more work for you.",
					},
				},
				[7] = {
					name = "Scouts: Pesticide",
					storageId = Storage.Quest.U11_50.DangerousDepths.Scouts.Diremaw,
					missionId = 10386,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = function(player)
							return ("Lardoc asked you to follow a plan of the gnomes to stop the deep threat by trying to \z
							neutralise diremaw spawn with pesticies. Diremaws lay eggs inside corpses of their skin. \z
							\n\nNeutralised: %d/20"):format(math.max(player:getStorageValue(Storage.Quest.U11_50.DangerousDepths.Scouts.DiremawsCount), 0))
						end,
						[2] = "You reported back to Lardoc Bashsmite to inform him that the gnome's plan to \z
						neutralise diremaw corpses seems to work.",
					},
				},
			},
		},
		[40] = {
			name = "Adventurers Guild",
			startStorageId = Storage.Quest.U9_80.AdventurersGuild.QuestLine,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "The Great Dragon Hunt",
					storageId = Storage.Quest.U10_80.TheGreatDragonHunt.WarriorSkeleton,
					missionId = 10388,
					startValue = 0,
					endValue = 2,
					description = function(player)
						return ("You are exploring the Kha'zeel Dragon Lairs. Others obviously found a terrible end here. \z
						But the dragon hoards might justify the risks. You killed %d/50 dragons and dragon lords."):format(math.max(player:getStorageValue(Storage.Quest.U10_80.TheGreatDragonHunt.DragonCounter), 0))
					end,
				},
				[2] = {
					name = "The Lost Brother",
					storageId = Storage.Quest.U10_80.TheLostBrotherQuest,
					missionId = 11000,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "At the Kha'zeel Mountains you met the merchant Tarun. His brother has gone missing and was last seen following a beautiful woman into a palace. Tarun fears this woman might have been a demon.",
						[2] = "You found the remains of Tarun's brother containing a message. Go back to Tarun and report his brother's last words.",
						[3] = "You told Tarun about his brother's sad fate. He was very downhearted but gave you his sincere thanks. The beautiful asuri have taken a young man's life and the happiness of another one.",
					},
				},
			},
		},
		[41] = {
			name = "Dawnport",
			startStorageId = Storage.Quest.U10_55.Dawnport.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "In the Adventures Outpost",
					storageId = Storage.Quest.U10_55.Dawnport.GoMain,
					missionId = 10389,
					startValue = 1,
					endValue = 2,
					description = "You have reached the Outpost, where young heroes are trained in combat and hunting. \z
					When you have reached level 8 at least, you can leave for the Mainland. Talk to Inigo if you have questions.",
				},
				[2] = {
					name = "The Lost Amulet",
					storageId = Storage.Quest.U10_55.Dawnport.TheLostAmulet,
					missionId = 10390,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Mr Morris tasked you to find an ancient amulet that was lost somewhere on Dawnport - probably next to a corpse somewhere.",
						[2] = "Come back to Mr Morris.",
						[3] = "Mr Morris thanks for you the help.",
					},
				},
				[3] = {
					name = "The Stolen Log Book",
					storageId = Storage.Quest.U10_55.Dawnport.TheStolenLogBook,
					missionId = 10391,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Mr Morris urged you to find a log book that was stolen by trolls.",
						[2] = "Mr Morris thanks you for the help.",
					},
				},
				[4] = {
					name = "The Rare Herb",
					storageId = Storage.Quest.U10_55.Dawnport.TheRareHerb,
					missionId = 10392,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Mr Morris needs the rare Dawnfire herb harvested and brought to him. It grows on gray sand only, he said.",
						[2] = "Come back to Mr Morris.",
						[3] = "Mr Morris thanks you for the help.",
					},
				},
				[5] = {
					name = "The Dorm Key",
					storageId = Storage.Quest.U10_55.Dawnport.TheDormKey,
					missionId = 10393,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "The key to the adventurer's dormitory has disappeared. Maybe you can find it. Ask around to find out who was the last to have seen it.",
						[2] = "Use the fishing rod in the nearby lake to fish Old Nasty.",
						[3] = "Come back to Woblin with Old Nasty",
						[4] = "Come back to Mr Morris with Key 0010",
						[5] = "Mr Morris thanks for the help",
					},
				},
				[6] = {
					name = "Task: A Toll on Trolls",
					storageId = Storage.Quest.U10_55.Dawnport.MorrisTrollCount,
					missionId = 10394,
					startValue = 0,
					endValue = 20,
					description = function(player)
						return string.format("You already hunted %d/20 Mountain Trolls.", (math.max(player:getStorageValue(Storage.Quest.U10_55.Dawnport.MorrisTrollCount), 0)))
					end,
				},
				[7] = {
					name = "Task: The Goblin Slayer",
					storageId = Storage.Quest.U10_55.Dawnport.MorrisGoblinCount,
					missionId = 10395,
					startValue = 0,
					endValue = 20,
					description = function(player)
						return string.format("You already hunted %d/20 Muglex Clan Footman.", (math.max(player:getStorageValue(Storage.Quest.U10_55.Dawnport.MorrisGoblinCount), 0)))
					end,
				},
				[8] = {
					name = "Task: Plus Minos a Few",
					storageId = Storage.Quest.U10_55.Dawnport.MorrisMinosCount,
					missionId = 10396,
					startValue = 0,
					endValue = 20,
					description = function(player)
						return string.format("You already hunted %d/20 Minotaurs Bruisers.", (math.max(player:getStorageValue(Storage.Quest.U10_55.Dawnport.MorrisMinosCount), 0)))
					end,
				},
			},
		},
		[42] = {
			name = "The Rookie Guard",
			startStorageId = Storage.Quest.U9_1.TheRookieGuard.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Mission 01: A Taste of Things to Come",
					storageId = Storage.Quest.U9_1.TheRookieGuard.Mission01,
					missionId = 10397,
					startValue = 1,
					endValue = 1,
					states = {
						[1] = "",
					},
				},
				[2] = {
					name = "Mission 02: Defence!",
					storageId = Storage.Quest.U9_1.TheRookieGuard.Mission02,
					missionId = 10398,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Vascalir promised you some equipment, but first you need to build up some muscles. Find a big pile of stone in a barn to the north and use it to get a heavy stone.",
						[2] = "You retrieved one stone from the big pile. Climb onto the roof of either Norma's bar, Obi's shop or the academy to find a catapult to use it on.",
						[3] = "You loaded a stone on one of the catapults. One more to go! Climb onto the roof of either Norma's bar, Obi's shop or the academy to find a catapult to load with a heavy stone.",
						[4] = "Two of the four catapults on the roofs are loaded. That should be enough to build up a decent defence. Return to Vascalir to turn in your quest.",
						[5] = "You made sure that Rookgaard's defences are at their best. If the orcs try to enter the village, they won't have an easy time!",
					},
				},
				[3] = {
					name = "Mission 03: A Rational Request",
					storageId = Storage.Quest.U9_1.TheRookieGuard.RatKills,
					missionId = 10399,
					startValue = 0,
					endValue = 5,
					description = function(player)
						return string.format(
							"Vascalir sent you to the Rookgaard sewers to kill 5 rats. You have already killed %d/5. \z
						Return to Vascalir once you're done.",
							(math.max(player:getStorageValue(Storage.Quest.U9_1.TheRookieGuard.RatKills), 0))
						)
					end,
				},
				[4] = {
					name = "Mission 04: Home-Brewed",
					storageId = Storage.Quest.U9_1.TheRookieGuard.Mission04,
					missionId = 10400,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "Vascalir doesn't have a job for you at the moment. He sent you to Lily in the south-west of town for another mission.",
						[2] = "Lily gave you a bag with fresh herbs that need to be delivered to Hyacinth outside of the village. Leave the village to the north and walk east to find his little hut up a mountain.",
						[3] = "You've delivered the fresh herbs to Hyacinth. He still has a reward for you though - make sure to talk to him again!",
						[4] = "Hyacinth has another reward for you - make sure to talk to him again with enough space in your inventory.",
						[5] = "You've delivered the herbs to Hyacinth and got potions and a ring as reward. Save the potions for when you're low on health and wear the ring if you want to regain health faster. Return to Vascalir.",
						[6] = "You've told Vascalir about your successful delivery. The next mission awaits.",
					},
				},
				[5] = {
					name = "Mission 05: Web of Terror",
					storageId = Storage.Quest.U9_1.TheRookieGuard.Mission05,
					missionId = 10401,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = "Vascalir sent you to the spider queen's lair to retrieve a web sample. Leave the village to the north and cross the bridge to the north-west to find the lair. Look for greasy blue stones.",
						[2] = "You've covered yourself in grease. It's a bit disgusting, but the spider queen will not be able to smell you for about two minutes. Enter her cave and USE an intact spider web to retrieve a sample.",
						[3] = "You retrieved some of the spider queen's web. Return to Vascalir and try not to get caught by the queen on the way out!",
						[4] = "The spider queen caught you in her net. If you had a sample of her web, you've lost it. Find a way out of her net and retry!",
						[5] = "Vascalir took the sample from you. He still has a studded armor for you - talk to him once you have enough space in your inventory.",
						[6] = "You've brought the spider queen's web back to Vascalir. This will definitely come in handy later on.",
					},
				},
				[6] = {
					name = "Mission 06: Run Like a Wolf",
					storageId = Storage.Quest.U9_1.TheRookieGuard.Mission06,
					missionId = 10402,
					startValue = 1,
					endValue = 7,
					states = {
						[1] = "Vascalir sent you to Tom the Tanner, who can be found to the west of the academy. There you will get your next mission.",
						[2] = "Leave the village to the north and walk north-east into the forest to find the wolves' den that Tom told you about. Hopefully you will find that poacher to take some leather from him!",
						[3] = "You've entered the wolves' den - that was a one-way fall, but luckily you didn't get hurt. The poacher you were looking for is dead - but that doesn't mean you can't get some war wolf leather!",
						[4] = "You've skinned a war wolf - but you alerted the wolf pack! Run to the exit, quickly!",
						[5] = "RUN! You have only a limited time to reach the exit with the war wolf leather!",
						[6] = "Phew - you managed to get out of the wolves' den in time. Return to Tom to finish your mission.",
						[7] = "Tom gave you a pair of leather boots as reward for your good work. Vascalir surely has a new mission for you now.",
					},
				},
				[7] = {
					name = "Mission 07: Attack!",
					storageId = Storage.Quest.U9_1.TheRookieGuard.Mission07,
					missionId = 10403,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "While you were gone, trolls have infiltrated the academy and set it on fire! Enter the burning vault deep underground and try to recover the copy of the book of orc language before it's destroyed.",
						[2] = "You've done all you could - but unfortunately the book is lost. No need to lose heart though - there is still hidden knowledge about the orc language in the village, and the next mission awaits.",
					},
				},
				[8] = {
					name = "Mission 08: Less Risk - More Fun",
					storageId = Storage.Quest.U9_1.TheRookieGuard.Mission08,
					missionId = 10404,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Before getting revenge on the trolls, eliminate the risk of losing money on the way. Paulie has an interesting bonus offer for you if you deposit your money at the bank. Find him below the academy.",
						[2] = "You've done as Vascalir asked and talked to Paulie. Remember to always leave your gold on your account! That way there's no risk of losing it.",
					},
				},
				[9] = {
					name = "Mission 09: Rock 'n Troll",
					storageId = Storage.Quest.U9_1.TheRookieGuard.Mission09,
					missionId = 10405,
					startValue = 1,
					endValue = 10,
					states = {
						[1] = "Enter the troll lair to the north of the village and find the new tunnel which the trolls dug and used to infiltrate the Rookgaard academy. There, you need to find a way to destroy it.",
						[2] = "Open the chests in the tunnel and use the pick on the 5 beams to weaken the structure and make the tunnel collapse.",
						[3] = "You've weakened one of five beams.",
						[4] = "You've weakened two of five beams.",
						[5] = "You've weakened tree of five beams.",
						[6] = "You've weakened four of five beams.",
						[7] = "You've weakened all the beams! Hurry out of the tunnel before it collapses!",
						[8] = "The tunnel collapsed behind you. Time to return to Vascalir.",
						[9] = "Vascalir rewarded you with experience, but there's still something he has to give you. You should talk to him again.",
						[10] = "The trolls will not be able to enter the academy via their tunnel again. The village is safe for now - at least from trolls.",
					},
				},
				[10] = {
					name = "Mission 10: Tomb Raiding",
					storageId = Storage.Quest.U9_1.TheRookieGuard.Mission10,
					missionId = 10406,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Leave the village to the north and walk south-east to find the haunted graveyard. Descend into the crypt and find a sarcophagus that might still contain a fleshy bone. Bring it to Vascalir.",
						[2] = "You've brought the fleshy bone back to Vascalir. Talk to him again to receive your reward.",
						[3] = "You managed to get a fleshy bone from the crypt! Who knows what Vascalir plans with it - but this is going to be good.",
					},
				},
				[11] = {
					name = "Mission 11: Sweet Poison",
					storageId = Storage.Quest.U9_1.TheRookieGuard.Mission11,
					missionId = 10407,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Leave the village to the north and cross the bridge to the west, then walk south-west to find a wasp lair. Make sure you don't lose the flask Vascalir gave you.",
						[2] = "You've found the wasp lair. Kill one wasp and use the empty flask on its dead body to retrieve some of its poison.",
						[3] = "You've retrieved some lethal wasp poison. Bring it back to Vascalir to complete the mission.",
						[4] = "You brought Vascalir the highly toxic poison. You should talk to him again to receive your reward.",
						[5] = "You've retrieved highly toxic wasp poison for Vascalir. It's time for your final challenge.",
					},
				},
				[12] = {
					name = "Mission 12: Into The Fortress",
					storageId = Storage.Quest.U9_1.TheRookieGuard.Mission12,
					missionId = 10408,
					startValue = 1,
					endValue = 15,
					states = {
						[1] = "This is it - the infiltration of the orc fortress and revenge on Kraknaknork awaits. Get the required items from a chest in the academy near the bank.",
						[2] = "You've got all items you need to finally kill Kraknaknork. Don't lose them, and carefully make your way towards the orc fortress located in the far west of Rookgaard. Leave the village to the north.",
						[3] = "You've knocked out the unsuspecting orc. USE the orc before it wakes up again to disguise yourself as an orc!",
						[4] = "Even your mom wouldn't recognise you. You might not be able to fool all orcs in your disguise, but it should be enough to walk past the orc guarding the entrance.",
						[5] = "You managed to sneak into the fortress. Use the fleshy bone and click on the elite orc guard with the crosshairs to create a distraction!",
						[6] = "The guard is indeed very distracted - he smells delicious. At least to the wild dogs that entered the scene. This is the perfect time to enter the lower levels of the orc fortress.",
						[7] = "You're inside the orc fortress! Now you need to find a kitchen and something that looks like a soup cauldron. Use the wasp poison on the cauldron to create an evil surprise for Kraknaknork.",
						[8] = "You \"spiced up\" Kraknaknork's breakfast. Let's see how strong he still is after his meal. Proceed further into the fortress - and keep your tarantula trap ready.",
						[9] = "You managed to slow down the furious orc berserker. Now, run through the teleporter while he isn't close to it!",
						[10] = "You've entered Kraknaknork's room. Find a way to get rid of the energy barriers.",
						[11] = "You solved the riddle of the energy barriers. The way to the throne room should be clear - for a short time. Be prepared for a massive fight!",
						[12] = "You've entered Kraknaknork's throne room. Fight him! You can back out at any time via the teleporter, but you'll have to start the battle over. Once he is dead, enter the teleporter near his throne.",
						[13] = "You've vanquished Kraknaknork and found his treasure room. You can probably take a few things from there before you leave - he wouldn't care anymore.",
						[14] = "With the last bit of Kraknaknork's energy, you were teleported out of the fortress. Time to return to Vascalir victoriously.",
						[15] = "You've vanquished Kraknaknork and brought peace to the village of Rookgaard. It will soon be time for you to leave for the Isle of Destiny, choose a vocation and enter the open world of Tibia.",
					},
				},
			},
		},
		[43] = {
			name = "The New Frontier",
			startStorageId = Storage.Quest.U8_54.TheNewFrontier.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Mission 01: New Land",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission01,
					missionId = 10409,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Explore the new land and reach the bottom of the mountain.",
						[2] = "You have found a passage from the mountains. You can report back to Ongulf.",
						[3] = "You have reported the scouted route to Ongulf.",
					},
				},
				[2] = {
					name = "Mission 02: From Kazordoon With Love",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission02[1],
					missionId = 10410,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Find Melfar of the imperial mining guild close to a mine entrance west of Kazordoon. \z
						Ask him to send more miners and wood.",
						[2] = "Prepare the three trees which Melfar marked on your map with the beaver bait. \z
						Once you've marked all three return to Melfar and tell him about your success.",
						[3] = "Melfar has finally promised to send more miners and wood. Report this to Ongulf in Farmine.",
						[4] = "You have reported that Melfar will send more miners and wood for Farmine.",
					},
				},
				[3] = {
					name = "Mission 03: Strangers in the Night",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission03,
					missionId = 10411,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Find the unknown stalkers somewhere in the mountains. They apparently climbed up \z
						somewhere during their escape. Try to negotiate a peaceful agreement if possible.",
						[2] = "You have talked to the leader of the primitive humans and have assured their peacefulness. \z
						Report this to Ongulf back in the base.",
						[3] = "You have negotiated a peacful agreement between the dwarfs and the local primitives.",
					},
				},
				[4] = {
					name = "Mission 04: The Mine Is Mine",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission04,
					missionId = 10412,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Free the mine of the monstrous threat. Use a lift to reach the mines and look for a leader \z
						of the stone creatures. Slay this creature and report back to Ongulf.",
						[2] = "You have slain the monster that terrorised the mines.",
					},
				},
				[5] = {
					name = "Mission 05: Getting Things Busy",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission05[1],
					missionId = 10413,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = 'Try getting the support of the people mentioned. Talk to them about "farmine", then \z
							choose the "flatter", "threaten", "impress", "bluff", "reason" or "plea" and report \z
							any progress to Ongulf.',
						[2] = "You have gained the necessary support for Farmine.",
					},
				},
				[6] = {
					name = "Mission 5: Support of Kazordoon's Worm Tamer",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission05.Humgolf,
					missionId = 10414,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Talk to the worm tamer in Kazordoon.",
						[2] = "Find an item that interests Humgolf to get another chance.",
					},
				},
				[7] = {
					name = "Mission 5: Support of the Edron Academy",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission05.Wyrdin,
					missionId = 10415,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Talk to the magician Wyrdin in the Edron Academy.",
						[2] = "Find an item that interests Wyrdin to get another chance.",
					},
				},
				[8] = {
					name = "Mission 5: Support of the Explorer Society",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission05.Angus,
					missionId = 10416,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Talk to the representative of the Explorer Society in Port Hope.",
						[2] = "Find an item that interests Angus to get another chance.",
					},
				},
				[9] = {
					name = "Mission 5: Support of the Inventor Telas",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission05.Telas,
					missionId = 10417,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Talk to the inventor Telas in Edron.",
						[2] = "Find an item that interests Telas to get another chance.",
					},
				},
				[10] = {
					name = "Mission 5: Support of the Thaian King",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission05.KingTibianus,
					missionId = 10418,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Talk to King Tibianus in the Thaian Castle.",
						[2] = "Find an item that interests King Tibianus to get another chance.",
					},
				},
				[11] = {
					name = "Mission 5: Support of the Venorean Traders",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission05.Leeland,
					missionId = 10419,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Talk to Leeland Slim, the representative of the Venorean Traders.",
						[2] = "Find an item that interests Leeland Slim to get another chance.",
					},
				},
				[12] = {
					name = "Mission 06: Days Of Doom",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission06,
					missionId = 10420,
					startValue = 1,
					endValue = 5,
					states = {
						[1] = "Try to pacify the orcs of the steppe. It is probably necessary to find some leader of the orcish tribes.",
						[2] = "You have talked to the minotaur leaders of the orcs. They agreed to spare Farmine if you \z
						prove your worth in their arena. You will have to survive against Mooh'Tah master for 2 minutes, so prepare!",
						[3] = "You have survived the arena. Talk to Curos again about your mission.",
						[4] = "Your negotiations had moderate success. Your can report back to Ongulf.",
						[5] = "You have ensured a brittle peace between Farmine and the orcs.",
					},
				},
				[13] = {
					name = "Mission 07: Messengers Of Peace",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission07[1],
					missionId = 10421,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find a lizardman somewhere in the north and try to start a negotiation of peace.",
						[2] = "It seems that the lizardmen are not interested in peace and you will have to focus \z
						on other problems at hand.",
					},
				},
				[14] = {
					name = "Mission 08: An Offer You Can't Refuse",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission08,
					missionId = 10422,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Captured by lizardmen trap you have to find a way out of the prison. Perhaps \z
						something in your cell might lead you to an opportunity for freedom.",
						[2] = "You managed to find a way of the captivity of the lizardmen - but for a price.",
					},
				},
				[15] = {
					name = "Mission 09: Mortal Combat",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission09[1],
					missionId = 10423,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "You are expected to participate in the great tournament of the lizard race. \z
						Travel to the Isle of Strife and brave the challenges there.",
						[2] = "You are the champion of the great tournament! Still the lizardmen are a menace to \z
						behold. You should report to Chrak before you leave the isle.",
						[3] = "You have reported your latest doings to Chrak. It seems you bought the dwarfs some \z
						time of peace. Only the dragon kings may know how long though.",
					},
				},
				[16] = {
					name = "Mission 10: New Horizons",
					storageId = Storage.Quest.U8_54.TheNewFrontier.Mission10[1],
					missionId = 10424,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Ongulf will be anxious to learn about your latest adventures. Travel back to Farmine \z
						for a final report.",
						[2] = "Ongulf got very satisfied with your journey, this land is yours to be taken. You can \z
						find now on top of the mountain a red carpet, it might offer you access to some cities.", -- This last questlog message is not accurate, need to update.
					},
				},
				[17] = {
					name = "Tome of Knowledge Counter",
					storageId = Storage.Quest.U8_54.TheNewFrontier.TomeofKnowledge,
					missionId = 10425,
					startValue = 1,
					endValue = 12,
					states = {
						[1] = "You brought the fist Tome of Knowledge to Cael. He learnt more about the lizard culture. \z
						Pompan will sell you dragon tapestries from now on.",
						[2] = "You brought the second Tome of Knowledge to Cael. He learnt more about the minotaur culture. \z
						Pompan will sell you minotaur backpacks from now on.",
						[3] = "You brought the third Tome of Knowledge to Cael. \z
						He learnt more about the last stand of the draken culture. Esrik will sell you lizard weapon rack from now on.",
						[4] = "You brought the fourth Tome of Knowledge to Cael. \z
						He learnt something interesting about a certain food that the lizardmen apparently prepare. \z
						Swolt will trade you a bunch of ripe rice for 10 rice balls from now on.",
						[5] = "You brought the fifth Tome of Knowledge to Cael. \z
						He learnt more about the last stand of the lizards in the South, Zzaion. \z
						Pompan will sell you lizard backpacks from now on.",
						[6] = "You brought the sixth Tome of Knowledge to Cael. \z
						He learnt a few things about the primitive human culture on this continent. \z
						Cael will sell you War Drums and Didgeridoo from now on.",
						[7] = "You brought the seventh Tome of Knowledge to Cael. \z
						He learnt something interesting about the Zao steppe. \z
						Now you to use the snake teleport at the peak of the mountain.",
						[8] = "You brought the eighth Tome of Knowledge to Cael. \z
						He learnt a few things about an illness. \z
						Now you can enter a corruption hole in the north-eastern end of Zao.",
						[9] = "You brought the ninth Tome of Knowledge to Cael. \z
						He learnt something interesting about the Draken origin. \z
						Esrik will buy lizard equipment from you now.",
						[10] = "You brought the tenth Tome of Knowledge to Cael. \z
						He learnt more about the last stand of the lizard dynasty. \z
						Now you can enter the Zao Palace. It is situated deep underground, below the mountain base of the Lizards.",
						[11] = "You brought the eleventh Tome of Knowledge to Cael. \z
						He learnt something interesting about dragons and their symbolism. \z
						You can buy a Dragon Statue from NPC Cael after you bring him a Red Lantern.",
						[12] = "You brought the twelfth Tome of Knowledge to Cael. \z
						He learnt something about reveals some of the power structures in Zao. \z
						Cael will now make a Dragon Throne for you after you bring him a Red Piece of Cloth. \z
						He will reward you with 5000 experience points for each extra tome you give to him.",
					},
				},
			},
		},
		[44] = {
			name = "Spirithunters Quest",
			startStorageId = Storage.Quest.U8_7.SpiritHunters.Mission01,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Method",
					storageId = Storage.Quest.U8_7.SpiritHunters.Mission01,
					missionId = 10426,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Use the item on the tombstones.",
						[2] = "You have used these item in the tombstones.",
					},
				},
				[2] = {
					name = "First Mission",
					storageId = Storage.Quest.U8_7.SpiritHunters.Mission01,
					missionId = 10427,
					startValue = 2,
					endValue = 4,
					states = {
						[3] = "Talk to Sinclair and take the ghost residue.",
						[4] = "You got the ghost waste.",
					},
				},
				[3] = {
					name = "Second Mission",
					storageId = Storage.Quest.U8_7.SpiritHunters.Mission01,
					missionId = 10428,
					startValue = 4,
					endValue = 6,
					states = {
						[5] = "You need to get more samples of ghosts.",
						[6] = "You got all the ghost scraps.",
					},
				},
			},
		},
		[45] = {
			name = "Threatened Dreams",
			startStorageId = Storage.Quest.U11_40.ThreatenedDreams.QuestLine,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Troubled Animals",
					storageId = Storage.Quest.U11_40.ThreatenedDreams.Mission01[1],
					missionId = 10429,
					startValue = 1,
					endValue = 16,
					states = {
						[1] = "You met the talking white deer Alkestios. It turned out he is actually a fae - and needs help. Search \z
						out a poacher camp noth of the Green Claw Swamps and keep the poachers from hunting white deers.",
						[2] = "You found a book with legends in the poacher camp. You asked Ahmed to add a story about how it brings \z
						ill luck to kill a white deer, hopefully the poachers will desist from hunting Alkestios.",
						[3] = "You returned to the poacher camp and placed the faked book noticeably on a table. You're quite sure the \z
						poachers will discover it soon and desist from hunting Alkestios.",
						[4] = "Alkestios asked you for help on another issue. There seemms to be a problem with a wolf mother and her \z
						whelps. Find the snake Ikassis in the north-west of Edron and talk to her, she knows more.",
						[5] = "The snake Ikassis asked you to find a female wolf in the south of Cormaya. The animal is in need of \z
						help, yet Ikassis didn't know any details.",
						[6] = "You found the ghostly wolf and promised to search for her lost whelps. The wolf told you to start \z
						your search at Ulderek's Rock",
						[7] = "At Ulderek's Rock you found a sleeping war wolf. It might actually be the now grown up whelp you were \z
						looking for. The skeleton nearby implies that the hunter didn't survive his misdeed.",
						[8] = "You talked to Irmana in Venore and she gave you the fur of one of the wolf whelps you're searching for. \z
						You should talk to their mother's ghost.",
						[9] = "As the ghostly wolf asked you, you placed the whelp fur in the mouth of a nearby stone, that is shaped \z
						like a big face.",
						[10] = "You redeemed the ghostly wolf. You should return to Ikassis and tell her about it.",
						[11] = "Ikassis was happy to hear that you redeemed the ghostly wolf. But she asked you to help someone else: \z
						one of her sisters. You can find her in the guise of swan at a river sourth-east of Ikassis.",
						[12] = "You met a swan that in truth is a swan maiden, a kind of fae. These fae have magical cloaks that allow \z
						them to shape change between swan and girl. Find this maiden's cloak that was stolen by a troll.",
						[13] = "The troll Grarkharok sold the cloak to Tereban and he lost it during a flight with magic carpet. The \z
						cloak's feathers are now scattered along the carpet's beeline between Edron and Darashia.",
						[14] = "You found many swan feathers on Edron and in Darama desert. Now you should have enough for an entire \z
						cloak. You should talk to the swan maiden.",
						[15] = "You found enough magical swan feathers. The swan maiden will now be able to restore her cloak. You \z
						should talk to Alkestios again.",
						[16] = "Alkestios was very happy about your support. You earned the Fae's trust and may now enter their secret \z
						realm. Search for an elemental shrine of ice, fire, earth or energy to reach Feyrist.",
					},
				},
				[2] = {
					name = "Nightmare Intruders",
					storageId = Storage.Quest.U11_40.ThreatenedDreams.Mission02[1],
					missionId = 10430,
					startValue = 1,
					endValue = 8,
					states = {
						[1] = function(player)
							return string.format(
								"The fae queen asked for your help: Feyrist is threatened by intruders from Roshamuul. Kill 200 nightmare \z
								monsters and Kroazur. - You killed %d weakened frazzlemaws and %d efeebled silencers.",
								(math.max(player:getStorageValue(Storage.Quest.U11_40.ThreatenedDreams.Mission02.FrazzlemawsCount), 0)),
								(math.max(player:getStorageValue(Storage.Quest.U11_40.ThreatenedDreams.Mission02.EnfeebledCount), 0))
							)
						end,
						[2] = "You killed 200 of the nightmare monsters that are invading Feyrist. Maelyrra was very happy but it seems \z
						she still has other problems. She may need your help once more.",
						[3] = "Maelyrra asked you to retrieve an artefact for her: the moon mirror. It was stolen by the tainted fae \z
						who inhabit the caves underneath Feyrist. She also asked you to free some captured fairies.",
						[4] = "You found the moon mirror and freed the captured fairies. Maelyrra was very happy but it seems she \z
						has another problem. Perhaps you should offer your assistance once more.",
						[5] = "The barrier that protects Feyrist from the outside world is weakened. To strengthen it again you \z
						need to find the starlight vial and the sun catcher. Ask Aurita and Taegen for these items.",
						[6] = "Gather sunlight, starlight and moon rays. You have to do this with the sun catcher on the beach, with \z
						the starlight vial high in the mountains and with the moon mirror on a glade in the forest.",
						[7] = "You may now repair the barrier. Charge the five moon sculptures of Feyrist with moon rays, the five \z
						dreambird trees with starlight and the five sun mosics with sunlight.",
						[8] = "You repaired tha magical barrier that protects Feyrist from the outside world. The fae's secret realm \z
						is safe again.",
					},
				},
				[3] = {
					name = "An Unlikely Couple",
					storageId = Storage.Quest.U11_40.ThreatenedDreams.Mission03[1],
					missionId = 10431,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Help Aurita and Taegen and find a spell to transform Aurita's fishtail into legs temporarily. A \z
						fairy in a small fae village in the southwest of Feyrist might know more.",
						[2] = "You have succesfully created the magical music notes for the mermaid Aurita. Talk to the faun \z
						Taegen, he also needs your help.",
						[3] = "The faun Taegen wants to spend some time with his lover, the mermaid Aurita. He wants to visit her \z
						home and thus must be able to breath under water. Therefore he needs the rare raven herb.",
						[4] = "You found the rare raven herb and gave it to Taegen. Now he will create a sun catcher for you. \z
						You may also ask Aurita for the starlight vial now.",
					},
				},
			},
		},
		[46] = {
			name = "Blood Brothers",
			startStorageId = Storage.Quest.U8_4.BloodBrothers.QuestLine,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Mission 01: Gaining Trust",
					storageId = Storage.Quest.U8_4.BloodBrothers.Mission01,
					missionId = 10433,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Think of a way to earn Julius' trust and prove that you are not a vampire. Once you thought of something, talk to him again about your mission.",
						[2] = "",
						[3] = "",
						[4] = "You have Julius' trust.",
					},
				},
				[2] = {
					name = "Mission 02: Bad Eggs",
					storageId = Storage.Quest.U8_4.BloodBrothers.Mission02,
					missionId = 10434,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Bake garlic cookies by using the garlic dough on a baking tray before you put it on the oven. Hand out cookies to the citizens and watch their reactions. Report any suspicious people to Julius.",
						[2] = "You have reported five suspects - probably vamires - to Julius.",
					},
				},
				[3] = {
					name = "Mission 03: His True Face",
					storageId = Storage.Quest.U8_4.BloodBrothers.Mission03,
					missionId = 10435,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Use the magic words 'alori mort' in front of the suspicious citizens you discovered to hopefully reveal who among them is their leader.",
						[2] = "",
						[3] = "You reported the incident with Armenius to Julius.",
					},
				},
				[4] = {
					name = "Mission 04: The Dark Lands",
					storageId = Storage.Quest.U8_4.BloodBrothers.Mission04,
					missionId = 10436,
					startValue = 1,
					endValue = 1,
					states = {
						[1] = "Your task is to find someone to bring you to Vengoth. Explore the island and use Julius' map whenever you find an unusual spot to mark it. Mark at least 5 spots including the castle and report back.",
					},
				},
			},
		},
		[47] = {
			name = "Grave Danger",
			startStorageId = Storage.Quest.U12_20.GraveDanger.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "* Grave Danger - The Lich Knights",
					storageId = Storage.Quest.U12_20.GraveDanger.Questline,
					missionId = 10437,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = function(player)
							return string.format(
								"Prevent the raising of twelve lich knights. Sanctify the graves yet untouched and destroy any lich knights that might have been raised. Graves exlored: %d/12",
								player:getStorageValue(Storage.Quest.U12_20.GraveDanger.Graves.Edron)
									+ player:getStorageValue(Storage.Quest.U12_20.GraveDanger.Graves.DarkCathedral)
									+ player:getStorageValue(Storage.Quest.U12_20.GraveDanger.Graves.Ghostlands)
									+ player:getStorageValue(Storage.Quest.U12_20.GraveDanger.Graves.Cormaya)
									+ player:getStorageValue(Storage.Quest.U12_20.GraveDanger.Graves.FemorHills)
									+ player:getStorageValue(Storage.Quest.U12_20.GraveDanger.Graves.Ankrahmun)
									+ player:getStorageValue(Storage.Quest.U12_20.GraveDanger.Graves.Kilmaresh)
									+ player:getStorageValue(Storage.Quest.U12_20.GraveDanger.Graves.Vengoth)
									+ player:getStorageValue(Storage.Quest.U12_20.GraveDanger.Graves.Darashia)
									+ player:getStorageValue(Storage.Quest.U12_20.GraveDanger.Graves.Thais)
									+ player:getStorageValue(Storage.Quest.U12_20.GraveDanger.Graves.Orclands)
									+ player:getStorageValue(Storage.Quest.U12_20.GraveDanger.Graves.IceIslands)
									- 12
							)
						end,
					},
				},
				[2] = {
					name = "01 The grave in Edron",
					storageId = Storage.Quest.U12_20.GraveDanger.Graves.Edron,
					missionId = 10438,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the grave in Edron's north.",
						[2] = "The Edron grave was visited.",
					},
				},
				[3] = {
					name = "02 The grave in the dark cathedral",
					storageId = Storage.Quest.U12_20.GraveDanger.Graves.DarkCathedral,
					missionId = 10439,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the grave in the dark cathedral.",
						[2] = "The grave in the dark cathedral was visited.",
					},
				},
				[4] = {
					name = "03 The grave in Ghostlands",
					storageId = Storage.Quest.U12_20.GraveDanger.Graves.Ghostlands,
					missionId = 10440,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the grave in the ghostlands.",
						[2] = "The grave in the Ghostlands was visited.",
					},
				},
				[5] = {
					name = "04 The grave in Cormaya",
					storageId = Storage.Quest.U12_20.GraveDanger.Graves.Cormaya,
					missionId = 10441,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the grave in Cormaya.",
						[2] = "The grave in Cormaya was visited.",
					},
				},
				[6] = {
					name = "05 The grave in the Femor Hills",
					storageId = Storage.Quest.U12_20.GraveDanger.Graves.FemorHills,
					missionId = 10442,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the grave in the Femor Hills.",
						[2] = "The grave in the Femor Hills was visited.",
					},
				},
				[7] = {
					name = "06 The grave on an isle NE of Ankrahmun",
					storageId = Storage.Quest.U12_20.GraveDanger.Graves.Ankrahmun,
					missionId = 10443,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the grave on an isle north-east of Ankrahmun.",
						[2] = "The grave on an isle north-east of Ankrahmun was visited.",
					},
				},
				[8] = {
					name = "07 The grave in Kilmaresh",
					storageId = Storage.Quest.U12_20.GraveDanger.Graves.Kilmaresh,
					missionId = 10444,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the grave in Kilmaresh.",
						[2] = "The grave in Kilmaresh was visited.",
					},
				},
				[9] = {
					name = "08 The grave in Vengoth",
					storageId = Storage.Quest.U12_20.GraveDanger.Graves.Vengoth,
					missionId = 10445,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the grave in Vengoth.", --
						[2] = "The grave in Vengoth was visited.",
					},
				},
				[10] = {
					name = "09 The grave in Darashia",
					storageId = Storage.Quest.U12_20.GraveDanger.Graves.Darashia,
					missionId = 10446,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the grave in Darashia.", --
						[2] = "The grave in Darashia was visited.",
					},
				},
				[11] = {
					name = "10 The grave in the old Thais temple",
					storageId = Storage.Quest.U12_20.GraveDanger.Graves.Thais,
					missionId = 10447,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the grave in the old Thais temple.", --
						[2] = "The grave in the old temple of Thais has been visited.",
					},
				},
				[12] = {
					name = "11 The grave at the orclands entrance",
					storageId = Storage.Quest.U12_20.GraveDanger.Graves.Orclands,
					missionId = 10448,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the grave at the orclands entrance.", --
						[2] = "The grave at the orcland entrance was visited.",
					},
				},
				[13] = {
					name = "12 The grave on the southern ice islands",
					storageId = Storage.Quest.U12_20.GraveDanger.Graves.IceIslands,
					missionId = 10449,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "Find the grave on the southern ice islands.", --
						[2] = "The grave on the southern ice islands was visited.",
					},
				},
				[14] = {
					name = "The Order of the Cobra",
					storageId = Storage.Quest.U12_20.GraveDanger.Cobra,
					missionId = 10450,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = "", --
						[2] = "Scarlett Etzel once stood proud and righteous. The assassins she rallied around her under the Order of the Cobra, however, where of ill repute and had to be vanquished. And so did she, you prevailed.",
					},
				},
			},
		},
		[48] = {
			name = "The Outlaw Camp",
			startStorageId = Storage.Quest.U6_4.OutlawCampQuest,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "Outlaw Treasure",
					storageId = Storage.Quest.U6_4.OutlawCampQuest,
					missionId = 10451,
					startValue = 1,
					endValue = 1,
					description = "You made your way through the Outlaw Camp and found the hidden treasure of the bandits.",
				},
			},
		},
		[49] = {
			name = "The Secret Library",
			startStorageId = Storage.Quest.U11_80.TheSecretLibrary.Questlog,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "High and Dry",
					storageId = Storage.Quest.U11_80.TheSecretLibrary.SmallIslands.Questline,
					missionId = 10451,
					startValue = 1,
					endValue = 4,
					states = {
						[1] = "Dedoras asked for you to talk to Charles, he knows about a small island.",
						[2] = "You got stucked on this island. You must discover how to leave.",
						[3] = "You successfully built a raft and used the starts to navigate your way through the waves. At least you found something of interest on the deserted island.",
						[4] = "Congratulations you completed this mission.",
					},
				},
				[2] = {
					name = "Liquid Death",
					storageId = Storage.Quest.U11_80.TheSecretLibrary.LiquidDeath.Questline,
					missionId = 10452,
					startValue = 1,
					endValue = 8,
					states = {
						[1] = "Dedoras has sent you to Spectulus in the Edron Academy. Rumors of strange fishmen in the Tiquanda region may be connected to some of the research the scholar conducted.",
						[2] = "Spectulus asked you to check out the rumors of strange fishmen in the jungles of northern Tiquanda. A small sunken temple is said to be overrun by strange fish-like creatures.",
						[3] = "You found a sunken temple deep in the Tiquanda jungle. Spectulus will help you enter the vortex at the entrance. Find out what happened there and take care of the fish-like aggressors...",
						[4] = "Part IV",
						[5] = "Part V",
						[6] = "Part VI",
						[7] = "Brokul has been defeated and now you can talk with Spectulus or Dedoras what you found about the fishmen.",
						[8] = "Congratulations you completed this mission.",
					},
				},
				[3] = {
					name = "Asuri - The Lament",
					storageId = Storage.Quest.U11_80.TheSecretLibrary.Asuras.Questline,
					missionId = 10453,
					startValue = 1,
					endValue = 7,
					states = {
						[1] = "Go to Asuri Palace in Port Hope.",
						[2] = "You were able to assemble an instrument with the objects found. That should work for something.",
						[3] = "You must talk with the dead girl's mother, Gail, at Port Hope.",
						[4] = "With a heavy heart you used a piece of ebony as well as the skull and hair of an unfortunate maiden to create a bone fiddle. By playing the Peacock Ballad you should be able to open the viollet portal.",
						[5] = "You may enter the viollet portal. Check if there is something useful there.",
						[6] = "In a secret room of the Asura Palace you discovered an old writing desk that contains an ancient map. This must be a hint to the secret library you are searching for.",
						[7] = "Congratulations you completed this mission.",
					},
				},
				[4] = {
					name = "The Order of the Falcon",
					storageId = Storage.Quest.U11_80.TheSecretLibrary.FalconBastion.Questline,
					missionId = 10454,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "It is said that an ancient order of knights once resided in Edron. The knights disappeared a long time ago but their abandoned outpost is still there. The place may yet hold some surprises.",
						[2] = "You defeated Grand Master Oberon in mortal combat. The Falcon Order may have lost its glory a long time ago but you are just getting started.",
						[3] = "Congratulations you completed this mission.",
					},
				},
				[5] = {
					name = "The Path of Defiances",
					storageId = Storage.Quest.U11_80.TheSecretLibrary.Darashia.Questline,
					missionId = 10455,
					startValue = 1,
					endValue = 9,
					states = {
						[1] = "Go to Darashia and find out about the mysterious statue.",
						[2] = "After you have been swallowed by a sand vortex you have entered a hidden desert area. A voice of unknown origin has informed you that you will have to face some challenges.",
						[3] = "Part III",
						[4] = "Part IV",
						[5] = "Part V",
						[6] = "Part VI",
						[7] = "Part VII",
						[8] = "You have found a book page in a chest. It seems to contain very useful information, but you are not capable to read it. At this point you have to speak with an expert.",
						[9] = "Congratulations you completed this mission.",
					},
				},
				[6] = {
					name = "Bursting at the Seams",
					storageId = Storage.Quest.U11_80.TheSecretLibrary.MoTA.Questline,
					missionId = 10456,
					startValue = 1,
					endValue = 8,
					states = {
						[1] = "Dedoras told you where to search for leads to the Veiled Hoard: the museum in Thais, a fishmen temple in Tiquanda, an order fortress in Edron, the Asuri Palace and a deserted isle.",
						[2] = "You talked with Gareth and now you may pass trougth the door.",
						[3] = "Part III",
						[4] = "Part IV",
						[5] = "Part V",
						[6] = "You successfully entered the Veiled Hoard of Zathroth. However, countless secret and vast knowledge still lie ahead.",
						[7] = "You have reported Gareth about the enigmatic inscription you have found in the chamber of doom. He was able to decipher it for you and referred to Dedoras in Cormaya for further assistance.",
						[8] = "Congratulations you completed this mission.",
					},
				},
			},
		},
		[50] = {
			name = "The Dream Courts",
			startStorageId = Storage.Quest.U12_00.TheDreamCourts.Main.Questline,
			startStorageValue = 1,
			missions = {
				[1] = {
					name = "The Dream Courts",
					storageId = Storage.Quest.U12_00.TheDreamCourts.WardStones.Questline,
					missionId = 10457,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = function(player)
							return string.format("You already got %d/8 energized ward stones.", math.max(player:getStorageValue(Storage.Quest.U12_00.TheDreamCourts.WardStones.Count), 0))
						end,
						[2] = "You must kill the Nightmare Beast.",
						[3] = "By defeating the dreadful Nightmare Beast you did the Winter Court and the Summer Court alike a great favor. From now on, the dream elves will regard you as a friend.",
					},
				},
				[2] = {
					name = "Unsafe Release",
					storageId = Storage.Quest.U12_00.TheDreamCourts.UnsafeRelease.Questline,
					missionId = 10458,
					startValue = 1,
					endValue = 3,
					states = {
						[1] = "Part I",
						[2] = "Part II",
						[3] = "Andre was happy to hear that the compass works as intendend. From now on it is possible that he will charge your compass again. It can be used to give acess to mystical chests once a day.",
					},
				},
				[3] = {
					name = "Haunted House",
					storageId = Storage.Quest.U12_00.TheDreamCourts.HauntedHouse.Questline,
					missionId = 10459,
					startValue = 1,
					endValue = 6,
					states = {
						[1] = function(player)
							return string.format(
								"A tormented soul trusted you with the secret of this house: join the passages to the three dungeons it connects to reveal a hidden portal within!\n\nCellar %d/1\nTemple %d/1\nTomb %d/1",
								math.max(player:getStorageValue(Storage.Quest.U12_00.TheDreamCourts.HauntedHouse.Cellar), 0),
								math.max(player:getStorageValue(Storage.Quest.U12_00.TheDreamCourts.HauntedHouse.Temple), 0),
								math.max(player:getStorageValue(Storage.Quest.U12_00.TheDreamCourts.HauntedHouse.Tomb), 0)
							)
						end,
						[2] = "Part I - burried catedral",
						[3] = "Part II - puzzle dos livros",
						[4] = "Part III - bosses",
						[5] = "Part IV - last stone",
						[6] = "Activating the ward stone after defeating the Faceless Bane has gained you acess to the deepest mysteries of the dream courts.",
					},
				},
				[4] = {
					name = "The Seven Keys",
					storageId = Storage.Quest.U12_00.TheDreamCourts.TheSevenKeys.Questline,
					missionId = 10460,
					startValue = 1,
					endValue = 2,
					states = {
						[1] = function(player)
							return string.format("You already got %d/7 secret keys.", math.max(player:getStorageValue(Storage.Quest.U12_00.TheDreamCourts.TheSevenKeys.Count), 0))
						end,
						[2] = "You found the seven keys to unlock the Seven Dream Doors in the Labyrinth of Summer's and Winter's Dreams.",
					},
				},
			},
		},
	}
end
