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_chi_dai.8 黎利起义

时间范围:1420.1.1 - 1430.1.1(每月 10% 概率)

触发条件

  • 控制至少 25% 的红河三角洲地区。
  • 国家 DAI 不存在。

关键效果

  • 选项 A (历史选项)

    • ROOT 控制的红河三角洲省份上,创建国家 DAI
    • ROOT 控制的红河三角洲省份所有权转移给 DAI
    • 将创建的人物 黎利 移动至 DAI 国家。
    • DAI 的国家名称设置为 DAI
    • 黎利 设置为 DAI 的新统治者。
    • AI 选择概率:33%。
  • 选项 B

    • ROOT 控制的红河三角洲省份上,立即触发由 黎利 领导的民族主义叛乱。
    • AI 选择概率:66%。

背景介绍: 此事件模拟了15世纪初越南反抗明朝统治的蓝山起义。在明朝占领越南(当时称安南)后,越南贵族黎利于1418年在清化起兵,经过长期战争,最终于1427年驱逐明军,建立后黎朝,恢复越南的独立。游戏中的事件允许玩家(作为明朝)选择是接受越南独立(历史选项),还是面临一场大规模的民族主义叛乱。

完整事件代码

flavor_chi_dai.8 = {
	type = country_event
	title = flavor_chi_dai.8.title
	desc = flavor_chi_dai.8.desc
	historical_info = flavor_chi_dai.ho_quy_ly_historical_info

	fire_only_once = yes
	dynamic_historical_event = {
		tag = CHI
		from = 1420.1.1
		to = 1430.1.1
		monthly_chance = 10
	}

	trigger = {
		area:red_river_delta_area = {
			any_location_in_area = {
				percent >= 0.25
				owner ?= ROOT
			}
		}
		NOT = { country_exists = c:DAI }
	}

	illustration_tags = {
		10 = armed
		10 = exterior
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:peasants_estate background = estate_type:peasants_estate }
		area:red_river_delta_area = {
			every_province_in_area = {
				limit = {
					owner = ROOT
				}
				add_to_list = revolt_provinces
			}
		}

		create_named_dynasty = le_dynasty

		create_character = {
			estate = estate_type:nobles_estate
			first_name = Loi
			dynasty = dynasty:le_dynasty
			adm = { 50 60 }
			dip = { 30 40 }
			mil = { 65 80 }
			birth_date = 1385.9.10
			birth_location = location:thanh_hoa
			save_scope_as = target_character
		}

		create_rebel = {
			category = nationalist
			name = le_loi_rebellion
			culture = culture:vietnamese_culture
			save_scope_as = target_rebels
		}
	}

	option = {
		name = flavor_chi_dai.8.a
	
		historical_option = yes

		ai_chance = {
			factor = 0.33
		}

		create_country_from_cores_in_our_locations = c:DAI

		every_in_list = {
			list = revolt_provinces
			change_province_owner = c:DAI
		}

		scope:target_character = {
			move_country = c:DAI
		}

		c:DAI = {
			change_country_name = DAI
			set_new_ruler = scope:target_character
		}
	}

	option = {
		name = flavor_chi_dai.8.b

		ai_chance = {
			factor = 0.66
		}
		
		create_instant_rebellion = {
			list = revolt_provinces
			rebel = scope:target_rebels
		}
	}
}