Event
The Imperial Citadel

With the growth of the population of the Country, our state continues to resemble a proper empire similar to the likes of the Middle Kingdom. Our advisors suggest to construct a great citadel in honor of Target Character. They also propose to move the Country Adjective Court Title to the Target Location Rank of Target Location, though some advise to expand Capital Location instead.
Đại ViệtCountrydynamic historical event.tagDefinitionin_game/events/DHE/flavor_dai.txt:280
281type = country_event
282title = flavor_dai.4.title The Imperial Citadel
283desc = {
284first_valid = {
285triggered_desc = {
286trigger = {
286NOT = {
286scope:capital_location = scope:target_location
}
}
287desc = flavor_dai.4.desc.a With the growth of the population of the Country, our state continues to resemble a proper empire similar to the likes of the Middle Kingdom. Our advisors suggest to construct a great citadel in honor of Target Character. They also propose to move the Country Adjective Court Title to the Target Location Rank of Target Location, though some advise to expand Capital Location instead.
}
289triggered_desc = {
290trigger = {
290scope:capital_location = scope:target_location
}
291desc = flavor_dai.4.desc.b With the growth of the population of the Country, our state continues to resemble a proper empire similar to the likes of the Middle Kingdom. Our advisors suggest to construct a great citadel in honor of Target Character. The Target Location Rank of Target Location shall be expanded to house the Country Adjective Court Title of Country.
}
}
}
295outcome = neutral
296historical_info = flavor_dai.4.historical_info The Imperial City of Huế is a walled enclosure within the citadel of the imperial capital of the Nguyễn dynasty. It was constructed in 1803 after Nguyễn Ánh finally unified Việt Nam after a century of division between the Trịnh lords and the Nguyễn lords.
297fire_only_once = yes
298dynamic_historical_event = {
}
304trigger = {
305owns = location:amarendrapura
306has_ruler = yes
307total_population >= 3000
308country_rank_level > 2
309at_war = no
}
311illustration_tags = {
31210 = happy
31310 = exterior
}
315immediate = {
}
317ruler ?= {
317save_scope_as = target_character
}
318location:amarendrapura = {
318save_scope_as = target_location
}
319capital = {
319save_scope_as = capital_location
}
}