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_vij.1101 泰米尔叛乱开始

时间范围: 1444.11.11-1821.1.1 触发概率: 每月 5% 概率

触发条件:

  • 国家未拥有变量 vij_exiled_or_killed_rebel_leader
  • 国家内泰米尔文化人口占比不低于 5%。
  • tamil_land_area 地区内,至少有一个地点满足以下所有条件:
    • 该地点至少有 50% 的领土属于本国。
    • 该地点的本地控制度不高于 40%。
    • 该地点内至少有一个满足以下条件的阶层:
      • 该阶层在该地点人口中占比不低于 50%。
      • 该阶层文化为泰米尔文化。
      • 该阶层满意度不高于 40%。

关键效果:

  • 选项 A (flavor_vij.1101.a):

    • 触发条件: 国家拥有变量 vij_rebellion_stopped
    • 效果:
      • 对目标人物添加持续20年的修正 vij_curtailed_tamil_rebels(模式为叠加并延长)。
      • 流放目标人物。
  • 选项 B (flavor_vij.1101.b):

    • 触发条件: 国家拥有变量 vij_rebellion_started
    • 效果:
      • 创建一个名为 tamil_uprising 的民族主义叛军,其文化为泰米尔文化,宗教与本国相同。
      • 该叛军进度增加1点。
      • tamil_land_area 地区内,所有属于本国且文化为泰米尔文化的阶层,其满意度将受到“终极惩罚”级别的降低,并改变其效忠对象至该叛军。
      • 目标人物改变其效忠对象至该叛军。

背景介绍: 该事件模拟了维贾亚纳加尔帝国境内泰米尔地区的动荡局势。当帝国对泰米尔核心地区的控制力减弱,且当地占主导地位的泰米尔人口普遍不满时,长期积累的民族矛盾可能演变为公开的叛乱。事件反映了帝国中央政权与地方民族势力之间的紧张关系,以及治理多民族帝国的挑战。玩家需要根据叛乱是否已被提前遏制(vij_rebellion_stopped)或已经爆发(vij_rebellion_started)来做出不同的应对。

完整事件代码:

flavor_vij.1101 = { #Tamil Rebellion Starts
	hide_portraits = yes
	type = country_event
	title = flavor_vij.1101.title
	desc = {
		first_valid = {
			triggered_desc = {
				trigger = {
					has_variable = vij_rebellion_stopped
				}
				desc = flavor_vij.1101.desc.a
			}
			triggered_desc = {
				trigger = {
					has_variable = vij_rebellion_started
				}
				desc = flavor_vij.1101.desc.b
			}
		}
	}

	illustration_tags = {
		10 = armed
		10 = exterior
	}

	trigger = {
		NOT = { has_variable = vij_exiled_or_killed_rebel_leader }
		"culture_percentage_in_country(culture:tamil)" >= 0.05 #Just to make sure they're not insiglificant
		area:tamil_land_area = {
			any_location_in_area = {
				percent >= 0.5
				local_control <= 0.4
				any_pop = {
					percent >= 0.5
					culture = culture:tamil
					pop_satisfaction <= 0.4
				}
			}
		}
	}

	immediate = {
		event_illustration_poptype_effect = { foreground = pop_type:nobles background = pop_type:soldiers }
		random_character = {
			limit = {
				has_variable = tamil_rebel_leader
			}
			save_scope_as = target_character
		}
		remove_variable = vij_tamil_rebellion
		if = {
			limit = {
				area:tamil_land_area = {
					any_location_in_area = {
						owner = root
						percent >= 1
						OR = {
							local_control >= 0.8
							any_pop = {
								percent >= 0.5
								culture = culture:tamil
								pop_satisfaction <= 0.8
							}
						}
					}
				}
			}
			set_variable = vij_rebellion_stopped
		}
		else = {
			set_variable = vij_rebellion_started
			create_rebel = {
				category = nationalist
				name = tamil_uprising
				save_scope_as = tamil_uprising_scope
				culture = culture:tamil
				religion = root.religion
			}
			custom_tooltip = {
				text = VIJ_ALL_TAMILS_LOSE_90_SATISFACTION
				area:tamil_land_area = {
					every_location_in_area = {
						limit = { owner = ROOT }
						every_pop = {
							limit = {
								owner = root
								culture = culture:tamil
							}
							add_pop_satisfaction = pop_satisfaction_ultimate_penalty
							change_pop_allegiance = scope:tamil_uprising_scope
						}
					}
				}
			}
			scope:target_character = {
				change_character_allegiance = scope:tamil_uprising_scope
			}
			scope:tamil_uprising_scope = {
				add_rebel_progress = 1
			}
		}
	}

	option = {
		name = flavor_vij.1101.a

		trigger = {
			has_variable = vij_rebellion_stopped
		}

		scope:target_character = {
			add_character_modifier = {
				modifier = vij_curtailed_tamil_rebels
				years = 20
				mode = add_and_extend
			}
			banish_character = yes
		}
	}

	option = {
		name = flavor_vij.1101.b

		trigger = {
			has_variable = vij_rebellion_started
		}
		show_as_tooltip = {
			create_rebel = {
				category = nationalist
				name = tamil_uprising
				culture = culture:tamil
				religion = root.religion
			}

			scope:tamil_uprising_scope = {
				add_rebel_progress = 1
			}

			custom_tooltip = {
				text = VIJ_ALL_TAMILS_LOSE_90_SATISFACTION
				area:tamil_land_area = {
					every_location_in_area = {
						limit = { owner = ROOT }
						every_pop = {
							limit = {
								owner = root
								culture = culture:tamil
							}
							add_pop_satisfaction = pop_satisfaction_ultimate_penalty
							change_pop_allegiance = scope:tamil_uprising_scope
						}
					}
				}
			}
			scope:target_character = {
				change_character_allegiance = scope:tamil_uprising_scope
			}
		}
	}
}