branch sync, Constructable can now have an accesslevel defined.
This commit is contained in:
parent
fede41b710
commit
5d78b17be1
7 changed files with 52 additions and 11 deletions
|
|
@ -3346,8 +3346,8 @@ namespace Server
|
|||
}
|
||||
|
||||
public virtual void OnAfterDuped( Item newItem )
|
||||
{
|
||||
}
|
||||
{
|
||||
}
|
||||
|
||||
public virtual bool OnDragLift( Mobile from )
|
||||
{
|
||||
|
|
@ -4289,6 +4289,11 @@ namespace Server
|
|||
((Mobile)m_Parent).OnItemUsed( from, item );
|
||||
}
|
||||
|
||||
public bool CheckItemUse( Mobile from )
|
||||
{
|
||||
return CheckItemUse( from, this );
|
||||
}
|
||||
|
||||
public virtual bool CheckItemUse( Mobile from, Item item )
|
||||
{
|
||||
if ( m_Parent is Item )
|
||||
|
|
@ -4307,6 +4312,13 @@ namespace Server
|
|||
((Mobile)m_Parent).OnItemLifted( from, item );
|
||||
}
|
||||
|
||||
public bool CheckLift( Mobile from )
|
||||
{
|
||||
LRReason reject = LRReason.Inspecific;
|
||||
|
||||
return CheckLift( from, this, ref reject );
|
||||
}
|
||||
|
||||
public virtual bool CheckLift( Mobile from, Item item, ref LRReason reject )
|
||||
{
|
||||
if ( m_Parent is Item )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue