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