#W# Initial Commit: Avatars Conquest
This commit is contained in:
commit
5df497787a
7510 changed files with 416048 additions and 0 deletions
30
Scripts/Regions/CaveRegion.cs
Normal file
30
Scripts/Regions/CaveRegion.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
using System;
|
||||
using System.Xml;
|
||||
using Server;
|
||||
using Server.Mobiles;
|
||||
using Server.Gumps;
|
||||
|
||||
namespace Server.Regions
|
||||
{
|
||||
public class CaveRegion : BaseRegion
|
||||
{
|
||||
public CaveRegion( 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;
|
||||
}
|
||||
|
||||
public override void AlterLightLevel( Mobile m, ref int global, ref int personal )
|
||||
{
|
||||
global = LightCycle.CaveLevel;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue