Research
Each of your towns can research technologies to gain permanent bonuses for that town. Technologies are leveled: every technology has up to 10 research levels, each level costs and takes twice the previous one, and each level adds one more helping of the technology’s per-level effect (e.g. +10% food production per level — level 10 is +100%). Each technology is defined in the realm YAML config.
Overview
- Research building required: The town you research in must have a building with
enables_research: true(e.g. the Academy) at level >= 1. Each town researches independently at its own Academy. - One at a time: Only one technology can be researched at a time per town — a large empire researches several technologies at once, one per Academy-equipped town.
- Leveled:
POST /api/v1/research/always researches the technology’s next level in that town. Atmax_level(10 for every shipped technology) it returns400. - Applies locally: a researched technology buffs only that town — its production, its build times, its Warehouses, and its troops when they defend it or march to attack from it (including what those troops can carry home and how well they pierce a rival’s Warehouse). Reaching full tech across an empire is a per-city grind. (This includes Construction, which in Evony alone applied to every city at once; in Restfall it is per-town like everything else.) See Research is per town — this is permanent.
- Resources deducted immediately: The next level’s cost is taken from the researching town when research begins. Each level costs double the previous one.
- Automatic completion: A finished level is applied by the server within a few seconds of its finish time, incrementing the technology’s level. Its production bonus counts from the finish time exactly, not from when it is applied and not from your last collect: the town is settled up to
finished_atat the old level first, so an hour of production before the finish is worth the old level’s rate and every hour after it the new one, however long you leave the town uncollected. See Levels change at the finish instant. - Prerequisites: Some technologies require other technologies at level 1 or above first, in that same town. Some also require a specific building in that town beyond the research building (e.g. Mining needs a Mine built there).
- Academy level unlocks technologies: every technology carries a
requires_research_building_level— the minimum level of the town’s research building (the Academy) for every level of that technology, checked in the town you research in. A level-1 Academy researches Agriculture, Lumbering and Military Science; Privateering needs a level-10 Academy. See Academy unlocks. - Config-driven: All technologies, per-level costs, times, and bonuses are defined in the realm YAML configuration.
Research is per town
Research belongs to a town, not to you. Every technology level you own was researched in one specific town, is stored on that town, and only ever affects that town. This is permanent — a deliberate, settled divergence from Evony, where the Academy tree was empire-wide and one research served every city you held.
What it means in practice, once you hold more than one town:
- Every town starts from zero. A second town does not inherit anything the first researched. Its Agriculture is level 0 on the day it is founded, whatever your capital has reached.
- Every town needs its own research building.
POST /api/v1/research/requires an Academy (a building withenables_research: true) at level ≥ 1 in the town you name. No Academy there, no research there. - Prerequisites are checked town-locally too. A technology that requires another at level ≥ 1, a specific building, or an Academy of a given level, needs them in that same town — your capital’s Mining does not unlock Metal Casting anywhere else, and its level-6 Academy does not let a level-2 Academy elsewhere research Stockpile.
- You research in parallel, not faster. The “one technology at a time” limit is per town, so an empire of five Academy towns runs five research jobs at once — but each of them grinds its own ladder, and the cost of each level doubles in each town separately.
- Bonuses apply where they were earned. A town’s production, build times, training times, Warehouse floor, scouting depth and its own defence use its levels; an army uses the levels of the town it marched from. Nothing pools across your empire. See Technology Bonuses.
- A Mayor’s Intelligence speeds up only their own town’s research. Research time is
base × 0.995 ^ intelligenceusing the mayor seated in that town; a brilliant mayor in your capital does nothing for a research job running anywhere else. - Captured towns bring their research with them. Ownership transfers whole — the town’s technology levels carry over to the new owner exactly as they stood.
The trade-off is intentional: full tech across an empire is a per-city grind rather than a one-time unlock, which keeps a large empire expensive to run and makes a well-developed town worth defending — and worth taking.
List Available Technologies
GET /api/v1/research/technologies/
Returns all technologies defined for the current realm, with full per-level cost/time tables, prerequisites, and per-level bonuses.
import httpx
response = httpx.get( "http://localhost:8731/api/v1/research/technologies/", headers={"Authorization": "Bearer your-token-here"},)print(response.json())curl http://localhost:8731/api/v1/research/technologies/ \ -H "Authorization: Bearer your-token-here"const response = await fetch("http://localhost:8731/api/v1/research/technologies/", { headers: { Authorization: "Bearer your-token-here" },});const technologies = await response.json();Example response (standard pagination envelope — limit/offset query params, with technologies under results; per-level arrays are indexed by target level minus one, truncated here for brevity):
{ "count": 1, "limit": 50, "offset": 0, "results": [ { "id": "agriculture", "name": "Agriculture", "description": "Each level increases food production on farms by 10% of base production.", "max_level": 10, "cost_per_level": [ [{"resource_id": "food", "amount": 500}, {"resource_id": "gold", "amount": 1000}], [{"resource_id": "food", "amount": 1000}, {"resource_id": "gold", "amount": 2000}] ], "research_time_per_level": [400, 800], "requires_building": "Academy", "requires_research_building_level": 1, "requires_technologies": [], "production_boost_per_level": {"food": 0.1}, "combat_attack_bonus_per_level": 0.0, "combat_defense_bonus_per_level": 0.0, "training_time_factor_per_level": 1.0, "training_speed_boost_per_level": 0.0, "training_speed_unit_class": null, "march_speed_boost_per_level": 0.0, "march_speed_unit_classes": [], "construction_time_factor_per_level": 1.0, "warehouse_capacity_boost_per_level": 0.0, "carry_capacity_boost_per_level": 0.0, "warehouse_protection_reduction_per_level": 0.0, "army_hp_boost_per_level": 0.0, "fortification_endurance_boost_per_level": 0.0, "range_boost_per_level": 0.0, "fortification_repair_boost_per_level": 0.0 } ]}cost_per_level[0] / research_time_per_level[0] are level 1’s cost and base time; cost_per_level[9] is level 10’s. Every shipped technology doubles both per level.
Start Researching
POST /api/v1/research/
Begins researching the technology’s next level in a specific town — pass its town_id (in backticks: town_id) in the request body alongside technology_id. Returns 201 Created. The next level’s resources are deducted immediately from that town. The level finishes after its research_time_per_level seconds, divided by the realm’s time_scale; a Mayor idle in the town further multiplies it by 0.995 ^ intelligence. The duration is locked in when the research starts.
import httpx
response = httpx.post( "http://localhost:8731/api/v1/research/", headers={"Authorization": "Bearer your-token-here"}, json={"technology_id": "agriculture", "town_id": "your-town-uuid"},)print(response.json())curl -X POST http://localhost:8731/api/v1/research/ \ -H "Authorization: Bearer your-token-here" \ -H "Content-Type: application/json" \ -d '{"technology_id": "agriculture", "town_id": "your-town-uuid"}'const response = await fetch("http://localhost:8731/api/v1/research/", { method: "POST", headers: { Authorization: "Bearer your-token-here", "Content-Type": "application/json", }, body: JSON.stringify({ technology_id: "agriculture", town_id: "your-town-uuid" }),});const research = await response.json();Example response — level is the completed level; "completed": false means level level + 1 is being researched (here: a town with Agriculture 1 researching level 2):
{ "id": 1, "town_id": "your-town-uuid", "yaml_id": "agriculture", "started_at": "2026-03-26T12:00:00Z", "finished_at": "2026-03-26T12:13:20Z", "completed": false, "level": 1}Errors:
400— Unknown technology, already researching in this town, technology already at maximum level in this town, missing prerequisites in this town, insufficient resources, no placed town, no research building, missing the building the technology requires, or the town’s research building below the technology’srequires_research_building_level(the detail names the level, e.g.'Stockpile' requires this town's research building at level 6 or higher (currently level 3).).
View Research Status
GET /api/v1/research/
Returns one record per (town, technology) pair for the current player, wrapped in the standard pagination envelope (count, limit, offset, results); each record in results has the same shape as the start-research response. A finished level is applied automatically within a few seconds, so just-finished entries may briefly show "completed": false with the old level.
import httpx
response = httpx.get( "http://localhost:8731/api/v1/research/", headers={"Authorization": "Bearer your-token-here"},)print(response.json())curl http://localhost:8731/api/v1/research/ \ -H "Authorization: Bearer your-token-here"const response = await fetch("http://localhost:8731/api/v1/research/", { headers: { Authorization: "Bearer your-token-here" },});const research = await response.json();Speeding up research
There is no resource-priced speedup for research — the only way to bring a running job forward is a Speed Up item. The four ordinary Guidelines take a fixed amount off (15 minutes, 1 hour, 2.5 hours, 8 hours), Master Guidelines draws between 10 and 30 hours, and Ultimate Guidelines takes 30% off the time still remaining — so it is worth most on a long level used early.
Point one at a research job with the row’s own id, which
GET /api/v1/research/ returns:
{ "quantity": 1, "target": { "research_id": 7 } }POSTed to /api/v1/items/{item_id}/use. The row must still be running
("completed": false); a finished one, or a job whose timer has already run
out and is merely waiting for the resolver, answers 404. Napoleon’s Diary
may be used on a research level too (30% of the time left, once per
level’s job: starting the next level clears the limit), but Archimedes’ Note
cannot — it is scoped to wall fortifications, and pointing it here is a
400. There is no per-order limit on Guidelines, and they do not consume the
speedup_max_uses that governs the paid building speedup, so several may be
spent on one level. See Speedup for the whole
mechanic.
Technology Bonuses
Technologies provide permanent bonuses to the town that researched them — not to the player, and not to your empire as a whole. All effects are per level and additive: at level L a technology grants L times its per-level value. The exceptions are the two time factors, training_time_factor_per_level and construction_time_factor_per_level, which compound — each level multiplies the time by the factor again.
| Bonus Field | Effect |
|---|---|
production_boost_per_level | Per-resource multiplier on production from that town’s own buildings, per level — e.g. {"food": 0.1} = +10% food per level, +100% at level 10. Applied to resources accrued after each level’s finished_at (not to amounts already stored, and not to the part of an open accrual window that lies before the finish), on top of any tile bonus |
combat_attack_bonus_per_level | Additive bonus multiplier per level, applied when an army marches from that town to attack — the army carries its origin town’s research, not the player’s |
combat_defense_bonus_per_level | Additive bonus multiplier per level, applied when that town defends itself |
training_time_factor_per_level | Compounding multiplier on troop training time in that town — Military Science’s 0.9 means each level takes 10% off the remaining time: level 1 trains at 90% of base time, level 2 at 81%, level 10 at ~35%. 1.0 = no effect |
training_speed_boost_per_level | Additive training speed bonus per level — training time is divided by 1 + boost × level. Metal Casting’s 0.1 at level 5 divides siege training time by 1.5 |
training_speed_unit_class | Optional unit-class scope for the speed bonus: "infantry", "cavalry", or "machine". Metal Casting is scoped to "machine" (siege engines); null applies it to every class |
march_speed_boost_per_level | Additive march speed bonus per level for marches dispatched from that town — a covered unit’s marching speed is multiplied by 1 + boost × level before the march’s slowest-unit pace is taken (see Travel Time). Compass grants infantry 0.1 per level; Horseback Riding grants cavalry and siege machines 0.05 |
march_speed_unit_classes | Unit classes the march-speed bonus covers ("infantry", "cavalry", "machine"). Compass is ["infantry"], Horseback Riding ["cavalry", "machine"]; an empty list covers every class |
construction_time_factor_per_level | Compounding multiplier on that town’s build times — new constructions, upgrades, and wall fortification builds alike. Construction’s 0.9 means each level takes 10% off the remaining time: level 1 builds at 90% of base time, level 2 at 81%, level 10 at ~35% (a one-minute build takes 21 seconds). 1.0 = no effect |
warehouse_capacity_boost_per_level | Additive bonus on that town’s Warehouse protection — the summed plunder-protected floor is multiplied by 1 + boost × level. Stockpile’s 0.1 at level 5 turns a level-1 Warehouse’s 10,000 into 15,000; level 10 doubles it. It does not raise the storage ceiling |
carry_capacity_boost_per_level | Additive bonus on the carry capacity of armies that march from that town — the survivors’ summed carry_capacity is multiplied by 1 + boost × level (rounded down) before loot is computed (see Raiding). Logistics’ 0.1 at level 5 lets 8 swordsmen (160) haul 240; level 10 doubles the load. Applies against player towns and barbarian settlements alike |
warehouse_protection_reduction_per_level | Additive piercing of a defender’s Warehouse protection by armies that march from that town — the defender’s protected floor (after its own Stockpile) is multiplied by 1 − reduction × level, never below 0. Privateering’s 0.03 at level 10 cuts a 10,000 floor to 7,000. Barbarian settlements have no Warehouse, so it never changes what a settlement yields |
army_hp_boost_per_level | Additive army life (HP) bonus — every unit group on that town’s side of a battle soaks (hp + defense) × (1 + boost × level) damage per kill (see Casualties). Applies to the town’s own garrison when it defends and to armies that march from it; each side brings its own town’s level. Medicine’s 0.05 at level 10 makes every unit take 50% more damage to kill |
fortification_endurance_boost_per_level | Additive Wall and tower endurance bonus when that town defends — its Wall has wall_hp_per_level × (1 + boost × level) hit points per level, a siege must deal that same scaled figure to strip a level (see The Wall’s hit points), and each of its Archer’s Towers soaks (hp + defense) × (1 + boost × level). Engineering’s 0.1 at level 5 turns a 10,000-per-level Wall into 15,000; level 10 doubles it |
range_boost_per_level | Additive shooting range bonus for every ranged unit (range > 0, whatever its class — archers, ballistae, rams and catapults alike) on that town’s side of a battle: a group reaches floor(range × (1 + boost × level)) whole paces (see Range). Applies to the town’s own garrison when it defends and to armies that march from it; each side brings its own town’s level. The battlefield is whole paces, so the effect is step-wise: Archery’s 0.05 leaves a range-6 archer at 6 through level 3 and makes it 7 at level 4, 8 at level 7, 9 at level 10 |
fortification_repair_boost_per_level | Additive fortification repair bonus when that town defends — the share of each wall fortification type’s battle losses that rebuilds free at battle end is the realm’s base fortification_repair_rate × (1 + boost × level), rounded down per type and never more than was lost. Machinery’s 1.0 doubles the base at level 1 and makes it 11× at level 10 (33 of every 100 lost at the realms’ 3% base). A type of Archer’s Tower destroyed to the last one rebuilds nothing (Evony’s “reduced to zero” rule); a one-shot stock that fired rebuilds its share |
scouting_intel_per_level | Whole scouting intel levels per level — Informatics’ 1 gives a town level intel levels. A scouting mission from that town reports at the realm’s detail tier for min(intel, the town's completed Watchtower level), less the target’s own intel when the target’s gates are closed; deeper tiers add resources, exact garrison counts instead of count-word bands, wall fortifications and finally the target’s research levels. The same number is the town’s counter-intelligence behind closed gates: a level higher than the scouts’ turns them away, each lesser level pushes them one rung down the ladder |
Both production and combat bonuses stack additively across all of a town’s own researched technologies — a technology researched in one town has no effect anywhere else. Production boosts are reflected in that town’s live resource totals and in the per-second production rates returned by the game state endpoint, so your counters extrapolate correctly.
The Shipped Technologies
The fast and free realms ship all nineteen leveled technologies of the
Evony Age 1 Academy tree the realms are modeled on. Each has 10 levels;
each level doubles the cost and research time of the one before it:
| Technology | Level 1 cost | Level 1 time | Requires | Per-level effect |
|---|---|---|---|---|
| Agriculture | 500 food, 1,000 gold | 6m 40s | Academy level 1 | +10% food production |
| Lumbering | 500 wood, 100 iron, 1,200 gold | 8m 20s | Academy level 1 | +10% wood production |
| Masonry | 500 stone, 200 iron, 1,500 gold | 10m | Academy level 2 | +10% stone production |
| Mining | 800 iron, 2,000 gold | 11m 40s | Academy level 2, a Mine in the town, Masonry level 1+ | +10% iron production |
| Metal Casting | 500 wood, 500 iron, 5,000 gold | 15m | Academy level 3, a Workshop in the town, Mining level 1+ | +10% siege (machine) training speed — training time ÷ (1 + 0.1 × level) |
| Informatics | 300 food, 2,000 gold | 5m | Academy level 3 | +1 scouting intel level — scout reports from the town reach the tier for min(level, Watchtower level), less the target’s Informatics behind closed gates; the town’s own level turns back or blunts enemy scouts when its gates are closed |
| Military Science | 600 food, 100 wood, 100 stone, 150 iron, 2,500 gold | 15m | Academy level 1, a Forge in the town | +10% troop training speed, compounding — training time × 0.9^level |
| Compass | 600 food, 3,000 gold | 30m | Academy level 4, Military Science level 1+ | +10% infantry march speed — an infantry unit’s speed × (1 + 0.1 × level) |
| Horseback Riding | 1,000 food, 6,000 gold | 33m 20s | Academy level 5, a Stable in the town, Military Science level 1+ | +5% cavalry and siege-machine march speed — a covered unit’s speed × (1 + 0.05 × level) |
| Stockpile | 1,200 wood, 1,000 stone, 800 iron, 2,000 gold | 15m | Academy level 6, a Warehouse in the town, Lumbering level 1+ | +10% Warehouse protection — the town’s protected floor × (1 + 0.1 × level) |
| Construction | 2,000 wood, 2,000 stone, 2,000 iron, 5,000 gold | 30m | Academy level 5, Lumbering level 1+, Metal Casting level 1+ | +10% construction speed, compounding — build, upgrade and fortification time × 0.9^level |
| Logistics | 500 food, 200 stone, 3,000 gold | 26m 40s | Academy level 4, Military Science level 1+ | +10% army carrying capacity — an army marching from the town carries × (1 + 0.1 × level) |
| Privateering | 5,000 food, 2,000 iron, 10,000 gold | 1h | Academy level 10, Military Science level 1+, Informatics level 1+ | −3% effectiveness of the defender’s Warehouse protection — the floor × (1 − 0.03 × level) when an army from the town plunders |
| Medicine | 1,500 food, 3,600 gold | 30m | Academy level 6, Logistics level 1+ | +5% army life — every unit on the town’s side soaks (hp + defense) × (1 + 0.05 × level) per kill |
| Engineering | 2,500 wood, 3,000 stone, 1,500 iron, 6,000 gold | 35m | Academy level 8, Construction level 1+ | +10% Wall endurance — the town’s Wall has wall_hp_per_level × (1 + 0.1 × level) hit points per level when it defends |
| Archery | 800 wood, 500 stone, 600 iron, 5,000 gold | 40m | Academy level 4, Military Science level 1+ | +5% shooting range for ranged units — a group reaches floor(range × (1 + 0.05 × level)) paces, so a range-6 archer reaches 7 at level 4, 8 at level 7, 9 at level 10 |
| Machinery | 600 wood, 700 stone, 800 iron, 5,500 gold | 40m | Academy level 9, Metal Casting level 1+ | +1× base fortification repair rate — after a battle, each fortification type rebuilds base rate × (1 + level) of its losses for free (2× base at level 1, 11× at level 10); a tower stock destroyed to the last one rebuilds nothing |
| Military Tradition | 800 food, 120 wood, 200 iron, 3,000 gold | 20m | Academy level 2 | +5% army attack |
| Iron Working | 700 food, 150 wood, 300 iron, 3,500 gold | 25m | Academy level 3 | +5% army defense |
Academy unlocks
The “Academy level N” in the Requires column is the technology’s requires_research_building_level: the town’s research building must have completed that level before any level of the technology can be researched there — level 1 or level 10 alike. It is the Evony Age 1 Academy ladder, one number per technology (evony/docs/research.md, each technology’s “Requires: Academy Level N”):
| Academy level | Unlocks |
|---|---|
| 1 | Agriculture, Lumbering, Military Science |
| 2 | Masonry, Mining, Military Tradition |
| 3 | Metal Casting, Informatics, Iron Working |
| 4 | Logistics, Compass, Archery |
| 5 | Horseback Riding, Construction |
| 6 | Stockpile, Medicine |
| 8 | Engineering |
| 9 | Machinery |
| 10 | Privateering |
One deliberate simplification: Evony let Logistics level 1 through at Academy 3 and asked for Academy 4 from level 2 on. Restfall’s floor is a single number per technology, so Logistics needs Academy 4 from level 1 — one Academy level stricter than the source for that first level alone.
An under-construction Academy counts for nothing, and a demolished or downgraded one re-locks whatever it had unlocked — the floor is checked at every POST /api/v1/research/, not once. The research catalog publishes each technology’s floor as requires_research_building_level; the web client greys a technology out with “Academy level N” until the selected town’s Academy reaches it.
What research unlocks
Seven of the nineteen also gate unit training: a town can only train a unit once its own research reaches the listed level (and the training building reaches the unit’s Barracks level).
| Technology | Unlocks |
|---|---|
| Informatics | scout at level 1 |
| Military Tradition | pikeman at level 1 |
| Iron Working | swordsman at level 1, cataphract at level 5, ram at level 8 |
| Archery | archer at level 1, ballista at level 6, catapult at level 10 |
| Horseback Riding | cavalry at level 1, cataphract at level 5 |
| Logistics | transporter at level 1 |
| Metal Casting | transporter at level 3, ballista at level 5, ram at level 7, catapult at level 10 |
Mining, Metal Casting, Military Science, Horseback Riding, and Stockpile each require a second building beyond the Academy: the researching town must also have a Mine, a Workshop, a Forge, a Stable, or a Warehouse built (any level), respectively. Mining additionally requires Masonry at level 1 or higher first, Metal Casting requires Mining at level 1 or higher, Compass and Horseback Riding each require Military Science at level 1 or higher, Stockpile requires Lumbering at level 1 or higher, Construction requires both Lumbering and Metal Casting at level 1 or higher, Logistics, Privateering and Archery each require Military Science at level 1 or higher (Privateering also requires Informatics at level 1 or higher), Medicine requires Logistics at level 1 or higher, Engineering requires Construction at level 1 or higher, and Machinery requires Metal Casting at level 1 or higher. Informatics itself requires only the Academy.
The two training technologies stack differently, exactly as in Evony:
Military Science compounds — each level takes 10% off the remaining
training time, so level 10 trains at ~35% of base time (the classic 10%,
19%, 27%, … 65% reduction ladder) — while Metal Casting is additive
speed — its 10% per level divides siege-engine training time by
1 + 0.1 × level, halving it at level 10. Both apply only in the town
that researched them, only to training, and combine with each other and
with a Mayor’s Attack reduction (research applies
first, then the mayor’s 0.995 ^ attack).
The two march technologies — Compass (infantry) and Horseback Riding (cavalry and siege machines) — speed up marches dispatched from the researching town: attacks, scouts, support, and founding expeditions alike. The boost is per unit: each unit’s own class bonus multiplies its speed, and the march then moves at the slowest adjusted unit’s pace — a Compass-boosted infantry column escorted by an un-researched ballista still crawls at the ballista’s speed, and boosting your slowest class can hand the pace-setting role to another unit. The bonus stacks multiplicatively with the origin’s Relief Station multiplier where that applies. See Travel Time for the full formula. Trade caravans carry no units and are unaffected; the battle engine’s in-combat closing speed is likewise deliberately untouched.
Construction compounds exactly like Military Science, but on build
times: every new construction, upgrade, and wall
fortification order placed in the
researching town takes base time × 0.9 ^ level — 54 seconds per base
minute at level 1, 21 at level 10 (the classic 10%, 19%, 27%, … 65%
reduction ladder). It combines with a Mayor’s
Politics reduction (research applies first, then the mayor’s 0.995 ^ politics), and the resulting duration is locked in when the job is queued
— a level finishing later never shortens a build already under way. In
Evony, Construction was uniquely empire-wide; in Restfall it is per-town
like every other technology.
Stockpile grows the researching town’s Warehouse
protection: the summed protected
floor across its Warehouses is multiplied by 1 + 0.1 × level, so a
single level-1 Warehouse (10,000) shields 15,000 at Stockpile 5 and
20,000 at Stockpile 10. It changes only what an attacker cannot take —
never how much the town can store.
The two loot technologies belong to the attacker and travel with the
army: both are read from the origin town of the march, at the moment
the attack resolves (a level completed while the army was on the road
counts — the same rule as the combat attack bonus), and neither does
anything for a town that is defending. Logistics raises what the
survivors can haul: their summed carry_capacity is multiplied by
1 + 0.1 × level (rounded down) before loot is computed, against a
player town and a barbarian settlement alike (a settlement’s
plunder-fraction cap still applies on top). Privateering pierces the
defender’s Warehouse: the protected floor — after the defender’s own
Stockpile — is multiplied by 1 − 0.03 × level, so protection =
base × (1 + 0.1 × Stockpile) × (1 − 0.03 × Privateering), rounded down
once and never below 0. A level-1 Warehouse behind Stockpile 5 (15,000)
shields only 10,500 against a Privateering-10 raider. Barbarian
settlements have no Warehouse, so Privateering changes nothing there.
The two survivability technologies enter the battle
engine itself, and unlike the attack and defense
bonuses they change how much damage a side soaks, not how much it
deals. Medicine belongs to each side’s own town: a garrison defending
a Medicine-10 town, or an army that marched from one, converts pooled
damage into kills at (hp + defense) × 1.5 instead of hp + defense —
the same 60 damage that kills four 15-soak swordsmen kills two, with the
remainder carried forward as usual. The attacker’s origin town and the
defending town each contribute their own level; neither side’s Medicine
does anything for the other. Engineering belongs to the defender: the
town’s Wall stands with wall_hp_per_level × (1 + 0.1 × level) hit points
per level (750 instead of 500 at level 5, 1,000 at level 10), and the
permanent level knock-off after a battle is priced at that same scaled
figure — a Wall never loses more levels than its hardened hit points
allow, so an Engineering-10 Wall that was never breached cannot be
stripped bare by a siege that stalled against it. (Engineering hardens the town’s
Archer’s Towers by the same
multiplier.) Both are read from each town’s current levels
when the attack resolves, like every other combat research, and both are
frozen into the battle’s stored inputs so the turn-by-turn
replay always reproduces the
fight as it was fought.
Archery is the one technology that changes where a fight happens
rather than how hard it hits. It belongs to each side’s own town, like
Medicine: every ranged unit on that side — anything with range > 0,
so the archer (infantry) and the ballista, ram, and catapult (machines)
alike — reaches floor(range × (1 + 0.05 × level)) paces instead of its
configured range. Melee units have range 0 and are never affected.
Because the battlefield is whole
paces, the +5% per level is step-wise, not smooth: a range-6 archer
still reaches 6 at Archery 1–3 (6.3, 6.6, 6.9 round down), reaches 7 at
level 4, 8 at level 7 and 9 at level 10; a range-7 ballista reaches 8 at
level 3, 9 at level 6 and 10 at level 9; a range-8 catapult reaches 9 at
level 3, 10 at level 5, 11 at level 8 and 12 at level 10; a range-3 ram
reaches 4 at level 7 — and shells a Wall from that far out. Longer reach buys the “free”
volleys Evony’s guides prized: against a hundred swordsmen walking in on
the open field, twenty archers at range 6 fire six times before the first
sword lands, at range 9 eight times. Archery does not change how much a
volley hits for, and the Wall still divides ranged fire aimed past it by
1 + wall_bonus — it changes when the firing starts. Like Medicine and
Engineering it is read at resolution and frozen into the battle’s stored
inputs. (Evony also gated which ranged units could be trained by Archery
level; Restfall has no research-gated training, so that part is not
modelled.)
Machinery belongs to the defender and governs how many wall
fortifications rebuild themselves
for free after a battle. Each fortification type recovers
floor(lost × fortification_repair_rate × (1 + level)) units the moment
the battle ends, never more than it lost. The base rate is a realm battle
setting (0.03 in the fast and free realms — Evony’s 3%), and
Machinery adds one more multiple of it per level: 6 of every 100 lost
traps come back at level 1, 33 at level 10, against 3 with no research.
A stock of Archer’s Towers destroyed to the last one rebuilds nothing
(Evony’s “reduced to zero” rule); a one-shot stock that fired — a trap
field, a row of abatis — does rebuild its share, since spending is not
destruction. See Wall fortifications in
combat.
Informatics is the intelligence technology, and the only one whose
effect is read on both sides of an action. Each level gives the town one
scouting intel level. When the town sends scouts, its
intel is capped by its completed Watchtower level (a town without a
Watchtower scouts as if it had no Informatics at all — Evony’s Beacon Tower
rule); that effective intel picks the
detail tier the report lands on: a
glimpse (resources and the garrison as count-word bands), a census
(exact garrison counts, level 2), a survey (plus wall fortifications,
level 5) or a dossier (plus the target’s research levels, level 8).
When the town is scouted with its gates closed,
its own level is the counter-intelligence — the Informatics
draw-out: a level
higher than the scouts’ effective intel bounces them home with nothing,
and otherwise the margin between the two levels is what picks the tier.
With the gates open Informatics plays no defensive part; the town’s scouts
screen instead. There is no numeric
percentage — Evony published none — so the effect is the tier ladder
itself, and the ladder is realm configuration.
(The old flat tech tree folded into this one: Improved Farming became Agriculture level 1, Efficient Logging became Lumbering, and the two combat chains — Iron Weapons/Siege Tactics and Fortification/Castellan Doctrine/Bastion Engineering — became levels of Military Tradition and Iron Working. A tech that was completed before the change carried over as one level of its successor.)
Realm Configuration
Technologies are defined in the realm YAML config under technologies:. The Academy building must have enables_research: true set. Costs and times are geometric curves (increment: 2, type: power doubles per level, matching Evony Age 1); effects are per-level.
towns: - id: normal buildings: - id: Academy description: Enables technology research. enables_research: true initial_cost: - resource_id: wood amount: 400 ...
technologies: - id: agriculture name: Agriculture description: Each level increases food production on farms by 10% of base production. max_level: 10 research_time: base_seconds: 400 increment: 2 type: power requires_building: Academy requires_research_building_level: 1 cost: - resource_id: food amount: 500 increment: 2 type: power - resource_id: gold amount: 1000 increment: 2 type: power production_boost_per_level: food: 0.1 - id: military_tradition name: Military Tradition description: Each level enhances your army's attack by 5%. max_level: 10 research_time: base_seconds: 1200 increment: 2 type: power requires_building: Academy requires_research_building_level: 2 cost: - resource_id: gold amount: 3000 increment: 2 type: power combat_attack_bonus_per_level: 0.05