[1.3.1] Enlightened empires do not get capital building

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

TheDarkMaster

Field Marshal
74 Badges
Jan 1, 2012
6.901
2.376
  • Victoria 2: A House Divided
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Gettysburg
  • Heir to the Throne
  • Magicka
  • Naval War: Arctic Circle
  • Europa Universalis IV: Res Publica
  • Sword of the Stars II
  • Crusader Kings II
  • Victoria 2: Heart of Darkness
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Pre-order
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Charlemagne
  • Cities in Motion
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Rights of Man
  • Stellaris Sign-up
  • Tyranny: Archon Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Warlock: Master of the Arcane
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
I just finished enlightening a primitive empire and they did not get a capital building on their homeworld. In fact, five years later they haven't built a reassembled ship shelter, preventing them from building most buildings. Due to migration they're currently starving. I had to tag switch to them to get them to build the capital.

The species had 3 POPs when I enlightened them and were originally in the renaissance era.
 
Upvote 0
Providing one or more saves for this report might help.
 
Some time this happened, some time it didn't.
I had one game enlightening an iron-age arctic civilization (3 Pop). it didn't recieve capitol building. Though there were only 6 tiles not blocked by tile blockers on that planet, so that might be a factor.
In another game, I enlightened one atomic-age desert civilization and two early-space-age civilizations (earth and a random desert civilization). They all recieve capitol building and behaved correctly. All there had plenty free tiles.

I checked event that fires on enlightenment completion, it does not have anything about adding buildings, comparing to event that fires on infiltration completion, which does. So I don't know what else happens on enlightenment completion and what causes the bug. Is it due to medieval vs. industrial age difference? Or is it somehow connected to free tiles available?
 
I think I pinpoint the cause of problem.

Enlightenment completion event (observation.2000) itself is fine. It uses primitive entering space age event (primitive.16) to take care of setting up buildings. It is there things go wrong.
In primitive.16,
Code:
   random_tile = {
    limit = {
     has_grown_pop = yes
     num_adjacent_tiles > 3
    }
    set_building = "building_capital_2"
   }
If all pops are on edge tiles, that code fails.

A quick dirty fix is changing that "> 3" to "> 2". It can still fail if all pops are at corner tiles, but that's far less likely to happen.
 
Last edited: