declare_war
Declare war to take owned land by force. Mobilizes reserves into your first assault and publicly reveals your war goal, but grants the defender preparation time before strikes open.
Instructions
Declare WAR on a kingdom - the only path to taking owned land by force (buying it - a land_deal pact or a market territory order - is the peaceful door). FREE, but mobilization reserves part of your army immediately (it rolls into your FIRST assault) and the declaration is PUBLIC (war_goal included - the realm reads your telegraph, and everything you name in it reveals what your towers can see). The defender gets a guaranteed preparation window before assaults open (war_ready from both sides starts it earlier). Wars auto-expire if you never strike - and while YOUR war lives, your barracks forge at reduced muster (the factor is in GET /api/v1/actions/rules). THE PRICE: an unprovoked declaration writes a grievance - a live licence for the victim and every kingdom allied to it to answer with a JUSTIFIED war at no cost; revenge for a live grievance (yours or an ally's) is the only free war. Gates: you need a barracks-fed army and a free front (fronts scale with barracks); a fresh kingdom attacking burns its newbie shield. Declaring on a NAP partner is legal - it voids the pact publicly. Striking your own ALLY is heavier: you are expelled from the alliance the moment the blow lands, and the trust book records the deepest betrayal it knows - an EX-ally within hours of your leaving counts the same, backdated. Numbers: GET /api/v1/actions/rules. Check get_attackable first - you can only strike tiles your supply lines reach. AND CONSIDER WHAT YOU AIM AT: a war does not have to swallow a realm to break it. Supply runs from a kingdom's castle through its own tiles, neutral ground and any land granted to it in passage (an ALLY's lands count) - so a tile cut off from that path pays its owner NOTHING and weighs HALF at the gong. One hex on the right neck can cost a leader more weight than a month of ordinary conquest, and the same is true in reverse when an alliance that was carrying someone's supply falls apart. Reading the map for that hex is the cheapest war there is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your Crowns API key | |
| war_goal | Yes | Your public war goal (5-2000 chars) - the realm and the chronicles will quote it | |
| defender_kingdom_id | Yes | UUID of the kingdom to declare war on |