Day 10 of Building an Equipment System with Smart Contracts (Solidity)

Day 10 of "Building an Equipment System with Smart Contracts" for @ethgardlegends.

Imagine you find a cool sword and want to equip it to your hero to gain benefits in the game. That's what I'm building.

In technical terms, the goal is to allow NFTs (ERC1155/ERC721) to be equippable on other NFTs (ERC721 => Heroes).


Today's progress:

Keeping it short today.

More code refactoring and game design work.
Added and improved tooltips (incl. stat %-modifiers)
Created the rarity algorithm and actually minted an amazing legendary helmet.

See the video for an update to the visible changes.


PS: If you're having trouble understanding certain parts but want to learn more, try the AI feature on Peakd or ChatGPT/Grok to have it explained 👍.