Quests
Quests are optional objectives defined in the realm YAML configuration. Each quest has a trigger condition and a reward — a resource bundle and, optionally, items. When a quest trigger is met, you can claim the reward once.
Overview
- Config-driven: All quests, triggers, and rewards are defined in the realm YAML configuration.
- One-time rewards: Each quest can only be claimed once per player.
- Automatic evaluation: The trigger is evaluated automatically against your towns and units.
- Completion is recorded when you look: the first time the quest list finds a quest’s trigger met, that completion is saved (
completed_at). From then on the quest stays claimable even if the condition later lapses — your units die, your population drops. A condition that is met and then lapses before you open the quest list or claim is not recorded; the game-state badge counts a quest as claimable while its trigger is met, but never records it. - A retired quest stays claimable for whoever earned it: when a realm takes a quest out of its catalog, a player who already has it recorded as completed still sees it and can still claim it; nobody can newly complete it. (The old “First Army” placeholder was retired this way when the Military Service quests replaced it.)
- Reward delivered to your oldest town: When you claim a reward, resources are added to your oldest town, capped at its storage limits.
Trigger Types
A quest’s trigger is one of these types. Every type except the yes/no ones counts toward a target, which the quest list reports as progress.
| Type | Met when |
|---|---|
has_building | Any of your towns has the building, built (level 1 or higher). |
building_level | Any of your towns has the building at the level or higher. |
unit_count | Your own units in your towns reach the count — all units, or only the type given by an optional unit_type_id. Only your own count: reinforcements another player has stationed in your towns are theirs, and do not; your own party standing in another of your towns does. |
multiple_towns | You hold at least that many towns. |
rank | Your rank is the named one or higher. |
title | Your title is the named one or higher. |
valley_level | You hold a valley of that level or higher. |
population | Any one of your towns has at least that population. |
production_rate | Any one of your towns produces at least that much of the resource per hour, as its production display shows it — gold counts your tax income. See Production quests and boosters. |
medal | You hold at least that many of the named medal. |
mayor_appointed | Any of your towns has a hero appointed as its mayor. |
hero_level | One of your own heroes, stationed at one of your towns, has reached the level. |
hero_count | You have at least that many of your own heroes stationed at your towns. |
wheel_spins | You have spent at least that many fortune wheel spins in total. |
prestige | Your prestige reaches the number: the leaderboard figure, so your towns’ prestige after any alliance-leave penalty, plus your earned achievements. An achievement counts once the achievements list has awarded it, as on the leaderboard. |
On a faster realm the hourly rates are realm hours, the same hours the production display uses, so a faster realm’s targets are no easier to reach.
Quest Lines
Every quest belongs to a line — the group the Quests screen shows it
under, listed in the same order the realm’s catalog defines it. The shipped
realms (free, fast) carry 96 live quests across twelve lines (plus one
retired one, below):
| Line | Count | What it asks | What it pays |
|---|---|---|---|
starter | 7 | Found your first town (the day-one quest); build a Cottage, Farm, Lumber Mill, Quarry and Mine; raise a Farm to level 5. | Founding your town pays the corpus day-one starter package verbatim, minus the City Teleporter: 14 items (production boosters, Guidelines, a Truce Agreement, Merchant Fleet, Holy Water and more) plus 2 Cross medals — see Items. The five building quests each pay a resource bundle plus a Beginner Guidelines (the Cottage quest also pays population and a spin); the level-5 Farm quest pays a larger resource bundle alone. |
amulet | 1 | Spin the fortune wheel once. | A resource bundle, population, and a spin. |
domain | 3 | Raise your Town Hall to level 2, then 5, then 10. | Level 2 pays resources plus a Primary Guidelines; level 5 pays only a Truce Agreement item; level 10 pays a large resource bundle. |
expansion | 1 | Found a second town. | 55,000 gold plus 5,000 of every other resource. |
troops | 8 | Have 10 of each: Workers, Warriors, Scouts, Pikemen, Swordsmen, Archers, Cavalry, Cataphracts. | Food/wood/iron, rising from a few hundred to tens of thousands as the unit tier rises. |
valleys | 10 | Hold a valley at or above level 1 through level 10 — one quest per level. | Food, from 1,000 at level 1 up to 200,000 at level 10; the first three rungs also pay a War Horn, Corselet, or Penicillin item respectively. |
population | 9 | Grow any one town’s population from 100 up to 50,000 — nine rungs. | Modest gold (rising toward the later rungs) plus population credited straight to your oldest town — always exactly 10% of the target. |
prestige | 10 | Reach prestige at 1,000, 2,000, 4,000, 8,000, then doubling again up to 512,000. | Gold, starting at 10,000 and rising by 10,000 per rung to 100,000 at the top. |
wealthy | 20 | Produce food, wood, stone or iron at 1,000/5,000/10,000/50,000 per realm hour in one town (16 quests), or collect gold in tax at 500/1,000/5,000/10,000 per realm hour (4 quests) — see Production quests and boosters. | Each resource rung pays that same amount of the resource (reach 1,000 wood/hour, earn 1,000 wood); the first rung of each resource also pays its matching production-booster item (Plowshares, Arch Saw, Quarrying Tools, or Blower). The two lower tax rungs pay gold (1,000 and 5,000); the two higher ones pay food instead (10,000 and 50,000). |
promotion | 14 | Reach each rank (Lieutenant through General, 5 quests) and each title (Knight through Prinzessin, 9 quests). | A Beginner + Primary Guidelines pair for every rank/title through Colonel and Earl; General pays two of each pair; Marquis, Duke, Furstin and Prinzessin each pay an Intermediate + Senior Guidelines pair instead. See Titles. |
medals | 9 | Hold at least one of each named medal (Cross, Rose, Lion, Honor, Courage, Wisdom, Freedom, Justice, Nation). | 10,000 food plus double the medal you hold (e.g. holding 1 Cross pays 2 more Cross). |
heroes | 4 | Build an Inn, recruit a hero, appoint a hero as a town’s mayor, and raise a hero to level 2. | The Inn quest pays a resource bundle; recruiting, appointing a mayor, and leveling up each pay 1,000 gold. Appointing a mayor (the castellan quest) also pays The Wealth of Nations and a Cross medal — the item’s only earned source — and the level-2 quest also pays Holy Water. |
Retired quests
A realm can retire a quest id when its catalog changes — the id stays out of
the live list for everyone, but a player who already has it recorded as
completed keeps it and can still claim it; nobody can newly complete it. The
shipped realms retired exactly one: First Army (first_army, train 10
units in total), superseded by the eight troops quests above when PRD
K.13 shipped them. If you claimed it before the change, it still appears in
your quest list and still pays its old reward (500 food, 300 wood).
Production quests and boosters
A production_rate quest reads the same per-hour rate your town’s
production display shows, temporary boosts included. A produce booster
item (the fortune wheel pays them), or The Wealth of
Nations used on the town’s mayor, raises that rate while it lasts, so it
can carry a town over a target. If the quest list
(or a claim) sees the target met while the boost is active, the completion
is recorded, and it stays recorded after the boost ends, like any other
completion. Open the quest list while the boost is running to lock it in.
List Quests
Returns all quests for the current realm with your completion and claim status, wrapped in the standard pagination envelope (count, limit, offset, results). Use the limit and offset query params to paginate; limit defaults to 50 and is capped at 200.
GET /api/v1/quests/Authorization: Bearer <player_token>{ "count": 1, "limit": 50, "offset": 0, "results": [ { "quest_id": "first_farm", "name": "Farming", "description": "Build a Farm.", "line": "starter", "reward": { "food": 100, "wood": 500, "stone": 500, "iron": 300 }, "reward_items": { "beginner_guidelines": 1 }, "reward_medals": {}, "reward_population": 0, "reward_spins": 0, "is_completed": true, "is_claimed": false, "completed_at": "2026-01-15T11:58:00Z", "progress_current": null, "progress_target": null } ]}reward_items maps item catalog ids to quantities — {}
for a quest with no item reward. reward_medals maps medal
ids to counts, reward_population is population added to your oldest town (up
to its capacity) and reward_spins are wheel spins the
quest pays (see Quests and spins). They’re listed here so
you can see what claiming will grant before you claim it. line is the group the quest belongs to.
progress_current / progress_target show how far along a counted objective
is (a building level, a unit count, a number of towns) for a quest not yet
recorded as complete; they are null for a yes/no objective such as “build a
Farm”, and for a quest already recorded.
Listing is also what records completions (see above): a call that records a new completion writes it; a call that finds nothing new writes nothing.
Claim Quest Reward
Claim the reward for a completed quest. Fails if the quest is not yet completed or has already been claimed.
POST /api/v1/quests/{quest_id}/claim/Authorization: Bearer <player_token>{ "quest_id": "first_farm", "name": "Farming", "description": "Build a Farm.", "line": "starter", "reward": { "food": 100, "wood": 500, "stone": 500, "iron": 300 }, "reward_items": { "beginner_guidelines": 1 }, "reward_medals": {}, "reward_population": 0, "reward_spins": 0, "is_completed": true, "is_claimed": true, "completed_at": "2026-01-15T12:00:00Z", "progress_current": null, "progress_target": null}Claiming delivers the resource reward to your oldest town as before, and
adds every entry in reward_items to your item inventory
in the same call — a quest with reward_items: {} grants nothing extra.
reward_medals go to your medal inventory and reward_population to your
oldest town, filling it toward its population capacity and never past it (a
town already at capacity gains none). Before any of it lands, the town’s
production since it was last settled is banked, the way collecting does, so the
reward is added on top of everything the town has earned so far. Each claim
logs a quest_claimed event.
Error Cases
| Status | Reason |
|---|---|
400 | Quest not yet completed |
400 | Reward already claimed |
400 | No town found to deliver the reward |
404 | Quest ID not found in realm config |
403 | Season is inactive or has ended |
Quests and spins
In a realm with a fortune wheel, a quest pays spins
only through its own reward_spins. In the shipped realms these are the
quests whose Evony originals awarded an Aries Amulet. Each realm also sets a
per-claim spin, spins_on_quest_claim on GET /api/v1/wheel/, that pays on
every claim. The shipped realms set it to 0, so claiming a quest earns no
spin beyond the quest’s own reward_spins.
Daily Gift
Each realm with a fortune wheel gives you
spins_daily free spins a day. There is nothing to claim: the gift lands on
your first game-state fetch of each UTC calendar day. The
day is a real UTC day on every realm, so a faster realm does not hand out
gifts more often.
GET /api/v1/quests/daily/ tells you where you stand. It reads nothing but
your player and the realm’s settings.
GET /api/v1/quests/daily/Authorization: Bearer <player_token>{ "spins_daily": 1, "collected_today": true, "last_collected_at": "2026-10-01T07:12:44Z", "next_reset_at": "2026-10-02T00:00:00Z"}| Field | Meaning |
|---|---|
spins_daily | Spins the gift pays. 0 in a realm without a wheel. |
collected_today | Whether today’s (UTC) gift has landed. |
last_collected_at | When the gift last landed; null if it never has. |
next_reset_at | The next UTC midnight, when the next gift can land. |