#W# Commands Decorate/GenTeleporter/SignParser tweaked. Added some regions. Mount/Unmount for regions.
This commit is contained in:
parent
3045c83799
commit
8fca4205a0
110 changed files with 974 additions and 68626 deletions
28
Scripts/Regions/CaveRegion.cs
Normal file
28
Scripts/Regions/CaveRegion.cs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
using System.Xml;
|
||||
using Server;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Regions
|
||||
{
|
||||
public class CaveRegion : DungeonRegion
|
||||
{
|
||||
public CaveRegion( 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 a dark cave" );
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnExit( Mobile m )
|
||||
{
|
||||
base.OnExit( m );
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue