message: convert vars and numbers to enums
diff: @@ -15,16 +15,16 @@ import { ItemCategoryHashes, PlugCategoryHashes } from 'data/d2/generated-enums'
  * Plug item hashes that should be excluded from the list of selectable perks.
  */
  const unwantedSockets = new Set([
  - 3313201758, // Mobility, Restorative, and Resilience perks
  - 1514141499, // Void damage resistance
  - 1514141501, // Arc damage resistance
  - 1514141500, // Solar damage resistance
  - 2973005342, // Shaders
  - 3356843615, // Ornaments
  - 2457930460, // Empty masterwork slot
  + PlugCategoryHashes.Mods, // Mobility, Restorative, and Resilience perks
  + PlugCategoryHashes.V400PlugsArmorMasterworksStatResistance4, // Void damage resistance
  + PlugCategoryHashes.V400PlugsArmorMasterworksStatResistance2, // Arc damage resistance
  + PlugCategoryHashes.V400PlugsArmorMasterworksStatResistance3, // Solar damage resistance
  + PlugCategoryHashes.Shader,
  + PlugCategoryHashes.ArmorSkinsEmpty, // Ornaments
  + PlugCategoryHashes.PlugsMasterworksArmorDefault, // Empty masterwork slot
  ]);
  const unwantedCategories = new Set([
  - 1742617626, // ItemCategory "Armor Mods: Ornaments"
  + ItemCategoryHashes.ArmorModsOrnaments, // ItemCategory "Armor Mods: Ornaments"
  ItemCategoryHashes.ArmorModsGlowEffects,
  ItemCategoryHashes.GhostModsProjections,
  ]);
  @@ -65,7 +65,7 @@ export function filterPlugs(socket: DimSocket) {
  // Remove Archetype/Inherit perk
  if (
  plugItem.plug.plugCategoryHash === PlugCategoryHashes.Intrinsics &&
  - plugItem.inventory.tierType !== 6 // keep exotics
  + plugItem.inventory.tierType !== TierType.Exotic // keep exotics
  ) {
  return false;
  }
  