Valleys
The map is seeded with a belt of valleys: unowned map sites with a terrain type and a level from 1 to 10. A city that conquers a valley gains a production bonus on one resource for as long as it holds it, and a city may hold as many valleys as its Town Hall level allows. Valleys sit on the same grid as towns and barbarian settlements and show up in the same GET /api/v1/map/occupants/ listing.
What a valley is
A valley is a map occupant like a settlement: a row with a name (Lake Valley 12-7), a garrison, and a tile — but with no owner player, no buildings, no walls, no stock and no hero. Three fields on the occupant listing mark it:
| Field | Meaning |
|---|---|
town.valley_type | The terrain type — one of grassland, swamp, lake, hill, desert, forest. null on a town, colony or barbarian settlement. |
town.valley_level | Its current level, 1–10. |
town.valley_owner_town_id | The id of the city holding it, or null while it is unowned. Ownership belongs to a city, never to a player: the bonus lands on the capturing city, and a city that changes hands keeps its valleys. |
A valley’s npc_level is always null and its town_type is "normal" — valley_type is the discriminator. GET /api/v1/map/towns/{town_id} only describes player-owned towns, so looking a valley up there returns 404, exactly as it does for a barbarian settlement; a valley’s card is GET /api/v1/valleys/{valley_id} instead.
Types and the production bonus
Each type boosts one resource for the city that holds it. The bonus depends on the valley’s level, and it is frozen at the level the valley had when it was captured — the daily cycle below stops the moment a valley is held.
| Type | Resource | Lv 1 | Lv 2 | Lv 3 | Lv 4 | Lv 5 | Lv 6 | Lv 7 | Lv 8 | Lv 9 | Lv 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Grassland | food | 3% | 4% | 5% | 6% | 7% | 8% | 9% | 10% | 11% | 12% |
| Swamp | food | 5% | 7% | 9% | 11% | 13% | 15% | 17% | 19% | 21% | 23% |
| Lake | food | 8% | 11% | 14% | 17% | 20% | 23% | 26% | 29% | 32% | 35% |
| Hill | iron | 5% | 7% | 9% | 11% | 13% | 15% | 17% | 19% | 21% | 23% |
| Desert | stone | 5% | 7% | 9% | 11% | 13% | 15% | 17% | 19% | 21% | 23% |
| Forest | wood | 5% | 7% | 9% | 11% | 13% | 15% | 17% | 19% | 21% | 23% |
Lakes are the best food valleys and hills the only source of an iron bonus. Several valleys held by one city stack additively: two level-10 lakes are +70% food, not +35% twice over.
The table is realm configuration (valleys.types[].bonus_per_level), so a realm may run different numbers; the shipped realms use exactly the table above. GET /api/v1/valleys/{valley_id} reports the bonus a valley grants at its level, and your own held valleys are listed with theirs on each town in game state.
The bonus on your production
A held valley raises the holding city’s production of its resource. Its bonus is one more term of the same additive sum as the city’s researched production boosts and its Mayor’s Politics — Evony’s production tab summed every bonus off base production, never compounding them — so what a city makes of a resource is
production = buildings' rate × own_ground × (1 + research + Politics + sum of the bonuses of every held valley for that resource)where own_ground is what the city’s own tile grants that resource — 1.0 on the shipped realms: since valleys arrived, a city’s own ground confers nothing (in Evony, building on a higher-level flat gave no bonus, and a permanent +50% for standing on fertile land would dwarf the whole valley ladder). A realm that does grant a scenery bonus keeps it as the one multiplicative term. The bonus applies to what the city’s buildings produce and never touches resources already in storage.
Worked example: a city holding a level-10 lake (+35%) and a level-6 lake (+23%) with no research and no mayor produces food at 1 + 0.35 + 0.23 = 1.58 times its buildings’ rate; its wood, stone and iron are untouched. Add a level-10 hill and iron runs at 1.23×. Give that city Agriculture 10 (+100%) and a 150-Politics mayor and food runs at 1 + 1 + 1.5 + 0.58 = 4.08× — not 4.5 × 1.58. (Until the K.11 economy audit the valley term compounded with research and the mayor; it now sums with them, which is the Evony rule and slightly lowers a heavily researched, mayored city’s yield from its valleys.)
A capture never applies backwards. The moment a capture resolves, the capturing city’s resources are settled at the multiplier it had before the capture (its ground and the valleys it already held), and only production from that moment on runs at the new rate. Losing a valley — to an attacker, or by abandoning it — settles the city the same way first, so the window that already ran under the bonus keeps it. The bonus is read from the valley’s frozen level: a valley held for a month grants exactly what it granted on the day it was taken.
Each town in GET /api/v1/state/ lists its held valleys under valleys — id, valley_type, level, resource_id, bonus (the fraction at that level) and position — and valley_cap, how many its Town Hall lets it hold. The town’s production rate already includes every held valley’s bonus; the list is the breakdown.
Computer-led players want valleys too: a Warlord or a Steward with room under its Town Hall cap will march a capture party at the best unowned valley in reach it judges it can take — see Computer-led players.
Levels and the daily cycle
An unowned valley gains one level every 24 hours (scaled by the realm’s time_scale, like every other timer), climbing from 1 to 10 and then resetting to 1 to climb again. Watch a valley you want at a particular level: a level-10 lake is level 1 again the next day.
Each cycle also respawns the valley’s garrison to the full strength for its new level. Between cycles a garrison you have fought stays damaged — chipping at a valley over several attacks in one day is legal, and the next cycle is what refills it.
A held valley does not cycle at all: its level, and so its bonus, stays where it was when captured. Abandoning a valley puts it back on the daily cycle from that level, with a fresh garrison.
Valleys are seeded with their levels and their first cycle times spread out, so a season’s belt is never all at one level or all levelling at the same moment.
The garrison
Each valley level has a fixed garrison drawn from five unit types — warriors, pikemen, swordsmen, archers and cavalry. Archers appear from level 4 and cavalry from level 6; warriors are always the largest contingent, and every count rises with the level. A valley has no walls, no fortifications and no defending hero, so a fight there is a plain field battle against the garrison. Its exact numbers per level are realm configuration (valleys.garrison_per_level); scouting a valley tells you what stands there.
How many valleys a city may hold
A city holds as many valleys as its Town Hall level: one at level 1, two at level 2, up to ten at level 10 (valley_cap_per_level on the Town Hall, published by GET /api/v1/valleys/types). A town without a completed Town Hall holds none. The cap is enforced when a capture is dispatched — valleys the city already holds plus its capture attacks still in flight must stay below it, so a city one short of its cap cannot launch two captures at once — and checked again when the attack lands (see Capturing a valley). A colony has a Town Hall too and may hold valleys under the same rule.
Capturing a valley
Capture is an ordinary attack with on_clear: "capture" — Evony’s “occupy” — dispatched from the city that should get the bonus. There is no capture range: any city may take any valley in its season.
POST /api/v1/attacks/{ "origin_town_id": "your-city-uuid", "target_town_id": "valley-uuid", "units": {"swordsman": 60}, "on_clear": "capture"}At dispatch the attack is refused (400) when:
| Detail | Cause |
|---|---|
| Capturing another valley would exceed this city’s Town Hall limit of N (held held, k capture attacks already in flight). | The origin city’s Town Hall cap (above). |
| Cannot attack a valley held by one of your own cities. | The valley is already yours — whatever the intent; a plunder would only kill your own reinforcements. |
| Your alliance has a pact with that alliance… (and the rest of the diplomacy table) | The valley is held by a city whose lord you may not attack: an alliance-mate, a pact partner, a truced lord, or you are truced yourself. An unowned valley skips diplomacy entirely — like a barbarian, it is nobody’s, and you may take it even under your own truce. |
| Only barbarian settlements can be razed. | raze is not a valley intent. plunder is allowed and is a plain fight: no loot (a valley has no stock), no change of hands. |
Attacking or scouting a valley never forfeits your beginner protection — even a valley another player holds. Attacking any town does.
Every response for an attack on a valley — dispatch, PATCH, the attacks list, and the battle report — carries target_valley: {"valley_type": ..., "valley_level": ...} so a client can label the march without a separate GET /api/v1/valleys/{valley_id} call; see Battle Reports.
At arrival the fight is a plain field battle against the garrison — no wall, no fortifications, no defending hero, and never a closed-gate battle (battle_inputs.defender_gates_open is always true on a valley). A losing attack changes nothing: the valley stays where it was, its garrison stays damaged until the next cycle (or the next abandon) refills it. A win that clears the garrison captures the valley for the attacking city when:
- at least one attacker survived (
no_survivorsotherwise — defence in depth, the engine never reports a win without a survivor); - the dispatching player still exists (
owner_goneotherwise); - the valley is not already the attacking player’s (
already_owned— reachable only when an earlier capture of yours landed while this march was still in the air); - the capturing city’s Town Hall cap still has room (
valley_cap— re-checked here because a capture or a demolition mid-flight moves it).
When one of those fails the win falls back to plunder: the battle report’s intent_fallback_reason names why, and you also receive a valley_capture_denied event carrying the same reason. The march is never lost.
On a capture: the valley’s valley_owner_town_id becomes the capturing city, its level freezes (next_cycle_at goes null), captured_at is stamped, its garrison is empty (the defenders died) and your army marches home on the ordinary return leg — nothing garrisons a valley by itself, so reinforce it if you mean to keep it: a held valley with no troops flips to whoever wins there next, even to a party of scouts. If the valley was held, its previous holder’s reinforcements are written off — they died with the garrison, exactly like support in a captured town — and the previous holder receives a valley_lost event; you receive valley_captured. A city that changes hands keeps its valleys — ownership belongs to the city. Capture ends the resolution batch for that valley: any other attack that landed in the same instant resolves on the next tick against the new state.
A hero leading an attack that is wiped out at a valley — held or not — is wounded and recuperates at home, never captured: there is no defending lord at a valley to take a prisoner, so it is the barbarian rule, not the player-town one. The valley’s holder cannot capture your hero and you cannot capture theirs.
A cleared valley pays the same spin roll as a barbarian clear of that level, and a named medal rolled at the same drop rate but drawn from the valley drop table at the valley’s level (level 1–2 valleys drop Cross or Rose, mid levels Lion through Wisdom, level 7–8 Wisdom or Freedom, level 9 Honor/Courage/Justice, level 10 Lion/Honor/Courage — Medals), behind the same manned-garrison gate: an empty valley earns nothing. There is no honor, no prestige exchange, no loyalty grind and no post-attack truce — a valley has none of those. Item drops stay barbarian-only.
The valleys quest line tracks the same thing from a different angle: ten quests, one per level, each met while you hold a valley at or above that level (not merely having cleared one once) — the ordinary quest rule applies, so the first time your quest list or a claim observes the condition met, it is recorded for good, even if you lose the valley afterward. They pay food rising from 1,000 at level 1 to 200,000 at level 10, and the first three rungs also pay a War Horn, Corselet, or Penicillin item.
Abandoning a valley
POST /api/v1/valleys/{valley_id}/abandonGives up a valley one of your cities holds and returns the updated valley card. The valley becomes unowned at once with a fresh full garrison for its current level (its level is not reset), goes back on the daily cycle one full interval out, and any reinforcements you or your allies garrisoned there march home — they are alive, so every one comes back. Frees a slot of the city’s Town Hall cap. You receive a valley_abandoned event.
| Status | Cause |
|---|---|
400 This valley is not held by any city. | It is already unowned. |
403 This valley is not held by one of your cities. | Someone else holds it. |
404 Valley not found. | Not a valley of your season (a town’s id, for example). |
The same release happens to every valley of a city that is razed (a colony cleared in battle, or any town of a player who deletes their player) or deleted with DELETE /api/v1/towns/{town_id}: unowned, fresh garrison, back on the cycle, reinforcements home.
If you abandon a valley at the very moment the colony holding it is being razed, the abandon always goes through. The battle that razes the colony then resolves on the next resolver tick, a few seconds later, and finds the valley already released. Other battles due at the same time are not held up.
Reinforcing a valley
Send support to a held valley to garrison it. Only the holder and the lords it admits (same alliance, or a live ALLY or NAP pact) may reinforce, and the holder can send any party home; there is no Embassy at a valley and no party limit — instead the garrison is capped at reinforcement_troop_cap troops in total (1,250,000 on the shipped realms), and a party arriving past it rides home. Reinforcements fight any attacker as plain valley defenders. A party that arrives at a valley that no longer admits it — lost, abandoned, or no longer allied — turns straight around, and one already standing there goes home when that relationship ends. Reinforcements at a valley pay no food upkeep (a deliberate deviation from Evony’s doubled upkeep; economy semantics are revisited later).
Scouting a valley
Scout a valley like any target: the report records its type, level and holding city at every detail tier, and grades its garrison — exact counts or count-word bands — by your tier like a town’s. A valley has no gate, no research and no beacon, so it is always the open-gate scout war: reinforce a held valley with scouts and it screens arriving parties.
Where valleys are
Valleys are placed once, when the season’s map is seeded — or, for a season that predates them, backfilled on the next server start — as a belt of a fixed size per realm (90 on the shipped 50×50 realms), respecting the same minimum distance from every town, settlement and other valley that founding does. They never move and nothing creates a new one mid-season.
A valley’s type follows the terrain it stands on: lakes, swamps and grasslands lie in the fertile country and on the plains, hills and deserts in the mountains, forest valleys in the forests. The terrain itself is untouched — the terrain listing and its cache validators are exactly what they were before the belt existed, because a valley’s level and owner are occupant fields, never terrain.
Seeing valleys on the map
Poll GET /api/v1/map/occupants/ as usual. A valley row looks like this:
{ "x": 12, "y": 7, "town": { "id": "uuid", "name": "Lake Valley 12-7", "npc_level": null, "town_type": "normal", "valley_type": "lake", "valley_level": 6, "valley_owner_town_id": null }}The daily level change and a change of owner are both changes for the delta poll: re-polling with since returns the valley’s row with its new valley_level or valley_owner_town_id, exactly as a barbarian settlement’s growth is returned.
Endpoints
GET /api/v1/valleys/types
The realm’s valley rulebook, pure configuration — read it once per session:
{ "max_level": 10, "cycle_interval_hours": 24, "reinforcement_troop_cap": 1250000, "valley_cap_per_level": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "types": [ {"id": "lake", "name": "Lake", "resource_id": "food", "scenery_tile_types": ["fertile", "plains"], "bonus_per_level": [0.08, 0.11, 0.14, 0.17, 0.20, 0.23, 0.26, 0.29, 0.32, 0.35]} ], "garrison_per_level": {"1": {"warrior": 8, "pikeman": 4}}}valley_cap_per_level[i] is how many valleys a city with Town Hall level i + 1 may hold; bonus_per_level[i] the fraction added at level i + 1; garrison_per_level what defends an unowned valley at each level. 404 in a realm without valleys.
GET /api/v1/valleys/{valley_id}
One valley’s card:
{ "id": "uuid", "name": "Lake Valley 12-7", "valley_type": "lake", "valley_level": 6, "x": 12, "y": 7, "resource_id": "food", "bonus": 0.23, "owner": { "town_id": "uuid", "town_name": "Devtown", "owner_username": "dev", "owner_alliance_name": "The Free", "owner_alliance_tag": "FREE", "diplomatic_status": "Allied" }, "captured_at": "2026-09-17T08:00:00Z", "next_cycle_at": null}owner is null while the valley is unowned, and diplomatic_status is your standing toward the holder (Truce / Allied / War / Peace, as on a town’s card; a valley has no protection window of its own, so Truce only ever means the holder is under a Truce Agreement). next_cycle_at is set only while unowned, captured_at only while held. 404 for anything that is not a valley of your season. The garrison is not on the card — scout it.
POST /api/v1/valleys/{valley_id}/abandon
See Abandoning a valley. Returns the card above.
Events
valley_captured (to the captor), valley_lost (to the previous holder), valley_abandoned and valley_capture_denied are documented with their payloads on the events page.