diff --git a/Data/Regions.xml b/Data/Regions.xml index de4dce3c1..a9064c171 100644 --- a/Data/Regions.xml +++ b/Data/Regions.xml @@ -20,7 +20,7 @@ - + @@ -32,13 +32,13 @@ - + - + @@ -50,7 +50,7 @@ - + @@ -764,7 +764,7 @@ - + @@ -776,13 +776,13 @@ - + - + @@ -794,7 +794,7 @@ - + @@ -2151,7 +2151,7 @@ - + diff --git a/Scripts/Engines/MLQuests/QuestArea.cs b/Scripts/Engines/MLQuests/QuestArea.cs index 17f36808a..1e7c277cb 100644 --- a/Scripts/Engines/MLQuests/QuestArea.cs +++ b/Scripts/Engines/MLQuests/QuestArea.cs @@ -38,6 +38,23 @@ namespace Server.Engines.MLQuests m_Name = name; m_RegionName = region; m_ForceMap = forceMap; + + if ( MLQuestSystem.Debug ) + { + bool found = false; + + foreach ( Region r in Region.Regions ) + { + if ( r.Name == region && ( forceMap == null || r.Map == forceMap ) ) + { + found = true; + break; + } + } + + if ( !found ) + Console.WriteLine( "Warning: QuestArea region '{0}' does not exist (ForceMap = {1})", region, ( forceMap == null ) ? "-null-" : forceMap.ToString() ); + } } public bool Contains( Mobile mob ) diff --git a/Scripts/Misc/MondainsLegacy.cs b/Scripts/Misc/MondainsLegacy.cs index 877ac698b..52be80cd6 100644 --- a/Scripts/Misc/MondainsLegacy.cs +++ b/Scripts/Misc/MondainsLegacy.cs @@ -74,12 +74,12 @@ namespace Server { return region.IsPartOf( "Twisted Weald" ) || region.IsPartOf( "Sanctuary" ) - || region.IsPartOf( "Prism of Light" ) - || region.IsPartOf( "Citadel" ) + || region.IsPartOf( "The Prism of Light" ) + || region.IsPartOf( "The Citadel" ) || region.IsPartOf( "Bedlam" ) || region.IsPartOf( "Blighted Grove" ) - || region.IsPartOf( "Painted Caves" ) - || region.IsPartOf( "Palace of Paroxysmus" ) + || region.IsPartOf( "The Painted Caves" ) + || region.IsPartOf( "The Palace of Paroxysmus" ) || region.IsPartOf( "Labyrinth" ); } }