Renames trapable to trappable. (#4)

This commit is contained in:
Kamron Batman 2018-02-20 11:08:02 -08:00 committed by GitHub
parent bb8f09752f
commit 9a4aeaba0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 22 additions and 22 deletions

View file

@ -323,7 +323,7 @@ namespace Server.Items
}
}
public class Pouch : TrapableContainer
public class Pouch : TrappableContainer
{
[Constructable]
public Pouch() : base( 0xE79 )

View file

@ -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;

View file

@ -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;

View file

@ -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 )
{
}