Renames trapable to trappable. (#4)
This commit is contained in:
parent
bb8f09752f
commit
9a4aeaba0d
12 changed files with 22 additions and 22 deletions
|
|
@ -323,7 +323,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
public class Pouch : TrapableContainer
|
||||
public class Pouch : TrappableContainer
|
||||
{
|
||||
[Constructable]
|
||||
public Pouch() : base( 0xE79 )
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Server.Items
|
|||
public virtual int MaxRespawnMinutes { get { return 90; } }
|
||||
|
||||
public virtual bool IsLockable { get { return true; } }
|
||||
public virtual bool IsTrapable { get { return IsLockable; } }
|
||||
public virtual bool IsTrappable { get { return IsLockable; } }
|
||||
|
||||
public virtual int SpawnThreshold { get { return 2; } }
|
||||
|
||||
|
|
@ -153,7 +153,7 @@ namespace Server.Items
|
|||
RequiredSkill = difficulty;
|
||||
}
|
||||
|
||||
if( IsTrapable && ( m_Content.Level > 1 || 4 > Utility.Random( 5 ) ) )
|
||||
if( IsTrappable && ( m_Content.Level > 1 || 4 > Utility.Random( 5 ) ) )
|
||||
{
|
||||
if( m_Content.Level > Utility.Random( 5 ) )
|
||||
TrapType = TrapType.PoisonTrap;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ using Server.Engines.Craft;
|
|||
|
||||
namespace Server.Items
|
||||
{
|
||||
public abstract class LockableContainer : TrapableContainer, ILockable, ILockpickable, ICraftable, IShipwreckedItem
|
||||
public abstract class LockableContainer : TrappableContainer, ILockable, ILockpickable, ICraftable, IShipwreckedItem
|
||||
{
|
||||
private bool m_Locked;
|
||||
private int m_LockLevel, m_MaxLockLevel, m_RequiredSkill;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Server.Items
|
|||
PoisonTrap
|
||||
}
|
||||
|
||||
public abstract class TrapableContainer : BaseContainer, ITelekinesisable
|
||||
public abstract class TrappableContainer : BaseContainer, ITelekinesisable
|
||||
{
|
||||
private TrapType m_TrapType;
|
||||
private int m_TrapPower;
|
||||
|
|
@ -58,11 +58,11 @@ namespace Server.Items
|
|||
|
||||
public virtual bool TrapOnOpen{ get{ return true; } }
|
||||
|
||||
public TrapableContainer( int itemID ) : base( itemID )
|
||||
public TrappableContainer( int itemID ) : base( itemID )
|
||||
{
|
||||
}
|
||||
|
||||
public TrapableContainer( Serial serial ) : base( serial )
|
||||
public TrappableContainer( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue