#W# Added greetings to some regions.
This commit is contained in:
parent
251b8ce762
commit
7932b0b17e
5 changed files with 52 additions and 25 deletions
|
|
@ -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." );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 <BASEFONT COLOR='#FF0000'>{0}</BASEFONT>.", this.Name );
|
||||
}
|
||||
|
||||
public override void OnExit(Mobile m)
|
||||
|
|
@ -78,4 +78,4 @@ namespace Server.Regions
|
|||
return occupied;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 <BASEFONT COLOR='#FF0000'>{0}</BASEFONT>.", this.Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 <BASEFONT COLOR='#00FF00'>{0}</BASEFONT>.", this.Name );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue