Skip to content

Include item name in warning about bad wishlist hashes#11715

Open
rootvector2 wants to merge 1 commit intoDestinyItemManager:masterfrom
rootvector2:include-perk-name-in-wishlist-warning
Open

Include item name in warning about bad wishlist hashes#11715
rootvector2 wants to merge 1 commit intoDestinyItemManager:masterfrom
rootvector2:include-perk-name-in-wishlist-warning

Conversation

@rootvector2
Copy link

Fixes #11691

In the Armory view, when a wishlist perk hash doesn't match a weapon's rollable perks, the warning tooltip now includes the perk's name in parentheses for easier identification.

Before: "The perk hash 2541826827 does not appear on this item..."
After: "The perk hash 2541826827 (Repulsor Brace) does not appear on this item..."

If the hash doesn't resolve to a known item in the manifest, it falls back to "Unknown Item".

Changes

  • src/app/armory/AllWishlistRolls.tsx — Look up perk name via defs.InventoryItem.get(hash) in the InvalidPlug component
  • config/i18n.json — Add {{perkName}} interpolation to the UnknownPerkHash string
  • src/locale/en.json — Updated via pnpm i18n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include item name in warning about bad wishlist hashes

1 participant