Renamed ML regions to match EA.

This commit is contained in:
eos 2013-02-16 19:56:34 +00:00
parent a9e4b7e714
commit ae6ea4fc81
3 changed files with 30 additions and 13 deletions

View file

@ -20,7 +20,7 @@
<rect x="3554" y="2132" width="18" height="18" />
</region>
<!--Mondain's Legacy-->
<region type="TownRegion" priority="50" name="Heartwood">
<region type="TownRegion" priority="50" name="The Heartwood">
<rect x="6911" y="255" width="257" height="257" />
<go x="6984" y="337" z="0" />
<entrance x="535" y="995" />
@ -32,13 +32,13 @@
<music name="Dungeon9" />
<entrance x="762" y="1645" />
</region>
<region type="DungeonRegion" priority="50" name="Painted Caves">
<region type="DungeonRegion" priority="50" name="The Painted Caves">
<rect x="6240" y="850" width="75" height="70" />
<go x="6308" y="892" z="-1" />
<entrance x="1716" y="892" />
<music name="Dungeon9" />
</region>
<region type="DungeonRegion" priority="50" name="Prism of Light">
<region type="DungeonRegion" priority="50" name="The Prism of Light">
<rect x="6400" y="0" width="221" height="255" />
<go x="6474" y="188" z="0" />
<entrance x="3784" y="1097" z="14" />
@ -50,7 +50,7 @@
<entrance x="587" y="1641" z="-1" />
<music name="MelisandesLair" />
</region>
<region type="DungeonRegion" priority="50" name="Palace of Paroxysmus">
<region type="DungeonRegion" priority="50" name="The Palace of Paroxysmus">
<rect x="6191" y="311" width="370" height="360" />
<go x="6222" y="335" z="60" />
<entrance x="5574" y="3024" z="31" />
@ -764,7 +764,7 @@
<rect x="3554" y="2132" width="18" height="18" />
</region>
<!--Mondain's Legacy-->
<region type="TownRegion" priority="50" name="Heartwood">
<region type="TownRegion" priority="50" name="The Heartwood">
<rect x="6911" y="255" width="257" height="257" />
<go x="6984" y="337" z="0" />
<entrance x="535" y="995" />
@ -776,13 +776,13 @@
<entrance x="762" y="1645" />
<music name="Dungeon9" />
</region>
<region type="DungeonRegion" priority="50" name="Painted Caves">
<region type="DungeonRegion" priority="50" name="The Painted Caves">
<rect x="6240" y="850" width="75" height="70" />
<go x="6308" y="892" z="-1" />
<entrance x="1716" y="892" />
<music name="Dungeon9" />
</region>
<region type="DungeonRegion" priority="50" name="Prism of Light">
<region type="DungeonRegion" priority="50" name="The Prism of Light">
<rect x="6400" y="0" width="221" height="255" />
<go x="6474" y="188" z="0" />
<entrance x="3784" y="1097" z="14" />
@ -794,7 +794,7 @@
<entrance x="587" y="1641" z="-1" />
<music name="MelisandesLair" />
</region>
<region type="DungeonRegion" priority="50" name="Palace of Paroxysmus">
<region type="DungeonRegion" priority="50" name="The Palace of Paroxysmus">
<rect x="6191" y="311" width="370" height="360" />
<go x="6222" y="335" z="60" />
<entrance x="5574" y="3024" z="31" />
@ -2151,7 +2151,7 @@
<entrance x="2068" y="1372" z="-75" />
<music name="GrizzleDungeon" />
</region>
<region type="DungeonRegion" priority="50" name="Citadel">
<region type="DungeonRegion" priority="50" name="The Citadel">
<rect x="60" y="1855" width="135" height="135" />
<go x="106" y="1884" z="0" />
<entrance x="1349" y="769" z="14" />

View file

@ -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 )

View file

@ -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" );
}
}