Village

A village is a collection of buildings that appear randomly within the game world. These settlements serve as the central hub for various activities and interactions. Populated by villagers, these communities bring life and activity to the game, with each village having its unique combination of structures and inhabitants. Exploring villages allows the player to engage with the villagers and discover trade opportunities.

## Apparition

The default planet of player always contains a village. For any new planet explored during the game, the probability of a village apparition is given below. It is only possible to have one single village per planet, not more.

  Volcanic | 0%

## Description

The village size is 19 x 19 tiles, with at least 70% of solid tiles. The main organization is the same whatever the village: all buildings are connected to a path, which directly goes into the city center. The center is generally composed of decorative elements like flower pots, benches, and sometimes a fountain. Village is also light up with streets lanterns and torches.

The image below shows an example of typical city center.

## Buildings

By default, every village is equipped with a central town hall and a handful of huts. The town hall serves as the administrative center of the village and offers various functions to the player. One of its key features is the ability to purchase plans for new buildings, which can be unlocked by fulfilling certain resource requirements. This system encourages the player to explore and gather the necessary resources in order to expand their village and unlock new structures and opportunities.

## Reputation

### Mechanics

The player's reputation within a village plays an important role in their interactions with the villagers. The reputation is a measure of how the villagers perceive and trust the player. It can be increased through various actions such as engaging in trades, completing quests successfully, or giving gifts to villagers. These positive interactions help build a good reputation and foster friendly relations. On the other hand, the player's reputation can be significantly reduced if they make unfavorable actions such as requesting favors from villagers too frequently or engaging in attacks against the villagers. These negative behaviors lead to a loss of trust and a decrease in reputation.

### Range

The player's actions and behaviors within a specific village will determine its reputation only within that particular village. So, while the player may have a positive reputation in one village, it could have a completely different reputation in another village, depending on its interactions and conduct within each location. The reputation value is directly visible in the town hall.

### Levels

Reputation is a quantifiable value that is translated into six distinct levels, serving as a measure of the player standing within the game world:

* Public enemy (below -400)
* Nuisance (between -400 and -50)
* Stranger (between -50 and 200). Note that the default reputation value is always 0 when the player enters in a new village.
* Regular trader (between 200 and 1000)
* Friend (between 1000 and 5000)
* Leader (above 5000)

Note: A public enemy reputation status restricts the player from engaging in trade or chat with villagers. This means that due to their negative reputation, villagers will refuse to interact with the player, denying them the opportunity to trade goods or engage in dialogue.

### Detailed reputation table

Reputation is changed when the player trades, asks, or gives something to a villager. The earned reputation is a factor between the item price (named IP) and the planet situation. A more favorable planet condition contributes to an enhanced reputation. The table below shows how much reputation is improved per action. Note that the maximum reputation points earned per action cannot exceed +200.

* If villager dislike this item: -IP
* Other: +IP/4
 Too low supply
* If villager dislike this item: -IP
* Other: +IP/3
 Missing leisures
* If villager dislike this item: -IP
* Other: +IP/2
 Excellent
* If villager dislike this item: -IP
* Other: +IP/1

Some examples are given below:

* Player gives an item to a villager costing 80 stellarcoins, in a planet with an unsafe situation: it gains +80/4 = +20 reputation
* Player gives an item to a villager costing 80 stellarcoins, in a planet with an excellent situation: it gains +80/1 = +80 reputation
* Player gives an item to a villager costing 80 stellarcoins, in a planet with an excellent situation. But the villager doesn't like that : it loses -80/1 = -80 reputation
* Player trade an item to a villager costing 80 stellarcoins, in a planet with a too low supply situation: it gains +80/3 = +26 reputation
* Player asks an item to a villager costing 80 stellarcoins, in a planet with a missing leisure situation: it loses -80/2 = -40 reputation

Having an excellent situation is always interesting as it gives more reputation when something is given to a villager, but it cost less when something is asked.

## Number of beds

The various types of houses have an influence on the number of beds. This number has no link with beds themselves. The number of beds provided by each house influences the population of villagers appearing outside the city. If there are more beds available in the village, it attracts a larger number of villagers who will progressively appear. This dynamic creates a sense of expansion and growth as the player increases the number of houses in the village, leading to a greater number of villagers appearing and engaging in activities. It also adds depth to the village development aspect of the game, encouraging the player to strategically manage housing options to attract and accommodate a thriving population.

The number of bed per house is given in the table below. For each new bed, a new villager can appear outside.

 Apartment | 2

## Power

Each village gives power to the current planet. The power depends of the number of buildings, and the buildings themselves. A small building like a hut gives a small power, whereas an evolved building like an hangar gives a higher power.

The table of power for each building is given in the table below. It is possible to know the current village power by doing a right click on the town hall. The power has currently no impact on the game, except to know if many buildings have been built.