diff --git a/Data/Config/Regions.xml b/Data/Config/Regions.xml index 245a0e5..add26d5 100644 --- a/Data/Config/Regions.xml +++ b/Data/Config/Regions.xml @@ -496,7 +496,7 @@ - +// -------------------------------- Islands ------------------------------------------ // -------------------------------- MISC --------------------------------------------- @@ -518,49 +518,49 @@ - + - + - + - + - + - + - + - + - + - + - + - + // -------------------------------- FARMS -------------------------------------------- @@ -822,7 +822,7 @@ - + @@ -1017,7 +1017,7 @@ // *** END ************************************************************************************************************************************************************************ -// -------------------------------- DUNGEONS -------------------------------------------- +// -------------------------------- Classic DUNGEONS -------------------------------------------- @@ -1045,7 +1045,10 @@ - + + + + // -------------------------------- MAZES ----------------------------------------------- diff --git a/Data/Decoration/Britannia/Dungeon Entrances.cfg b/Data/Decoration/Britannia/Dungeon Entrances.cfg index 8cef331..130932c 100644 --- a/Data/Decoration/Britannia/Dungeon Entrances.cfg +++ b/Data/Decoration/Britannia/Dungeon Entrances.cfg @@ -10,7 +10,7 @@ Teleporter 7107 (PointDest=(115, 2407, 0); MapDest=Underworld; Creatures=False; 4193 1303 0 Teleporter 7107 (PointDest=(116, 2407, 0); MapDest=Underworld; Creatures=False; SourceEffect=False; DestEffect=False; SoundID=0; Delay=00:00:00) -4194, 1403 0 +4194 1303 0 ### Caverns of Ice Teleporter 7107 (PointDest=(302, 538, 0); MapDest=Underworld; Creatures=False; SourceEffect=False; DestEffect=False; SoundID=0; Delay=00:00:00) diff --git a/Data/Decoration/Underworld/Dungeon - Deceit.cfg b/Data/Decoration/Underworld/Dungeon - Deceit.cfg new file mode 100644 index 0000000..f191c30 --- /dev/null +++ b/Data/Decoration/Underworld/Dungeon - Deceit.cfg @@ -0,0 +1,6 @@ +#Exit +Teleporter 7107 (PointDest=(4193, 1303, 0); MapDest=Britannia; Creatures=False; SourceEffect=False; DestEffect=False; SoundID=0; Delay=00:00:00) +115 2407 0 + +Teleporter 7107 (PointDest=(4194, 1303, 0); MapDest=Britannia; Creatures=False; SourceEffect=False; DestEffect=False; SoundID=0; Delay=00:00:00) +116 2407 0 diff --git a/Scripts/Regions/BaseRegion.cs b/Scripts/Regions/BaseRegion.cs index e27d33b..bbe8fde 100644 --- a/Scripts/Regions/BaseRegion.cs +++ b/Scripts/Regions/BaseRegion.cs @@ -137,8 +137,13 @@ namespace Server.Regions } if ( m is PlayerMobile && m_MapID > 0 ) { - Server.Misc.MapFunctions.AddLocations( m, m_MapID ); - m.SendMessage( "You have discovered a new location!" ); + PlayerMobile pm = (PlayerMobile)m; + Server.Misc.MapFunctions.SetLocations( pm ); + if ( !Server.Misc.MapFunctions.HasLocation( pm, m_MapID ) ) + { + Server.Misc.MapFunctions.AddLocations( m, m_MapID ); + m.SendMessage( "You have discovered a new location!" ); + } } }