Inheritance: BaseClothing
        public virtual int OnCraft(int quality, bool makersMark, Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, CraftItem craftItem, int resHue)
        {
            Quality = (ClothingQuality)quality;

            if (makersMark)
            {
                Crafter = from;
            }

            PlayerConstructed = true;

            if (this is BaseShoes)
            {
                BaseShoes shoes = (BaseShoes)this;

                if (shoes.Resource != CraftResource.None)
                {
                    Type resourceType = typeRes;

                    if (resourceType == null)
                    {
                        resourceType = craftItem.Resources.GetAt(0).ItemType;
                    }

                    shoes.Resource = CraftResources.GetFromType(resourceType);

                    CraftContext context = craftSystem.GetContext(from);

                    if (context != null && context.DoNotColor)
                    {
                        shoes.Hue = 0;
                    }
                }
                else
                {
                    shoes.Hue = resHue;
                }
            }
            else if (this is BaseHat)
            {
                if (Core.AOS && tool is BaseRunicTool)
                {
                    ((BaseRunicTool)tool).ApplyAttributesTo(this);
                }
            }
            else
            {
                Hue = resHue;
            }
            return(quality);
        }