Skip to content

Commit

Permalink
Update for Summerset
Browse files Browse the repository at this point in the history
Update to include Jewelry crafting
  • Loading branch information
MaeBee committed Jun 17, 2018
1 parent d1c8337 commit 71ab03b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ESOResearchNotifier/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.7")]
[assembly: AssemblyFileVersion("1.7")]
[assembly: AssemblyVersion("1.8")]
[assembly: AssemblyFileVersion("1.8")]
10 changes: 8 additions & 2 deletions ESOResearchNotifier/ResearchItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ public partial class ResearchItem : UserControl
{
public event EventHandler ResearchDone;

public enum CraftingType { Stable = 0, Blacksmithing = 1, Clothier = 2, Woodworking = 6 };
public enum CraftingType { Stable = 0, Blacksmithing = 1, Clothier = 2, Woodworking = 6, Jewelry = 7 };
public int[] BlacksmithingTypes = { 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1 };
public string[] BlacksmithNames = { "Axe", "Mace", "Sword", "Battle Axe", "Maul", "Greatsword", "Dagger", "Cuirass", "Sabatons", "Gauntlets", "Helm", "Greaves", "Pauldron", "Girdle" };
public int[] ClothierTypes = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 };
public string[] ClothierNames = { "Robe", "Shoes", "Gloves", "Hat", "Breeches", "Epaulets", "Sash", "Jack", "Boots", "Bracers", "Helmet", "Guards", "Arm Cops", "Belt" };
public int[] WoodworkingTypes = { 0, 0, 0, 0, 0, 1 };
public string[] WoodworkingNames = { "Bow", "Inferno Staff", "Ice Staff", "Lightning Staff", "Restoration Staff", "Shield" };
public string[,] Traits = {{ "Powered", "Charged", "Precise", "Infused", "Defending", "Training", "Sharpened", "Decisive", "Nirnhoned" }, { "Sturdy", "Impenetrable", "Reinforced", "Well-Fitted", "Training", "Infused", "Prosperous", "Divines", "Nirnhoned" }};
public int[] JewelryTypes = { 2, 2 };
public string[] JewelryNames = { "Necklace", "Ring" };
public string[,] Traits = {{ "Powered", "Charged", "Precise", "Infused", "Defending", "Training", "Sharpened", "Decisive", "Nirnhoned" }, { "Sturdy", "Impenetrable", "Reinforced", "Well-Fitted", "Training", "Infused", "Prosperous", "Divines", "Nirnhoned" }, { "Arcane", "Healthy", "Robust", "Triune", "Infused", "Protective", "Swift", "Harmony", "Bloodthirsty" }};

public string CharacterName { get; set; } = "";
public CraftingType CraftingDiscipline { get; set; }
Expand All @@ -40,6 +42,8 @@ public string ItemName
return ClothierNames[ItemIndex];
case CraftingType.Woodworking:
return WoodworkingNames[ItemIndex];
case CraftingType.Jewelry:
return JewelryNames[ItemIndex];
default:
return null;
}
Expand All @@ -60,6 +64,8 @@ public string TraitName
return Traits[ClothierTypes[ItemIndex], TraitIndex];
case CraftingType.Woodworking:
return Traits[WoodworkingTypes[ItemIndex], TraitIndex];
case CraftingType.Jewelry:
return Traits[JewelryTypes[ItemIndex], TraitIndex];
default:
return null;
}
Expand Down

0 comments on commit 71ab03b

Please sign in to comment.