# Upgrade mechanics

Game NFTs of structures and equipment can be upgraded. Either rarity or level of the card can be upgraded.

The game NFT in the DeepMine universe are divided according to:&#x20;

#### Upgrade by rarity&#xD;

* Type of use: structure, equipment, badge.&#x20;
* Development level: 0-9 level inclusive
* Some types of NFT have rarity that is highlighted by their color:
  * Gray (common)
  * Green (uncommon)
  * Blue (rare)
  * Purple (epic)
  * Gold (legendary)

A [Citizen ](/deepmine/deepmine-entities/game-roles/citizen.md)sends three cards identical by type, rarity, and level to the [Government](/deepmine/deepmine-entities/government.md). In return, the citizen receives one NFT with a higher rarity.&#x20;

#### Upgrade by level&#xD;

The player must send a certain amount of DME, a card to be upgraded, the upgrade card and also fulfill additional conditions to upgrade the card by level. In return, the citizen receives a card of the same type and rarity, but a higher level.

#### Additional conditions for the mine:&#xD;&#xD;&#x20;&#xD;

* The [Mine ](/deepmine/deepmine-gaming-nfts/mine.md)owner must have the abilities and skills to transition to more dangerous [Depths ](/deepmine/deepmine-entities/untitled-1.md)and upgrade a mine to the next level. Therefore, the mine must mine a certain amount of DME for a certain period of its operation for the upgrade.&#x20;

![](/files/-MhJslhT4kTo6_r4xPdP)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.deepmine.world/deepmine/deepmine-game-mechanics/upgrades.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
