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_swi.101 事件名(待本地化)

时间范围
事件为动态历史事件,无固定 fromto 日期,触发概率由游戏动态决定,代码中未指定 monthly_chance

触发条件
事件代码中未定义 trigger 字段,具体触发条件需参考游戏其他机制或动态历史系统。

关键效果
事件提供两个选项:

  • 选项 Aflavor_swi.101.a):若目标国家(scope:target_country)存在,则目标国家将吞并(annex_country)当前国家(root)。
  • 选项 Bflavor_swi.101.b):仅限玩家国家(is_ai = no)可选。若目标国家存在,则当前国家所有拥有目标国家核心(is_core_of = scope:target_country)的领地(every_owned_location)将变更所有者(change_location_owner)为目标国家。该效果通过自定义提示(custom_tooltip)显示文本 sc_every_core_location_breaks_away_tt(待本地化)。代码中未标记 historical_option = yes

背景介绍
此事件涉及国家间的领土与主权变动,可能反映了历史上因继承、协议或内部动荡导致的领土转移或国家合并情景。选项A代表完全被吞并,选项B则允许玩家主动割让核心领土,可能对应某种政治妥协或分裂局面。

完整事件代码

flavor_swi.101 = {
	type = country_event
	title = flavor_swi.101.title
	desc = flavor_swi.101.desc

	illustration_tags = {
        10 = happy
        10 = exterior
    }

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:peasants_estate background = estate_type:peasants_estate }
	}
		
	option = {
		name = flavor_swi.101.a
		if = {
			limit = { exists = scope:target_country }
			scope:target_country = {
				annex_country = { country = root }
			}
		}
	}
	option = {
		name = flavor_swi.101.b
		trigger = { is_ai = no }
		custom_tooltip = {
			text = sc_every_core_location_breaks_away_tt
			if = {
				limit = { exists = scope:target_country }
				every_owned_location = {
					limit = { is_core_of = scope:target_country }
					change_location_owner = scope:target_country
				}
			}
		}
	}
}