25 lines
No EOL
463 B
C#
25 lines
No EOL
463 B
C#
using System;
|
|
using System.Xml;
|
|
using Server;
|
|
using Server.Mobiles;
|
|
using Server.Gumps;
|
|
|
|
namespace Server.Regions
|
|
{
|
|
public class MountlessRegion : BaseRegion
|
|
{
|
|
public MountlessRegion( XmlElement xml, Map map, Region parent ) : base( xml, map, parent )
|
|
{
|
|
}
|
|
|
|
public override bool AllowHousing( Mobile from, Point3D p )
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public override bool NoMounts( Mobile from, Point3D p )
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
} |