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.118] 李自成起义

时间范围
事件无明确 fromto 日期限制,为动态触发事件。触发后,每月有基础概率进行检测(具体概率取决于游戏内 monthly_chance 的默认设置,代码中未明确指定,通常为低概率随机事件)。

触发条件

  • 人物 chi_li_zicheng(李自成)必须存活。

关键效果

  • 选项: flavor_chi.118.a
    • 将国家标签、形容词及名称更改为 CSH(大顺)。
    • 设置变量 li_zicheng_rebellion_var
    • 为国家添加修正项 chi_li_zicheng_rebellion,持续 15年(替换现有同类修正)。

背景介绍
明末农民起义领袖李自成于17世纪中叶崛起,其领导的起义军最终攻占北京,推翻明朝统治,建立大顺政权。此事件模拟了李自成势力正式建立政权、改元称帝的关键历史节点,标志着明朝统治的崩溃与新一轮动荡的开始。

完整事件代码

flavor_chi.118 = {
	type = country_event
	title = flavor_chi.118.title
	desc = flavor_chi.118.desc

	trigger = {
		character:chi_li_zicheng ?= {
			is_alive = yes
		}
	}

	major = yes
	major_trigger = {
		OR = {
			culture = {
				has_culture_group = culture_group:chinese_group
			}
			is_member_of_international_organization_of_type = {
				type = middle_kingdom
			}
		}
	}
	illustration_tags = {
		10 = angry
		10 = exterior
	}
	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:peasants_estate background = estate_type:peasants_estate }
		character:chi_li_zicheng = {
			save_scope_as = target_character
		}
	}

	option = {
		name = flavor_chi.118.a

		change_country_tag = CSH
		change_country_adjective = CSH_ADJ
		change_country_name = CSH

		set_variable = li_zicheng_rebellion_var

		add_country_modifier = {
			mode = replace
			modifier = chi_li_zicheng_rebellion
			years = 15
		}
	}
}