EventChanged this version
The Founding of Ayutthaya

Having brought together under his/her rule the territories of Lavo and Ayodhya, now Target Ruler has set his/her sight to greater heights. Using his/her close ties to the people of Suphanburi, he/she has brought forth a proposal to establish a new city in the land around Target Location, from where he/she aims to rule all the territories as a unified country. The city, and this new nation, is to be called Ayutthaya, giving it a distinct Thai identity separated from the old Sanskrit of Target Location.
AyodhyaCountrytrigger
LavoCountrydynamic historical event.tag, option 1, trigger
SuphanburiCountryoption 1, trigger
CityLocation Rankoption 1, option 2
MegalopolisLocation Rankoption 1, option 2uthong_rulerVariableoption 1Definitionin_game/events/DHE/flavor_ayu.txt:3
4type = country_event
5title = flavor_ayu.1.title The Founding of Ayutthaya
6desc = flavor_ayu.1.desc Having brought together under his/her rule the territories of Lavo and Ayodhya, now Target Ruler has set his/her sight to greater heights. Using his/her close ties to the people of Suphanburi, he/she has brought forth a proposal to establish a new city in the land around Target Location, from where he/she aims to rule all the territories as a unified country. The city, and this new nation, is to be called Ayutthaya, giving it a distinct Thai identity separated from the old Sanskrit of Target Location.
7outcome = neutral
9fire_only_once = yes
11illustration_tags = {
1210 = regular
1310 = exterior
}
16dynamic_historical_event = {
}
24trigger = {
25has_ruler = yes
26location:ayodhya.owner = {
27has_ruler = yes
28ruler = root.ruler
}
30OR = {
32ruler = character:adh_ramathibodi
}
35OR = {
36AND = {
}
45AND = {
}
54AND = {
55own_entire_province = province_definition:ayutthaya_province
56own_entire_province = province_definition:suphanburi_province
}
}
}
61immediate = {
}
63location:ayodhya = {
63save_scope_as = target_location
}
64ruler = {
64save_scope_as = target_ruler
}
}