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.2215 宝船远征的挑衅

时间范围:无特定起止日期(动态事件),触发概率取决于游戏内条件。

触发条件

  • 发起远征的国家(scope:expedition_initiator)必须拥有一个名为 potential_enemy_list 的变量列表。
  • 至少存在一个邻国,该邻国被记录在发起远征国家的 potential_enemy_list 变量列表中。

关键效果

  • 选项 A (flavor_chi.2215.a)
    • 向目标国家(从 potential_enemy_list 中随机选取的邻国)宣战,宣战理由为“他们侮辱了我们”(casus_belli:cb_insulted_us)。
    • 大幅提升远征相关方的意见值(increase_opinion_of_expedition_greatly = yes)。
    • 在宝船舰队当前位置(chinese_treasure_fleet_location)创建三支步兵子单位(sub_unit_category:army_infantry)。
  • 选项 B (flavor_chi.2215.b)
    • 改变社会价值观:使“好战 vs 和解”(belligerent_vs_conciliatory)价值观小幅向右移动(即略微倾向于和解方向,societal_value_minor_move_to_right)。

背景介绍: 在郑和宝船舰队远航的时代,庞大的船队与陌生的国度接触时,外交摩擦与误解时有发生。当舰队指挥官认为某个当地政权对大明使团表现出不敬或敌意时,便面临抉择:是立即展示武力以维护天朝威严,还是采取更为克制的态度,优先保障航行任务与长远的外交关系?这一事件模拟了宝船舰队在海外可能遭遇的突发性外交危机。

完整事件代码

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

	trigger = {
		scope:expedition_initiator ?= {
			has_variable_list = potential_enemy_list
		}
		any_neighbor_country = {
			scope:expedition_initiator = {
				is_target_in_variable_list = {
					name = potential_enemy_list
					target = PREV
				}
			}
		}
	}

	illustration_tags = {
        10 = regular
        10 = interior
    }

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		set_chinese_expedition_scopes = yes
		random_neighbor_country = {
			limit = {
				scope:expedition_initiator = {
					is_target_in_variable_list = {
						name = potential_enemy_list
						target = PREV
					}
				}
			}
			save_scope_as = target_country
		}
		scope:expedition_initiator.var:chinese_treasure_fleet_location ?= {
			save_scope_as = target_location
		}
	}

	option = {
		name = flavor_chi.2215.a

		ai_chance = {
			factor = 100
			modifier = {
				factor = {
					value = 1
					multiply = chinese_expedition_very_positive_ai_weight
				}
			}
		}
		
		declare_war_with_cb = {
			target = scope:target_country
			type = casus_belli:cb_insulted_us
		}

		increase_opinion_of_expedition_greatly = yes

		scope:target_location = {
			create_sub_unit_of_category = sub_unit_category:army_infantry
			create_sub_unit_of_category = sub_unit_category:army_infantry
			create_sub_unit_of_category = sub_unit_category:army_infantry
		}
	}

	option = {
		name = flavor_chi.2215.b

		ai_chance = {
			factor = 100
			modifier = {
				factor = {
					value = 1
					multiply = chinese_expedition_neutral_ai_weight
				}
			}
		}
	
		change_societal_value = {
			type = belligerent_vs_conciliatory
			value = societal_value_minor_move_to_right
		}
	}
	
	after = {
		visitation_event_pulse = yes
	}
}