# Upgrading Buildings

Every building or facility on the farm has an upgrade option once reaching that point.

Upgrades of buildings will always depend on the level of the [Headquarters ](/chapter-4-buildings-and-facilities/the-headquarters.md)and players will only be exposed to the ability to mint a building upgrade if they advance the farm's headquarters.

Upgrading a building will cost [FW coins](/chapter-3-game-resources/fw-coins.md) and require a certain time to be built. The cost and duration depend on the building, [the army type](/chapter-2-the-army-types/the-army-types.md), and the level of the farm.&#x20;

**In some cases, the player must first mint an upgrade NFT. These are NFTs that are not limited in quantity and will be available to players once they reach an upgrade point in the game.**

![Cow Army HQ Upgrade To Level 2](/files/s1WRWPEUy5aj0UXlf4Up)


---

# 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.thefarmwars.com/chapter-5-the-farm-wars-game-mechanics/upgrading-the-farm/upgrading-buildings.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.
