docs: coins pay for villages, not noblemen; a conquest without a free slot leaves loyalty at 0 (no_coins)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Fabian @ Blax Software 2026-10-31 10:53:30 +01:00
parent 1c33ba117f
commit 13c509f919
2 changed files with 7 additions and 7 deletions

View File

@ -52,9 +52,9 @@ return [
'loyalty' => ['max' => 100, 'regen_per_hour' => 1.0, 'drop' => [20, 35], 'after_conquest' => 25], 'loyalty' => ['max' => 100, 'regen_per_hour' => 1.0, 'drop' => [20, 35], 'after_conquest' => 25],
// Noblemen don't march further than this many fields (0: no limit). // Noblemen don't march further than this many fields (0: no limit).
'max_distance' => 100, 'max_distance' => 100,
// Coins minted at the academy. Noble slots grow with coins: the n-th slot needs n // Coins minted at the academy pay for villages, not noblemen. Each village beyond
// more coins (1, 3, 6, 10, …). Each nobleman alive and each village beyond the // the first takes a slot, and the n-th slot needs n more coins (1, 3, 6, 10, …).
// first takes a slot. // A conquest without a free slot leaves loyalty at 0 and the noblemen go home.
'coin_cost' => ['wood' => 28000, 'clay' => 30000, 'iron' => 25000], 'coin_cost' => ['wood' => 28000, 'clay' => 30000, 'iron' => 25000],
], ],
]; ];

View File

@ -261,12 +261,12 @@ Barbarian camps raid the player villages around them (`config/game/raids.php`, r
Villages change hands the Die Stämme way (`combat.conquest`, rules in `Conquest`, rows in `Nobility`): Villages change hands the Die Stämme way (`combat.conquest`, rules in `Conquest`, rows in `Nobility`):
- **Loyalty** runs from 0 to 100 and is stored with `loyalty_at`; it grows back `regen_per_hour` × world speed (1/h) lazily, like resources. - **Loyalty** runs from 0 to 100 and is stored with `loyalty_at`; it grows back `regen_per_hour` × world speed (1/h) lazily, like resources.
- **Coins** are minted at an academy (`village.mint {village_id, count}`, 28000/30000/25000 each) and belong to the player. Noble slots grow with coins: the n-th slot needs n more coins (1, 3, 6, 10, …). Every nobleman alive (home, away, under way, in training) and every village beyond the first takes a slot; training one needs a free slot (`coins`). - **Coins** are minted at an academy (`village.mint {village_id, count}`, 28000/30000/25000 each) and belong to the player. They pay for villages, not noblemen. With c coins a player may hold 1 + slots(c) villages, and the n-th slot needs n more coins: the 2nd village needs 1 coin, the 3rd 3 in total, the 4th 6, the 5th 10. A conquest doesn't spend them; they are a threshold. Training a nobleman needs the academy and its cost, nothing else.
- Noblemen march at most `max_distance` (100) fields (`too_far`). - Noblemen march at most `max_distance` (100) fields (`too_far`).
- Every nobleman that survives a won attack lowers loyalty by an even draw from 20 to 35 (the movement's seed, after the luck draw). At 0 or below the village goes to the attacker: one nobleman settles, the other survivors stay as support from their home village, and nothing is looted. Loyalty starts again at 25. - Every nobleman that survives a won attack lowers loyalty by an even draw from 20 to 35 (the movement's seed, after the luck draw). At 0 or below the village goes to the attacker if the attacker's coins pay for one more village (`Conquest::canTake`): one nobleman settles, the other survivors stay as support from their home village, and nothing is looted. Loyalty starts again at 25. Without a free slot the village stays with its owner at loyalty 0 and grows back as usual. Every nobleman survives and goes home with the other survivors and the loot, as after any won attack.
- The handover (`Nobility::handOver`) ends the village's build and recruit queues and its levy without refunds, deletes the old owner's commands from it and troops on their way home to it, and drops its support standing elsewhere. Barbarian villages can be taken too. Attack and defence reports carry `loyalty: {before, after, conquered}`. - The handover (`Nobility::handOver`) ends the village's build and recruit queues and its levy without refunds, deletes the old owner's commands from it and troops on their way home to it, and drops its support standing elsewhere. Barbarian villages and crown forts can be taken too, under the same coin rule. Attack and defence reports carry `loyalty: {before, after, conquered, no_coins}`. `no_coins` is true when loyalty reached 0 but the coins paid for no more villages.
- A player who loses the last village joins the world again with a fresh one (`world.join`). - A player who loses the last village joins the world again with a fresh one (`world.join`).
- The village payload carries `loyalty`, `conquest: {coins, slots, used, next_slot_coins, coin_cost, max_distance}` and `villages` (the player's villages in the world, for the switcher). - The village payload carries `loyalty`, `conquest: {coins, slots, used, next_slot_coins, coin_cost, max_distance}` and `villages` (the player's villages in the world, for the switcher). `slots` are the villages beyond the first that the coins pay for, `used` the ones held, and `next_slot_coins` the coins in total for one more.
## Tribes ## Tribes