https://www.pathofexile.com/forum/view-thread/3913283
|
if (!info?.length) { |
|
// HACK: controller support while poe2 doesn't have advanced copy for controllers |
|
if (item.category === ItemCategory.DivinationCard) { |
|
info = ITEM_BY_TRANSLATED("DIVINATION_CARD", item.name); |
|
} else if (item.category === ItemCategory.CapturedBeast) { |
|
info = ITEM_BY_TRANSLATED("CAPTURED_BEAST", item.baseType ?? item.name); |
|
} else if (item.category === ItemCategory.Gem) { |
|
info = ITEM_BY_TRANSLATED("GEM", item.name); |
|
} else if (item.category === ItemCategory.MetamorphSample) { |
|
info = ITEM_BY_TRANSLATED("ITEM", item.name); |
|
} else if (item.category === ItemCategory.Voidstone) { |
|
info = ITEM_BY_TRANSLATED("ITEM", "Charged Compass"); |
|
} else if (item.rarity === ItemRarity.Unique && !item.isUnidentified) { |
|
info = ITEM_BY_TRANSLATED("UNIQUE", item.name); |
|
} else { |
|
info = ITEM_BY_TRANSLATED("ITEM", item.baseType ?? item.name); |
|
} |
|
if (!info?.length) { |
|
return err("item.unknown"); |
|
} |
|
} |
https://www.pathofexile.com/forum/view-thread/3913283
Exiled-Exchange-2/renderer/src/parser/Parser.ts
Lines 235 to 255 in e77b7ce