#W# Region work continues.
This commit is contained in:
parent
428272196b
commit
cd1ade9c62
4 changed files with 77 additions and 55 deletions
|
|
@ -65,8 +65,9 @@ namespace Server.Items
|
|||
|
||||
// --- REGION SAFETY CHECK ---
|
||||
Region reg = Region.Find( savedLocation, savedMap );
|
||||
if ( reg is Server.Regions.TownRegion ||
|
||||
reg is Server.Regions.GuardedRegion ||
|
||||
if ( reg is Server.Regions.TownRegion ||
|
||||
reg is Server.Regions.GuardedRegion ||
|
||||
reg is Server.Regions.DungeonRegion ||
|
||||
reg is Server.Regions.HouseRegion )
|
||||
{
|
||||
this.Delete();
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ namespace Server.Regions
|
|||
base.OnEnter( m );
|
||||
if ( m != null && m.Player )
|
||||
{
|
||||
m.SendMessage( "You have entered the <BASEFONT COLOR='#FF0000'>{0}</BASEFONT>", this.Name);
|
||||
m.SendMessage( "You have entered <BASEFONT COLOR='#FF0000'>{0}</BASEFONT>", this.Name);
|
||||
Timer.DelayCall( TimeSpan.FromMilliseconds( 100 ), delegate()
|
||||
{
|
||||
if ( m != null && m.Alive )
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace Server.Regions
|
|||
base.OnEnter( m );
|
||||
if (m != null && m.Player )
|
||||
{
|
||||
m.SendMessage( "Welcom to <BASEFONT COLOR='#3BB143'>{0}</BASEFONT>", this.Name );
|
||||
m.SendMessage( "You have entered <BASEFONT COLOR='#3BB143'>{0}</BASEFONT>", this.Name );
|
||||
}
|
||||
}
|
||||
public override void OnExit( Mobile m )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue