HashLips / hashlips_art_engine

HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.
MIT License
7.18k stars 4.3k forks source link

Manually change 1 json and 1 picture doesn't show up on npm run rarity #930

Open levianlp opened 2 years ago

levianlp commented 2 years ago

So i manually change 1 json only attributes and the picture of it for extra legendary after i generated the artwork, but after i do that im running npm run rarity but it doesn't show up on it, do any of you guys understand how npm run rarity works

Thanks!

bolshoytoster commented 2 years ago

@levianlp the rarity script counts the occurances of each attribute and divides it by the full edition size to determine rarity.

levianlp commented 2 years ago

@bolshoytoster hi it is you again, so it is not counting from the json value then? so is it still possible to manually change the json attributes for uploading it although the npm run rariry doesn't identified the manual one ? Thanks @bolshoytoster for answering

bolshoytoster commented 2 years ago

@levianlp it does get it from the metadata.

Also, just changing one picture wouldn't affect the actual rarity of a trait, since it doesn't affect the other images, nor any other json files.

levianlp commented 2 years ago

@bolshoytoster this is what im aready doing

And i cannot see any Gold Chain on the npm run rarity here is the videos of proof https://youtu.be/AdwJk0F8rgg Thank you man

bolshoytoster commented 2 years ago

@levianlp the rarity script only looks at layers in your layersConfiguration. You could add the extra layer there then run rarity.

levianlp commented 2 years ago

ahh okei lemme try it, thanks mate @bolshoytoster