//daat99.ResourceHelper.AddTailorResources(this); public static void AddTailorResources(CraftSystem system) { bool first = true; foreach (ResourceData data in Resources) { if (data.ResourceType == CraftResourceType.Leather) { if (first) { system.SetSubRes(data.ItemType, data.Name); first = false; } system.AddSubRes(data.ItemType, data.Name, data.MinSkill, data.CantCraftMessage); } } }