new txt files and generated .go files
- Implemented a new script to extract item names from items.go and generate a corresponding name.go file with constants and utility functions for name retrieval.
This commit is contained in:
@@ -654,4 +654,56 @@ var MagicPrefixDesc = map[int]MagicPrefix{
|
||||
1414: {ID: 1414, Name: "Beryl", Rare: true, Level: 1, LevelReq: 1, Group: 120, Mods: []Mod{{Code: "res-pois", Param: "", Min: 5, Max: 5}}, TransformColor: "", ItemTypes: []string{"armo", "ring", "amul", "orb", "circ"}, ExcludeTypes: []string{}},
|
||||
1415: {ID: 1415, Name: "Godly", Rare: true, Level: 50, LevelReq: 43, Group: 101, Mods: []Mod{{Code: "ac%", Param: "", Min: 101, Max: 200}}, TransformColor: "dgld", ItemTypes: []string{"armo"}, ExcludeTypes: []string{}},
|
||||
1416: {ID: 1416, Name: "Cruel", Rare: true, Level: 56, LevelReq: 48, Group: 105, Mods: []Mod{{Code: "dmg%", Param: "", Min: 201, Max: 300}}, TransformColor: "blac", ItemTypes: []string{"weap"}, ExcludeTypes: []string{"staf", "wand", "orb"}},
|
||||
1417: {ID: 1417, Name: "Virulent", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-pois", Param: "1", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"scha"}, ExcludeTypes: []string{}},
|
||||
1418: {ID: 1418, Name: "Virulent", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-pois", Param: "1", Min: 1, Max: 2}}, TransformColor: "", ItemTypes: []string{"ring", "mcha"}, ExcludeTypes: []string{}},
|
||||
1419: {ID: 1419, Name: "Virulent", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-pois", Param: "1", Min: 1, Max: 3}}, TransformColor: "", ItemTypes: []string{"amul", "glov", "boot", "belt", "helm", "lcha"}, ExcludeTypes: []string{}},
|
||||
1420: {ID: 1420, Name: "Virulent", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-pois", Param: "1", Min: 1, Max: 4}}, TransformColor: "", ItemTypes: []string{"shld", "weap"}, ExcludeTypes: []string{}},
|
||||
1421: {ID: 1421, Name: "Virulent", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-pois", Param: "1", Min: 2, Max: 8}}, TransformColor: "", ItemTypes: []string{"tors"}, ExcludeTypes: []string{}},
|
||||
1422: {ID: 1422, Name: "Incendiary", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-fire", Param: "1", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"scha"}, ExcludeTypes: []string{}},
|
||||
1423: {ID: 1423, Name: "Incendiary", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-fire", Param: "1", Min: 1, Max: 2}}, TransformColor: "", ItemTypes: []string{"ring", "mcha"}, ExcludeTypes: []string{}},
|
||||
1424: {ID: 1424, Name: "Incendiary", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-fire", Param: "1", Min: 1, Max: 3}}, TransformColor: "", ItemTypes: []string{"amul", "glov", "boot", "belt", "helm", "lcha"}, ExcludeTypes: []string{}},
|
||||
1425: {ID: 1425, Name: "Incendiary", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-fire", Param: "1", Min: 1, Max: 4}}, TransformColor: "", ItemTypes: []string{"shld", "weap"}, ExcludeTypes: []string{}},
|
||||
1426: {ID: 1426, Name: "Incendiary", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-fire", Param: "1", Min: 2, Max: 8}}, TransformColor: "", ItemTypes: []string{"tors"}, ExcludeTypes: []string{}},
|
||||
1427: {ID: 1427, Name: "Gelid", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-cold", Param: "1", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"scha"}, ExcludeTypes: []string{}},
|
||||
1428: {ID: 1428, Name: "Gelid", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-cold", Param: "1", Min: 1, Max: 2}}, TransformColor: "", ItemTypes: []string{"ring", "mcha"}, ExcludeTypes: []string{}},
|
||||
1429: {ID: 1429, Name: "Gelid", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-cold", Param: "1", Min: 1, Max: 3}}, TransformColor: "", ItemTypes: []string{"amul", "glov", "boot", "belt", "helm", "lcha"}, ExcludeTypes: []string{}},
|
||||
1430: {ID: 1430, Name: "Gelid", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-cold", Param: "1", Min: 1, Max: 4}}, TransformColor: "", ItemTypes: []string{"shld", "weap"}, ExcludeTypes: []string{}},
|
||||
1431: {ID: 1431, Name: "Gelid", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-cold", Param: "1", Min: 2, Max: 8}}, TransformColor: "", ItemTypes: []string{"tors"}, ExcludeTypes: []string{}},
|
||||
1432: {ID: 1432, Name: "Magnetic", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-ltng", Param: "1", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"scha"}, ExcludeTypes: []string{}},
|
||||
1433: {ID: 1433, Name: "Magnetic", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-ltng", Param: "1", Min: 1, Max: 2}}, TransformColor: "", ItemTypes: []string{"ring", "mcha"}, ExcludeTypes: []string{}},
|
||||
1434: {ID: 1434, Name: "Magnetic", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-ltng", Param: "1", Min: 1, Max: 3}}, TransformColor: "", ItemTypes: []string{"amul", "glov", "boot", "belt", "helm", "lcha"}, ExcludeTypes: []string{}},
|
||||
1435: {ID: 1435, Name: "Magnetic", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-ltng", Param: "1", Min: 1, Max: 4}}, TransformColor: "", ItemTypes: []string{"shld", "weap"}, ExcludeTypes: []string{}},
|
||||
1436: {ID: 1436, Name: "Magnetic", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-ltng", Param: "1", Min: 2, Max: 8}}, TransformColor: "", ItemTypes: []string{"tors"}, ExcludeTypes: []string{}},
|
||||
1437: {ID: 1437, Name: "Mystical", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-mag", Param: "1", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"scha"}, ExcludeTypes: []string{}},
|
||||
1438: {ID: 1438, Name: "Mystical", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-mag", Param: "1", Min: 1, Max: 2}}, TransformColor: "", ItemTypes: []string{"ring", "mcha"}, ExcludeTypes: []string{}},
|
||||
1439: {ID: 1439, Name: "Mystical", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-mag", Param: "1", Min: 1, Max: 3}}, TransformColor: "", ItemTypes: []string{"amul", "glov", "boot", "belt", "helm", "lcha"}, ExcludeTypes: []string{}},
|
||||
1440: {ID: 1440, Name: "Mystical", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-mag", Param: "1", Min: 1, Max: 4}}, TransformColor: "", ItemTypes: []string{"shld", "weap"}, ExcludeTypes: []string{}},
|
||||
1441: {ID: 1441, Name: "Mystical", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-mag", Param: "1", Min: 2, Max: 8}}, TransformColor: "", ItemTypes: []string{"tors"}, ExcludeTypes: []string{}},
|
||||
1442: {ID: 1442, Name: "Breaching", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-dmg", Param: "1", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"scha"}, ExcludeTypes: []string{}},
|
||||
1443: {ID: 1443, Name: "Breaching", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-dmg", Param: "1", Min: 1, Max: 2}}, TransformColor: "", ItemTypes: []string{"ring", "mcha"}, ExcludeTypes: []string{}},
|
||||
1444: {ID: 1444, Name: "Breaching", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-dmg", Param: "1", Min: 1, Max: 3}}, TransformColor: "", ItemTypes: []string{"amul", "glov", "boot", "belt", "helm", "lcha"}, ExcludeTypes: []string{}},
|
||||
1445: {ID: 1445, Name: "Breaching", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-dmg", Param: "1", Min: 1, Max: 4}}, TransformColor: "", ItemTypes: []string{"shld", "weap"}, ExcludeTypes: []string{}},
|
||||
1446: {ID: 1446, Name: "Breaching", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-dmg", Param: "1", Min: 2, Max: 8}}, TransformColor: "", ItemTypes: []string{"tors"}, ExcludeTypes: []string{}},
|
||||
1447: {ID: 1447, Name: "Chaotic", Rare: true, Level: 50, LevelReq: 42, Group: 125, Mods: []Mod{{Code: "skilltab", Param: "23", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"lcha"}, ExcludeTypes: []string{}},
|
||||
1448: {ID: 1448, Name: "Sullied", Rare: true, Level: 50, LevelReq: 42, Group: 125, Mods: []Mod{{Code: "skilltab", Param: "22", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"lcha"}, ExcludeTypes: []string{}},
|
||||
1449: {ID: 1449, Name: "Fiendish", Rare: true, Level: 50, LevelReq: 42, Group: 125, Mods: []Mod{{Code: "skilltab", Param: "21", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"lcha"}, ExcludeTypes: []string{}},
|
||||
1450: {ID: 1450, Name: "Chaotic", Rare: true, Level: 20, LevelReq: 15, Group: 125, Mods: []Mod{{Code: "skilltab", Param: "23", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"knif", "grim", "amul", "circ"}, ExcludeTypes: []string{}},
|
||||
1451: {ID: 1451, Name: "Erratic", Rare: true, Level: 40, LevelReq: 30, Group: 125, Mods: []Mod{{Code: "skilltab", Param: "23", Min: 2, Max: 2}}, TransformColor: "lgld", ItemTypes: []string{"knif", "grim", "amul", "circ"}, ExcludeTypes: []string{}},
|
||||
1452: {ID: 1452, Name: "Torrid", Rare: false, Level: 60, LevelReq: 45, Group: 125, Mods: []Mod{{Code: "skilltab", Param: "23", Min: 3, Max: 3}}, TransformColor: "lgld", ItemTypes: []string{"knif", "grim", "amul", "circ"}, ExcludeTypes: []string{}},
|
||||
1453: {ID: 1453, Name: "Sullied", Rare: true, Level: 20, LevelReq: 15, Group: 125, Mods: []Mod{{Code: "skilltab", Param: "22", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"knif", "grim", "amul", "swor", "circ"}, ExcludeTypes: []string{"tkni"}},
|
||||
1454: {ID: 1454, Name: "TaintedAffix", Rare: true, Level: 40, LevelReq: 30, Group: 125, Mods: []Mod{{Code: "skilltab", Param: "22", Min: 2, Max: 2}}, TransformColor: "lgld", ItemTypes: []string{"knif", "grim", "amul", "swor", "circ"}, ExcludeTypes: []string{"tkni"}},
|
||||
1455: {ID: 1455, Name: "Forbidden", Rare: false, Level: 60, LevelReq: 45, Group: 125, Mods: []Mod{{Code: "skilltab", Param: "22", Min: 3, Max: 3}}, TransformColor: "lgld", ItemTypes: []string{"knif", "grim", "amul", "swor", "circ"}, ExcludeTypes: []string{"tkni"}},
|
||||
1456: {ID: 1456, Name: "Fiendish", Rare: true, Level: 20, LevelReq: 15, Group: 125, Mods: []Mod{{Code: "skilltab", Param: "21", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"knif", "grim", "amul", "circ"}, ExcludeTypes: []string{}},
|
||||
1457: {ID: 1457, Name: "Dreadful", Rare: true, Level: 40, LevelReq: 30, Group: 125, Mods: []Mod{{Code: "skilltab", Param: "21", Min: 2, Max: 2}}, TransformColor: "lgld", ItemTypes: []string{"knif", "grim", "amul", "circ"}, ExcludeTypes: []string{}},
|
||||
1458: {ID: 1458, Name: "Malevolent", Rare: false, Level: 60, LevelReq: 45, Group: 125, Mods: []Mod{{Code: "skilltab", Param: "21", Min: 3, Max: 3}}, TransformColor: "lgld", ItemTypes: []string{"knif", "grim", "amul", "circ"}, ExcludeTypes: []string{}},
|
||||
1459: {ID: 1459, Name: "Devil's", Rare: true, Level: 36, LevelReq: 27, Group: 125, Mods: []Mod{{Code: "war", Param: "", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"amul", "circ"}, ExcludeTypes: []string{}},
|
||||
1460: {ID: 1460, Name: "Arch-Devil's", Rare: true, Level: 90, LevelReq: 67, Group: 125, Mods: []Mod{{Code: "war", Param: "", Min: 2, Max: 2}}, TransformColor: "cgrn", ItemTypes: []string{"amul", "circ"}, ExcludeTypes: []string{}},
|
||||
1461: {ID: 1461, Name: "Devil's", Rare: true, Level: 30, LevelReq: 22, Group: 125, Mods: []Mod{{Code: "war", Param: "", Min: 1, Max: 1}}, TransformColor: "", ItemTypes: []string{"knif", "grim"}, ExcludeTypes: []string{}},
|
||||
1462: {ID: 1462, Name: "Arch-Devil's", Rare: true, Level: 50, LevelReq: 42, Group: 125, Mods: []Mod{{Code: "war", Param: "", Min: 2, Max: 2}}, TransformColor: "cgrn", ItemTypes: []string{"knif", "grim"}, ExcludeTypes: []string{}},
|
||||
1463: {ID: 1463, Name: "Virulent", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-pois", Param: "1", Min: 2, Max: 8}, {Code: "Virulent-Affix1", Param: "", Min: 0, Max: 1}, {Code: "Virulent-Affix2", Param: "", Min: 0, Max: 1}}, TransformColor: "", ItemTypes: []string{"lcha"}, ExcludeTypes: []string{}},
|
||||
1464: {ID: 1464, Name: "Incendiary", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-fire", Param: "1", Min: 2, Max: 8}, {Code: "Gelid-Affix1", Param: "", Min: 0, Max: 1}, {Code: "Gelid-Affix2", Param: "", Min: 0, Max: 1}}, TransformColor: "", ItemTypes: []string{"lcha"}, ExcludeTypes: []string{}},
|
||||
1465: {ID: 1465, Name: "Gelid", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-cold", Param: "1", Min: 2, Max: 8}, {Code: "Magnetic-Affix1", Param: "", Min: 0, Max: 1}, {Code: "Magnetic-Affix2", Param: "", Min: 0, Max: 1}}, TransformColor: "", ItemTypes: []string{"tors"}, ExcludeTypes: []string{}},
|
||||
1466: {ID: 1466, Name: "Magnetic", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-ltng", Param: "1", Min: 2, Max: 8}, {Code: "Incendiary-Affix1", Param: "", Min: 0, Max: 1}, {Code: "Incendiary-Affix2", Param: "", Min: 0, Max: 1}}, TransformColor: "", ItemTypes: []string{"tors"}, ExcludeTypes: []string{}},
|
||||
1467: {ID: 1467, Name: "Mystical", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-mag", Param: "1", Min: 2, Max: 8}, {Code: "Breaching-Affix1", Param: "", Min: 0, Max: 1}, {Code: "Breaching-Affix2", Param: "", Min: 0, Max: 1}}, TransformColor: "", ItemTypes: []string{"tors"}, ExcludeTypes: []string{}},
|
||||
1468: {ID: 1468, Name: "Breaching", Rare: true, Level: 92, LevelReq: 75, Group: 307, Mods: []Mod{{Code: "pierce-dmg", Param: "1", Min: 2, Max: 8}, {Code: "Mystical-Affix1", Param: "", Min: 0, Max: 1}, {Code: "Mystical-Affix2", Param: "", Min: 0, Max: 1}}, TransformColor: "", ItemTypes: []string{"tors"}, ExcludeTypes: []string{}},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user