diff --git a/Data/Config/Regions.xml b/Data/Config/Regions.xml index 87397a4..9469479 100644 --- a/Data/Config/Regions.xml +++ b/Data/Config/Regions.xml @@ -2,7 +2,7 @@ // -------------------------------- TOWNS -------------------------------------------- - + @@ -16,7 +16,7 @@ - + @@ -24,23 +24,23 @@ - + - + - + - + @@ -50,7 +50,7 @@ - + @@ -58,7 +58,7 @@ - + @@ -66,22 +66,22 @@ - + - + - + - + // -------------------------------- OUTSKIRTS ---------------------------------------- @@ -437,37 +437,37 @@ // -------------------------------- GRAVEYARD ---------------------------------------- - + - + - + - + - + - + - + - + - + @@ -1025,4 +1025,4 @@ - \ No newline at end of file + diff --git a/Scripts/Regions/CaveRegion.cs b/Scripts/Regions/CaveRegion.cs index ced7603..e2b6bf3 100644 --- a/Scripts/Regions/CaveRegion.cs +++ b/Scripts/Regions/CaveRegion.cs @@ -26,5 +26,14 @@ namespace Server.Regions { global = LightCycle.CaveLevel; } + + public override void OnEnter( Mobile m ) + { + base.OnEnter( m ); + if ( m != null && m.Player ) + { + m.SendMessage( "You have entered a dark cave system." ); + } + } } -} \ No newline at end of file +} diff --git a/Scripts/Regions/DungeonRegion.cs b/Scripts/Regions/DungeonRegion.cs index 3f52926..d93e29b 100644 --- a/Scripts/Regions/DungeonRegion.cs +++ b/Scripts/Regions/DungeonRegion.cs @@ -37,7 +37,7 @@ namespace Server.Regions { base.OnEnter( m ); if ( m is PlayerMobile ) - m.SendMessage( "You have entered " + this.Name + "." ); + m.SendMessage( "You have entered the {0}.", this.Name ); } public override void OnExit(Mobile m) @@ -78,4 +78,4 @@ namespace Server.Regions return occupied; } } -} \ No newline at end of file +} diff --git a/Scripts/Regions/GraveRegion.cs b/Scripts/Regions/GraveRegion.cs index 55087ef..2c394a9 100644 --- a/Scripts/Regions/GraveRegion.cs +++ b/Scripts/Regions/GraveRegion.cs @@ -14,5 +14,14 @@ namespace Server.Regions public GraveRegion( XmlElement xml, Map map, Region parent ) : base( xml, map, parent ) { } + + public override void OnEnter( Mobile m ) + { + base.OnEnter( m ); + if ( m != null && m.Player ) + { + m.SendMessage( "You have entered the {0}.", this.Name); + } + } } } diff --git a/Scripts/Regions/TownRegion.cs b/Scripts/Regions/TownRegion.cs index e100016..f40c300 100644 --- a/Scripts/Regions/TownRegion.cs +++ b/Scripts/Regions/TownRegion.cs @@ -30,5 +30,14 @@ namespace Server.Regions { return true; } + + public override void OnEnter( Mobile m ) + { + base.OnEnter( m ); + if ( m != null && m.Player ) + { + m.SendMessage( "You have entered {0}.", this.Name ); + } + } } }