Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

flavor_tim.3 帖木儿帝国天文台事件

时间范围:1400.1.1 - 1500.1.1,每月 2% 概率触发

触发条件

  • 国家拥有继承人。
  • 继承人年龄大于15岁。
  • 继承人需满足以下任一条件:
    • 拥有“学者”特质。
    • 总能力值(total_abilities)大于等于250。
  • 国家需满足以下任一条件:
    • 拥有撒马尔罕地区(location:samarkand),且该地区没有大学建筑(building_type:university)。
    • 拥有任意一个城市(is_city = yes),且该城市没有大学建筑。

关键效果

  • 选项 A: 建造它!
    • 在目标地点(优先撒马尔罕,否则随机符合条件的城市)建造一座大学建筑(construct_building = building_type:university)。
    • 获得少量威望加成(add_prestige = prestige_weak_bonus)。
    • 获得少量研究进度加成(add_research_progress = research_progress_mild_bonus)。
  • 选项 B: 我们既没时间也没钱做这种蠢事!
    • 获得少量威望惩罚(add_prestige = prestige_weak_penalty)。

背景介绍: 该事件模拟了帖木儿帝国(TIM)在15世纪可能发生的历史事件,核心是统治者继承人(如著名的天文学家兀鲁伯)推动建造天文台或学术机构。这反映了帖木儿帝国后期,尤其是撒马尔罕作为学术中心的复兴努力,以及统治者对科学(尤其是天文学)的赞助。事件触发条件强调了需要一位具备学术素养或高能力的继承人,以及国内缺乏高等教育设施的状况。

完整事件代码

flavor_tim.3 = { #Ulugh Beg's Observatory
	type = country_event
	title = flavor_tim.3.title
	desc = flavor_tim.3.desc

	historical_info = flavor_tim.3.historical_info

	fire_only_once = yes

	dynamic_historical_event = {
		tag = TIM
		from = 1400.1.1
		to = 1500.1.1
		monthly_chance = 2
	}

	illustration_tags = {
        10 = regular
        10 = interior
    }

	trigger = {
		has_heir = yes
		heir = {
			age_in_years > 15
			OR = {
				has_trait = scholar
				total_abilities >= 250
			}
		}
		OR = {
			AND = {
				owns = location:samarkand
				location:samarkand = {
					NOT = { has_building = building_type:university }
				}
			}
			any_owned_location = {
				is_city = yes
				NOT = { has_building = building_type:university }
			}

		}
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:burghers_estate background = estate_type:burghers_estate }
		heir = { save_scope_as = target_heir }
		if = {
			limit = {
				owns = location:samarkand
				location:samarkand = {
					NOT = { has_building = building_type:university }
				}
			}
			location:samarkand = { save_scope_as = target_location }
		}
		else = {
			random_owned_location = {
				limit = {
					is_city = yes
					NOT = { has_building = building_type:university }
				}
				save_scope_as = target_location
			}
		}
	}

	option = { #Build it!
		name = flavor_tim.3.a
		scope:target_location = { construct_building = { building_type = building_type:university } }
		add_prestige = prestige_weak_bonus
		add_research_progress = research_progress_mild_bonus
	}
	option = { #We have neither the time nor the money for such foolishness!
		name = flavor_tim.3.b
		add_prestige = prestige_weak_penalty
	}
}