#W# Commands Decorate/GenTeleporter/SignParser tweaked. Added some regions. Mount/Unmount for regions.

This commit is contained in:
WarrentyExpired 2026-08-06 12:31:31 -04:00
parent 3045c83799
commit 8fca4205a0
110 changed files with 974 additions and 68626 deletions

View file

@ -44,5 +44,36 @@ namespace Server.Regions
return base.CanUseStuckMenu( m );
}
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);
Timer.DelayCall( TimeSpan.FromMilliseconds( 100 ), delegate()
{
if ( m != null && m.Alive )
{
Server.Commands.StableMountCommand.ForceDismountAndStore((PlayerMobile)m);
}
});
}
}
public override void OnExit( Mobile m )
{
base.OnExit( m );
if ( m != null && m.Player )
{
Timer.DelayCall( TimeSpan.FromMilliseconds( 100 ), delegate()
{
if ( m != null && m.Alive )
{
Server.Commands.RetrieveMountCommand.AutoRemountPlayer((PlayerMobile)m);
}
});
}
}
}
}
}