Hello, and thank you for sharing your work with us!
I have 7600 different layers in the folder(s) "Body x", and there will be a total of 7600 NFTs. I want every single layer to appear in the collection, and I want NO duplicates of the layers in the "Body" folders.
So I managed to type 7600 lines of code with "layerItemsMaxRepeatedTraits" and I still have a few items that do NOT appear (ex: Areion 275) and some layers appear multiple times (ex: Areion 292). Am I getting wrong this function, or am I doing something wrong and it's simply not working?
Here is my layer config:
const layerConfigurations = [
{
growEditionSizeTo: 100,
layersOrder: [
{ name: "Background" },
{ name: "Body 3", options: { displayName: "Body", }, },
{ name: "Hair" },
{ name: "Hat" },
{ name: "Beard" },
{ name: "Glasses DR", options: { displayName: "Glasses", }, },
],
layerItemsMaxRepeatedTraits: [
{ name: "Body 3/Areion 275", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 276", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 277", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 278", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 279", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 280", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 281", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 282", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 283", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 284", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 285", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 286", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 287", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 288", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 289", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 290", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 291", layerItemMaxRepeatedTrait: 1 },
{ name: "Body 3/Areion 292", layerItemMaxRepeatedTrait: 1 },
],
},
];
Thank you for your time!