rewrote unlock spell
tchests respawn on magic unlock
This commit is contained in:
parent
42529d8d04
commit
1db4682222
2 changed files with 59 additions and 62 deletions
|
|
@ -52,6 +52,23 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public override bool Locked {
|
||||
get { return m_Locked; }
|
||||
set {
|
||||
if ( m_Locked != value ) {
|
||||
m_Locked = value;
|
||||
|
||||
if ( !m_Locked )
|
||||
StartResetTimer();
|
||||
else
|
||||
m_Picker = null;
|
||||
|
||||
InvalidateProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool IsDecoContainer
|
||||
{
|
||||
get{ return false; }
|
||||
|
|
@ -191,13 +208,6 @@ namespace Server.Items
|
|||
DropItem( new Gold( MinGold, MaxGold ) );
|
||||
}
|
||||
|
||||
public override void LockPick( Mobile from )
|
||||
{
|
||||
base.LockPick( from );
|
||||
|
||||
StartResetTimer();
|
||||
}
|
||||
|
||||
public void ClearContents()
|
||||
{
|
||||
for ( int i = Items.Count - 1; i >= 0; --i )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue