message: integrate new table, show drowned element count
diff: @@ -6,6 +6,7 @@ import { universalOrnamentPlugSetHashes } from 'app/search/d2-known-values';
  import { RootState } from 'app/store/types';
  import { emptyObject, emptySet } from 'app/utils/empty';
  import { DestinyItemPlug } from 'bungie-api-ts/destiny2';
  +import { resonantMaterialStringVarHashes } from 'data/d2/crafting-resonant-elements';
  import { BucketHashes, ItemCategoryHashes } from 'data/d2/generated-enums';
  import _ from 'lodash';
  import { createSelector } from 'reselect';
  @@ -107,16 +108,6 @@ export const materialsSelector = (state: RootState) =>
  /** The actual raw profile response from the Bungie.net profile API */
  export const profileResponseSelector = (state: RootState) => state.inventory.profileResponse;
  -// this list of crafting mats contains the StringVariables hash that finds how many the player owns
  -// unfortunately, this is basically the only reasonable option
  -const craftingMatsTable: [lookupHash: number, countHash: number][] = [
  - [163842161, 2829303739],
  - [163842163, 1238436609],
  - [163842162, 1178490630],
  - [163842160, 2653558736],
  - [3491404510, 2747150405],
  -];
  -
  /** returns name/icon/amount for a hard-coded list of crafting materials */
  export const craftingMaterialCountsSelector = createSelector(
  d2ManifestSelector,
  @@ -126,12 +117,12 @@ export const craftingMaterialCountsSelector = createSelector(
  const results: [name: string, icon: string, count: number][] = [];
  if (defs && numbersLookup) {
  - for (const [lookupHash, countHash] of craftingMatsTable) {
  - const def = defs.InventoryItem.get(lookupHash);
  + for (const { materialHash, currentCountHash } of resonantMaterialStringVarHashes) {
  + const def = defs.InventoryItem.get(materialHash);
  if (def) {
  const { icon, name } = def.displayProperties;
  - const count = numbersLookup[countHash];
  + const count = numbersLookup[currentCountHash];
  if (icon && name && count !== undefined) {
  results.push([name, icon, count]);
  }
  