diff --git a/scripts/metadataUtils.cjs b/scripts/metadataUtils.cjs index 78c0d29..18ed325 100644 --- a/scripts/metadataUtils.cjs +++ b/scripts/metadataUtils.cjs @@ -67,8 +67,9 @@ const mouths = { 31: "grimmace", }; -const kudzuName = (id) => { - return "$" + getEmoji(id).eye + "-" + getEmoji(id).mouth; +const kudzuName = (tokenId) => { + const { index, eye, mouth } = getEmoji(tokenId); + return `$${eye}-${mouth}-${index}`; }; const getEmoji = (tokenId) => { diff --git a/scripts/metadataUtils.mjs b/scripts/metadataUtils.mjs index 73e26ad..d84b6b8 100644 --- a/scripts/metadataUtils.mjs +++ b/scripts/metadataUtils.mjs @@ -67,8 +67,9 @@ export const mouths = { 31: "grimmace", }; -export const kudzuName = (id) => { - return "$" + getEmoji(id).eye + "-" + getEmoji(id).mouth; +export const kudzuName = (tokenId) => { + const { index, eye, mouth } = getEmoji(tokenId); + return `$${eye}-${mouth}-${index}`; }; export const getEmoji = (tokenId) => {