Renamed ML regions to match EA.
This commit is contained in:
parent
a9e4b7e714
commit
ae6ea4fc81
3 changed files with 30 additions and 13 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
|
|
@ -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" );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue