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.83 白莲教起义

时间范围:无明确 fromto 日期限制,触发后立即发生。

触发条件

  • 国家标签为 CHI(中国)。
  • 至少拥有一个省份,其主流文化属于 chinese_group(中华文化组)。

关键效果

  • 选项flavor_chi.83.a
    • 在随机选定的目标省份(其主流文化属于中华文化组)中,所有属于 root(触发国)且类型为 peasants(农民)的 pop(人口单位)将改变其效忠对象,转而支持新创建的 white_lotus_rebellion(白莲教叛军)。
    • 目标省份的所有 location(地块)将获得名为 chi_white_lotus_agitation(白莲教骚动)的修正,持续时间为一个随机生成的本地变量 length_of_agitation(3到10年)。

背景介绍: 白莲教是中国历史上一个源远流长的民间秘密宗教结社,其教义融合了佛教、道教等元素。在明清时期,白莲教多次组织农民起义,反抗朝廷统治。该事件模拟了白莲教在中华文化圈省份煽动农民、引发宗教叛乱的历史情景,反映了帝国内部因宗教、社会矛盾而引发的动荡。

完整事件代码

flavor_chi.83 = {
	hide_portraits = yes
	type = country_event
	title = flavor_chi.83.title
	desc = flavor_chi.83.desc

	illustration_tags = {
		10 = exterior
		10 = angry
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:peasants_estate background = estate_type:peasants_estate }
		random_province = {
			limit = {
				dominant_culture = {
					has_culture_group = culture_group:chinese_group
				}
			}
			save_scope_as = target_province
			random_location_in_province = {
				save_scope_as = target_location
				random_pop = {
					save_scope_as = target_pop
				}
				random_pop = {
					limit = {
						pop_type = pop_type:peasants
					}
					save_scope_as = target_pop
				}
			}
		}

		create_character = {
			estate = estate_type:clergy_estate
			min_age = 20
			birth_location = scope:target_location
			save_scope_as = target_character
		}

		create_rebel = {
			category = religious
			name = white_lotus_rebellion
			religion = root.religion
			save_scope_as = target_rebel
		}

		scope:target_character = {
			change_character_allegiance = scope:target_rebel
		}

		set_local_variable = {
			name = length_of_agitation
			value = { 3 10 }
		}
	}

	trigger = {
		tag = CHI
		any_province = {
			dominant_culture = {
				has_culture_group = culture_group:chinese_group
			}
		}
	}

	option = {
		name = flavor_chi.83.a

		custom_tooltip = {
			text = flavor_chi.83.tooltip
			scope:target_province = {
				every_location_in_province = {
					every_pop = {
						limit = {
							owner = root
							pop_type = pop_type:peasants
						}
						change_pop_allegiance = scope:target_rebel
						add_pop_satisfaction = pop_satisfaction_mild_penalty
					}
					add_location_modifier = {
						mode = add_and_extend
						modifier = chi_white_lotus_agitation
						years = local_var:length_of_agitation
					}
				}
			}
		}
	}
}