Tools

Tools are items that can be used by the player to gather faster resources, or to attack other entities.

> I'm not sure if you use tools, but it's important to be careful as the durability of the tool is greatly reduced when used on the wrong element.
>
> Traveller

## Obtaining

Villagers don't often use tools, making them somewhat scarce. However, the player can acquire tools through crafting using an anvil or by trading with an armorer or toolsmith. Additionally, tools can be discovered in various buildings and structures across the universe. For example, tools may be found in camps, graveyards, or even in ruins. Some exceptionally rare tools cannot be obtained through these methods and are only discoverable in these structures:

* The frozen sword can only be found in igloos
* The evil sword can only be found in roman ruins
* The bandit dagger can only be found in bandits lair

## Crafting

The player can easily craft tools using an anvil, typically requiring the following items:

* Copper
* Feather
* Fur
* Planks
* Iron
* Serpentinite
* String

## Mechanics

### Harvest rate

Mining minerals, wood, clay or sand by hand is not efficient. By default, naturals elements doesn't have a 100% probability to be recovered into inventory, they have 30% chance to be lost. This is called harvest rate.

Using a tool, there is 100% harvest rate. All extracted items are collected into player's inventory.

### Bonus

Using a tool, there is also a possibility to have more than 100% harvest rate: in some cases, a bonus is applied and more items than expected are collected. This bonus rate depends of the selected tool.

The bonus is particularely interesting for mining minerals (coal, iron, etc). For example, the miner pickaxe has +20% bonus rate. It means that statistically there are +20% of gathered minerals using this tool.

### Speed

A tool also allows gathering items with a faster speed. The speed depends of the tool itself. An heavy tool generally gives more items when it destroyes something, but it is also slower.

The tool speed is characterized by a value between -10 and +10. A lower value is better, it means that the tool is faster than usual.

### Durability

When a tool is used to destroy something, it automatically loses durability points:

* If the tool is used with the appropriate element it loses -1 point. For instance a sword used against an hostile entity, or an axe with a tree. This is what is called "best tool to destroy" in this Wiki
* Else, if the tool is used with an unappropriate element, it loses -3 points. For instance a sword used to destroy minerals.

Cheap tools made of carved stone generally have a low durability, whearas evolved tools have a high durability. When the durability gauge reaches 0, the tool is automatically destroyed.

### Punch

When a tool is used against an entity, it can deliver a powerful punch or strike, inflicting damage and exerting force upon the targeted entity. The punch power depends of the tool and the target. A small entity and a heavy tool have more chance to give a strong puch.

## Variants

### Pickaxe

Pickaxes are used to get minerals like stone, coal, iron, radium, etc. Some of them can also be used to get sand and clay.

### Shovels

Shovels are used to get sand and clay. The archeologist shovel can also be used to get minerals (coal, copper, etc).

### Maces, axes and hammers

Maces, axes and hammers have multiple purposes depending of the variant. They can be used to destroy trees, entities, and even minerals (coal, copper, etc).

### Bows

Bows are ranged weapons used to attack entities . Their require arrows in inventory to be used. Damages to entities is the same whetever the bow used. However, using a better bow leads to faster arrow reloading.

## History

 0.6.0
* Added tools speed and bonus gain
* Changed "Stone hammer" to "Iron hammer"
 0.5.0
 0.1.0