# Mining mechanics

## **Mining mechanics in Settlers IV**&#x20;

![Coordinate system on a hexagonal map, such as the ones used by the game.](https://media.discordapp.net/attachments/576807103256068102/850485568399343686/unknown.png?width=388\&height=300)

Geologists never place two signs onto adjacent tiles, unless two of them happen to be working on adjacent tiles at the same time. Usually, they leave at least one free tiles in every direction, sometimes more.

Internally, each resource deposit has a fill state between 1 and 15. This exactly corresponds to the amount of resources that can be extracted from that tile. If a resources is extracted, the fill state is reduced by one. A sign with one visible icon signifies a tile with a fill state of 1 up to 5, a sign with two icons signifies a fill state of 6 up to 10, and a sign with three icons signifies a fill state of 11 up to 15.

On random maps, all resource desposits found on mountains always have the exact same shape and size, unless it is on a mirror axis, is overwritten by another deposit during generation, or is generated at the edge of the mountain with parts of it ending up outside of mountain terrain. The orientation of the overall shape also slightly differs depending on which quadrant the deposit is in if it is a mirrored map. On HGXX all tiles that have a resource start with a fill state of 15. On MGXX and LGXX a random variance is applied, but overall, the average should not deviate too much. This also means that players should not pay too much attention to the amount of signs placed by geologists.

![Gold](https://media.discordapp.net/attachments/576807103256068102/850486077604364348/unknown.png)

![Coal](https://media.discordapp.net/attachments/576807103256068102/850486127903375410/unknown.png)

![Iron](https://media.discordapp.net/attachments/576807103256068102/850486164652818432/unknown.png)

![Stone](https://media.discordapp.net/attachments/576807103256068102/850486195997638656/unknown.png)

![Sulphur](https://media.discordapp.net/attachments/576807103256068102/850486232282955836/unknown.png)

A mine can extract resources from it's hotspot and four additional tiles in each direction, for 64 tiles in total. This means that on a Metzel map, a single mine can extract 64\*15=960 resources over it's lifetime. However, as efficiency drops sharply towards the end, a massive amount of food would be required to extract the last few resources. Mines can also extract resources from tiles outside the player's borders.

![Bild](https://media.discordapp.net/attachments/576807103256068102/850486375865778246/unknown.png?width=388\&height=300)

For each piece of a miner's favorite food, the miner will make 10 attempts to extract resources. He will also make 10 attempts "for free" after the mine is built. For each attempt, the mine will randomly pick one of the 64 tiles it it's working area. If the tile is empty, has the wrong resource, is covered with snow, or not a mountain tile at all, the miner will fail to extract a resource. If a tile with the correct resource is found, the fill state comes into play. If it is >= 4, a resource will be extracted. If it is less, the chance of success is 25%\*fill state.&#x20;

This means that the initial efficiency of a mine on 2-icon-signs is exactly equal to a mine on 3-icon-signs. But the former will lose efficiency much sooner than the latter.

The efficiency bar only show the success quota for the last 15 mining attempts. This means that even a mine on a small deposit can temporarily show 100% efficiency, while a mine that is starting to lose efficiency can temporarily drop to 0% if the miner had particular good or bad luck.

For a gold deposit, there are 19 tiles where a mine can fully encompass it. For iron, stone or sulphur mines, there are 11 such tiles. Coal deposits only have a single tile where the mine can perfectly cover the entire deposit. The image bewow illustrates this, along with a rough estimate on the efficiency loss if the placement is off.

![Bild](https://media.discordapp.net/attachments/576807103256068102/855054461772234772/mineplacement.jpg?width=267\&height=300)

<br>


---

# 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.settlers-united.com/settler-iv-wiki-en/tips-and-tricks/mining-mechanics.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.
