Styles Reordered (Amaryl)

His Dad [01-11-15 - 18:00]
Styles Reordered (Amaryl)
Filename
AIResearchGrid.lua
diff --git a/AIResearchGrid.lua b/AIResearchGrid.lua
index fa7be1b..f861896 100644
--- a/AIResearchGrid.lua
+++ b/AIResearchGrid.lua
@@ -703,31 +703,32 @@ function AIRG.AssignStyleLookups()
     -- Lookup the correct icon for the style
     AIRG.styleLookupIcons = {}
     AIRG.styleLookupIcons[1] = "ESOUI/art/charactercreate/charactercreate_altmericon_"
-    AIRG.styleLookupIcons[2] = "ESOUI/art/charactercreate/charactercreate_argonianicon_"
+    AIRG.styleLookupIcons[2] = "ESOUI/art/charactercreate/charactercreate_dunmericon_"
     AIRG.styleLookupIcons[3] = "ESOUI/art/charactercreate/charactercreate_bosmericon_"
-    AIRG.styleLookupIcons[4] = "ESOUI/art/charactercreate/charactercreate_bretonicon_"
-    AIRG.styleLookupIcons[5] = "ESOUI/art/charactercreate/charactercreate_dunmericon_"
-    AIRG.styleLookupIcons[6] = "ESOUI/art/charactercreate/charactercreate_khajiiticon_"
-    AIRG.styleLookupIcons[7] = "ESOUI/art/charactercreate/charactercreate_nordicon_"
+    AIRG.styleLookupIcons[4] = "ESOUI/art/charactercreate/charactercreate_nordicon_"
+    AIRG.styleLookupIcons[5] = "ESOUI/art/charactercreate/charactercreate_bretonicon_"
+    AIRG.styleLookupIcons[6] = "ESOUI/art/charactercreate/charactercreate_redguardicon_"
+    AIRG.styleLookupIcons[7] = "ESOUI/art/charactercreate/charactercreate_khajiiticon_"
     AIRG.styleLookupIcons[8] = "ESOUI/art/charactercreate/charactercreate_orcicon_"
-    AIRG.styleLookupIcons[9] = "ESOUI/art/charactercreate/charactercreate_redguardicon_"
+    AIRG.styleLookupIcons[9] = "ESOUI/art/charactercreate/charactercreate_orcicon_"
     AIRG.styleLookupIcons[10] = "ESOUI/art/charactercreate/charactercreate_imperialicon_"
     AIRG.styleLookupIcons[11] = "ESOUI/art/progression/progression_indexicon_weapons_"
     AIRG.styleLookupIcons[12] = "ESOUI/art/progression/progression_indexicon_weapons_"
     AIRG.styleLookupIcons[13] = "ESOUI/art/progression/progression_indexicon_weapons_"
     AIRG.styleLookupIcons[14] = "ESOUI/art/progression/progression_indexicon_weapons_"
     AIRG.styleLookupIcons[15] = "ESOUI/art/progression/progression_indexicon_weapons_"
+
     -- Translate the icon position to the in-game type. Used for text look-up
     AIRG.styleLookupValue = {}
-    AIRG.styleLookupValue[1] = ITEMSTYLE_RACIAL_HIGH_ELF
-    AIRG.styleLookupValue[2] = ITEMSTYLE_RACIAL_ARGONIAN
+	AIRG.styleLookupValue[1] = ITEMSTYLE_RACIAL_HIGH_ELF
+    AIRG.styleLookupValue[2] = ITEMSTYLE_RACIAL_DARK_ELF
     AIRG.styleLookupValue[3] = ITEMSTYLE_RACIAL_WOOD_ELF
-    AIRG.styleLookupValue[4] = ITEMSTYLE_RACIAL_BRETON
-    AIRG.styleLookupValue[5] = ITEMSTYLE_RACIAL_DARK_ELF
-    AIRG.styleLookupValue[6] = ITEMSTYLE_RACIAL_KHAJIIT
-    AIRG.styleLookupValue[7] = ITEMSTYLE_RACIAL_NORD
+    AIRG.styleLookupValue[4] = ITEMSTYLE_RACIAL_NORD
+    AIRG.styleLookupValue[5] = ITEMSTYLE_RACIAL_BRETON
+    AIRG.styleLookupValue[6] = ITEMSTYLE_RACIAL_REDGUARD
+    AIRG.styleLookupValue[7] = ITEMSTYLE_RACIAL_KHAJIIT
     AIRG.styleLookupValue[8] = ITEMSTYLE_RACIAL_ORC
-    AIRG.styleLookupValue[9] = ITEMSTYLE_RACIAL_REDGUARD
+    AIRG.styleLookupValue[9] = ITEMSTYLE_RACIAL_ARGONIAN
     AIRG.styleLookupValue[10] = ITEMSTYLE_AREA_IMPERIAL
     AIRG.styleLookupValue[11] = ITEMSTYLE_AREA_ANCIENT_ELF
     AIRG.styleLookupValue[12] = ITEMSTYLE_AREA_REACH
@@ -738,14 +739,14 @@ function AIRG.AssignStyleLookups()
     -- This is a bit of a hack, but only because of the way ESO uses Style Items with different index to styles.
     AIRG.styleLookupItem = {}
     AIRG.styleLookupItem[1] = 8     -- Altmer       = Adamantite
-    AIRG.styleLookupItem[2] = 7     -- Argonian     = Flint
+    AIRG.styleLookupItem[2] = 5     -- Dunmer       = Obsidian
     AIRG.styleLookupItem[3] = 9     -- Bosmer       = Bone
-    AIRG.styleLookupItem[4] = 2     -- Breton       = Molybdenum
-    AIRG.styleLookupItem[5] = 5     -- Dunmer       = Obsidian
-    AIRG.styleLookupItem[6] = 10    -- Khajit       = Moonstone
-    AIRG.styleLookupItem[7] = 6     -- Nord         = Corundum
+    AIRG.styleLookupItem[4] = 6     -- Nord         = Corundum
+    AIRG.styleLookupItem[5] = 2     -- Breton       = Molybdenum
+    AIRG.styleLookupItem[6] = 3     -- Redguard     = Starmetal
+    AIRG.styleLookupItem[7] = 10    -- Khajit       = Moonstone
     AIRG.styleLookupItem[8] = 4     -- Orc          = Manganese
-    AIRG.styleLookupItem[9] = 3     -- Redguard     = Starmetal
+    AIRG.styleLookupItem[9] = 7     -- Argonian     = Flint
     AIRG.styleLookupItem[10] = 35   -- Imperial     = Nickel
     AIRG.styleLookupItem[11] = 16   -- Ancient Elf  = Palladium
     AIRG.styleLookupItem[12] = 18   -- Barbarian    = Copper