Fixed issue with secured dye tubs in houses
http://www.uodemise.com/forum/showthread.php?t=147193 Smith/Tailor PS should not be cursed http://www.uodemise.com/forum/showthread.php?t=148415 Large crafting system overhaul http://www.uodemise.com/forum/showthread.php?t=119342
This commit is contained in:
parent
f90c09ef55
commit
4df455f33c
132 changed files with 4914 additions and 1012 deletions
|
|
@ -1014,7 +1014,7 @@ namespace Server.Multis
|
|||
return IsFriend( from );
|
||||
else if ( item is PotionKeg )
|
||||
return IsFriend( from );
|
||||
else if ( item is BaseBoard )
|
||||
else if ( item is BaseGameBoard )
|
||||
return true;
|
||||
else if ( item is Dices )
|
||||
return true;
|
||||
|
|
@ -1456,7 +1456,7 @@ namespace Server.Multis
|
|||
if ( !locked )
|
||||
i.SetLastMoved();
|
||||
|
||||
if ( (i is Container) && (!locked || !(i is BaseBoard)) )
|
||||
if ( (i is Container) && (!locked || !(i is BaseGameBoard)) )
|
||||
{
|
||||
foreach ( Item c in i.Items )
|
||||
SetLockdown( c, locked, checkContains );
|
||||
|
|
@ -1842,6 +1842,7 @@ namespace Server.Multis
|
|||
|
||||
if ( info != null )
|
||||
{
|
||||
m.CloseGump( typeof ( SetSecureLevelGump ) );
|
||||
m.SendGump( new Gumps.SetSecureLevelGump( m_Owner, info, this ) );
|
||||
}
|
||||
else if ( item.Parent != null )
|
||||
|
|
@ -1867,7 +1868,7 @@ namespace Server.Multis
|
|||
}
|
||||
else
|
||||
{
|
||||
info = new SecureInfo( (Container)item, SecureLevel.CoOwners );
|
||||
info = new SecureInfo( (Container)item, SecureLevel.Owner );
|
||||
|
||||
item.IsLockedDown = false;
|
||||
item.IsSecure = true;
|
||||
|
|
@ -1876,6 +1877,7 @@ namespace Server.Multis
|
|||
m_LockDowns.Remove( item );
|
||||
item.Movable = false;
|
||||
|
||||
m.CloseGump( typeof ( SetSecureLevelGump ) );
|
||||
m.SendGump( new Gumps.SetSecureLevelGump( m_Owner, info, this ) );
|
||||
}
|
||||
}
|
||||
|
|
@ -2353,7 +2355,7 @@ namespace Server.Multis
|
|||
{
|
||||
Item item = (Item)m_LockDowns[i];
|
||||
|
||||
if ( item is Container && !(item is BaseBoard) )
|
||||
if ( item is Container && !(item is BaseGameBoard) )
|
||||
{
|
||||
Container cont = (Container)item;
|
||||
List<Item> children = cont.Items;
|
||||
|
|
@ -3751,6 +3753,7 @@ namespace Server.Multis
|
|||
ISecurable sec = GetSecurable( Owner.From, m_Item );
|
||||
|
||||
if ( sec != null )
|
||||
Owner.From.CloseGump( typeof ( SetSecureLevelGump ) );
|
||||
Owner.From.SendGump( new SetSecureLevelGump( Owner.From, sec, BaseHouse.FindHouseAt( m_Item ) ) );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue