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:
xavier 2010-10-02 15:25:30 +00:00
parent f90c09ef55
commit 4df455f33c
132 changed files with 4914 additions and 1012 deletions

View file

@ -19,6 +19,16 @@ namespace Server.Engines.Craft
private int m_LastGroupIndex;
private bool m_DoNotColor;
private CraftMarkOption m_MarkOption;
#region Hue State Vars
private bool m_CheckedHues;
private List<int> m_Hues;
private Item m_CompareHueTo;
public bool CheckedHues { get { return m_CheckedHues; } set { m_CheckedHues = value; } }
public List<int> Hues { get { return m_Hues; } set { m_Hues = value; } }
public Item CompareHueTo { get { return m_CompareHueTo; } set { m_CompareHueTo = value; } }
#endregion
public List<CraftItem> Items { get { return m_Items; } }
public int LastResourceIndex{ get{ return m_LastResourceIndex; } set{ m_LastResourceIndex = value; } }
@ -33,6 +43,10 @@ namespace Server.Engines.Craft
m_LastResourceIndex = -1;
m_LastResourceIndex2 = -1;
m_LastGroupIndex = -1;
m_CheckedHues = false;
m_Hues = new List<int>();
m_CompareHueTo = null;
}
public CraftItem LastMade
@ -55,5 +69,12 @@ namespace Server.Engines.Craft
m_Items.Insert( 0, item );
}
public void ResetHueStateVars()
{
m_CheckedHues = false;
m_Hues = new List<int>();
m_CompareHueTo = null;
}
}
}