Event
Target Heir's Observatory

Our illustrious Target Heir has always been of an inquisitive mind, and his inclination towards the scientific world convinced many in our Court Title to assign him the government of Target Location. Now he has indicated his desires to build a grand observatory so that the Target Location Rank will become the center of astronomical learning for the entire world.
UniversityBuildingimmediate, trigger
TimuridCountrydynamic historical event.tag
ScholarTraittriggerDefinitionin_game/events/DHE/flavor_tim.txt:98
99type = country_event
100title = flavor_tim.3.title Target Heir's Observatory
101desc = flavor_tim.3.desc Our illustrious Target Heir has always been of an inquisitive mind, and his inclination towards the scientific world convinced many in our Court Title to assign him the government of Target Location. Now he has indicated his desires to build a grand observatory so that the Target Location Rank will become the center of astronomical learning for the entire world.
102outcome = neutral
104historical_info = flavor_tim.3.historical_info Ulugh Beg, grandson of Timur, became the governor of Samarkand at the age of sixteen. Even in his teenage years, he had a great interest in science and wanted to turn the city into an intellectual center. He built a madrassa and later an observatory, both of which still survive to this day. Ulugh Beg's observatory gained renown all over the Islamic world, and through his observations there he managed to discover several errors in the discoveries of Ptolemy that were in use at that time. He also managed to calculate the duration of the tropical year more accurately than Copernicus and even the Earth's axial tilt.
106fire_only_once = yes
115illustration_tags = {
11610 = regular
11710 = interior
}
120trigger = {
121has_heir = yes
129OR = {
130AND = {
131owns = location:samarkand
}
}
}
144immediate = {
}
146heir = {
146save_scope_as = target_heir
}
147if = {
148limit = {
149owns = location:samarkand
}
154location:samarkand = {
154save_scope_as = target_location
}
}
156else = {
157random_owned_location = {
162save_scope_as = target_location
}
}
}