{capitalCity}
References the capital city of the region - the settlement with the highest population. Use this when you need to reference a major political or economic center.
Basic Usage
Example
Result: "You must travel to Ironforge, the kingdom's seat of power."
Parameters
{capitalCity} does not accept any parameters. It always returns the settlement with the highest population.
How It's Determined
Just like {nearestBurg},
{capitalCity} draws from your party's generated regional
map (seeded from that party's campaign seed the first time a
location placeholder is needed) - or from a hand-authored
data/maps/locations.json if you've provided one instead:
- Every town on the generated map has a population value
- The town with the highest population is selected
- Caches this value for the entire campaign
{capitalCity}'s own position on the map - it's always
the cheapest, best-stocked place to shop, by design (up to +50%
pricier and thinner-stocked the further out a town sits). See
{nearestBurg} for the
details.
Characteristics
- Largest Population - Always the most populous settlement in the roster
- Political Center - Ideal for referencing rulers, courts, or government
- Economic Hub - Perfect for mentioning trade, wealth, or resources
{nearestBurg} in concrete terms. If you
want a strong sense of distance in your narrative, describe the
journey in prose rather than relying on any in-app distance
calculation.
Common Use Cases
Political Missions
Major Trade Centers
Far-Off References
End-Game Destinations
Complete Example
Best Practices
Use for High-Level Content
Reference {capitalCity} for important political or economic narrative:
Consider Distance
Acknowledge that the capital is typically far from starting locations:
Use Sparingly for Low-Level Campaigns
Low-level parties shouldn't travel to the capital often:
✗ Bad: Level 1 party travels TO {capitalCity} constantly
Pair with Political Context
Use {capitalCity} when discussing rulers, laws, or politics:
Contrast with Other Placeholders
| Placeholder | Use When... |
|---|---|
{nearestBurg} |
Referencing home base or starting location |
{randomBurg} |
Need a nearby or local settlement |
{capitalCity} |
Referencing political power, major trade, or end-game destination |
See Also
- {nearestBurg} - Starting location reference
- {randomBurg} - Random settlement with filtering
- Placeholders Overview - All available placeholders