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:
crazywh1t3
2026-02-12 18:08:28 +02:00
parent 8815c4d519
commit 52f9079ba1
32 changed files with 4538 additions and 3804 deletions

View File

@@ -14,7 +14,7 @@ var RarePrefixDesc = map[int]RarePrefix{
157: {ID: 157, Name: "Eagle", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
158: {ID: 158, Name: "Raven", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
159: {ID: 159, Name: "Viper", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
160: {ID: 160, Name: "Ghoul", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
160: {ID: 160, Name: "GhoulRI", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
161: {ID: 161, Name: "Skull", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
162: {ID: 162, Name: "Blood", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
163: {ID: 163, Name: "Dread", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
@@ -25,9 +25,9 @@ var RarePrefixDesc = map[int]RarePrefix{
168: {ID: 168, Name: "Shadow", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
169: {ID: 169, Name: "Storm", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
170: {ID: 170, Name: "Rune", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
171: {ID: 171, Name: "Plague", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
171: {ID: 171, Name: "PlagueRI", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
172: {ID: 172, Name: "Stone", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
173: {ID: 173, Name: "Wraith", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
173: {ID: 173, Name: "Wraithra", ItemTypes: []string{"armo", "weap", "misc"}, ExcludeTypes: []string{}},
174: {ID: 174, Name: "Spirit", ItemTypes: []string{"armo", "rod"}, ExcludeTypes: []string{}},
175: {ID: 175, Name: "Storm", ItemTypes: []string{"armo", "weap"}, ExcludeTypes: []string{}},
176: {ID: 176, Name: "Demon", ItemTypes: []string{"armo", "weap"}, ExcludeTypes: []string{}},
@@ -38,7 +38,7 @@ var RarePrefixDesc = map[int]RarePrefix{
181: {ID: 181, Name: "Loath", ItemTypes: []string{"armo", "weap"}, ExcludeTypes: []string{}},
182: {ID: 182, Name: "Glyph", ItemTypes: []string{"armo", "weap"}, ExcludeTypes: []string{}},
183: {ID: 183, Name: "Imp", ItemTypes: []string{"armo", "weap"}, ExcludeTypes: []string{}},
184: {ID: 184, Name: "Fiend", ItemTypes: []string{"armo", "weap"}, ExcludeTypes: []string{}},
184: {ID: 184, Name: "Fiendra", ItemTypes: []string{"armo", "weap"}, ExcludeTypes: []string{}},
185: {ID: 185, Name: "Hailstone", ItemTypes: []string{"armo", "weap"}, ExcludeTypes: []string{}},
186: {ID: 186, Name: "Gale", ItemTypes: []string{"armo", "weap"}, ExcludeTypes: []string{}},
187: {ID: 187, Name: "Dire", ItemTypes: []string{"armo", "weap"}, ExcludeTypes: []string{}},