thepeanutgalleryandco / create-and-mint-nft-collection

This code repo has been created to help NFT enthusiasts to create their generative art via the Hashlips generative art codebase and then to utilize the NFTPort API service to upload their NFT files and finally mint them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[QUESTION] Incompotible traits settings not working

DomWane opened this issue · comments

Hi, I'm trying to generate collection but incompatible settings not working.

These are my settings for incompatible traits:

incompatibleTraits: {
"Hair/AllTraits": [
"Hat/AllTraits",
]
}

I also also tried to specify the first input but it's still not working and "Hair/Double_Blue" gets generated with "Hat" layer:

incompatibleTraits: {
"Hair/Double_Blue": [
"Hat/AllTraits",
]
}

Am I doing something wrong?

AllTraits - "*"

@DomWane there is no such thing as AllTraits or *. That doesn't work, you will need to list the items individually. Also take careful note of your filenames vs what you are naming the trait in the list.

Hat/Test#10.png would be 'Hat/Test'
Hat/Test2 #10.png woulf be 'Hat/Test2 '

Take note of the space on the 2nd example.

Thank you very much for response! I thought you can list all items by adding star symbol like you described here: #15 (comment)

That is how the original author explained it, but after testing it, i saw its not working. I removed it from other places, will still remove from that ticket.