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.2207] 敌方求援

时间范围
无固定时间范围(动态事件),触发概率未指定(monthly_chance 未定义)

触发条件

  • 存在至少一个敌方战争领袖(any_enemy_war_leader
  • 该敌方战争领袖对“远征发起者”(scope:expedition_initiator)的“意见值”(opinion)小于 0

关键效果

  • 选项 A(flavor_chi.2207.a
    • 若“远征发起者”存在且拥有变量 chinese_treasure_fleet_location
      • 创建一支名为 chi_sailor_company 的雇佣兵,其“家乡”(home)为该变量指向的位置,包含 5 个步兵类别(army_infantry),雇佣成本倍率为 0.5(cost_multiplier = 0.5
      • 立即雇佣这支雇佣兵
    • 否则(不满足上述条件):
      • 增加 1 点年度人力(add_yearly_manpower = 1
    • 对目标国家(scope:target_country,即随机选取的一个对“远征发起者”意见为负的敌方战争领袖):
      • 增加对“远征发起者”的意见修正 chi_joined_against_us(效果在游戏中以提示框显示)
      • 立即非静默触发事件 flavor_chi.2208
  • 选项 B(flavor_chi.2207.b
    • 增加少量威望(add_prestige = prestige_mild_bonus
    • 增加少量政府点数(add_government_power = government_power_mild_bonus
    • 标记为“访问事件脉冲”(visitation_event_pulse = yes,通常用于推进相关事件链)

背景介绍
此事件模拟了在战争期间,一个对玩家(或“远征发起者”)怀有敌意的敌方势力,可能向玩家寻求援助或提出某种联合对抗共同敌人的提议。玩家面临选择:是接受请求,提供军事支援(可能以雇佣兵形式),从而改变外交关系并触发后续事件;还是婉拒并专注于自身发展,获取一定的威望与行政资源。

完整事件代码

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

	trigger = {
		any_enemy_war_leader = {
			"opinion(scope:expedition_initiator)" < 0
		}
	}

	illustration_tags = {
        10 = regular
        10 = exterior
    }

	immediate = {
		set_chinese_expedition_scopes = yes
		if = {
			limit = {
				is_ai = no
			}
			event_illustration_poptype_background_effect = { background = pop_type:soldiers }
			scope:expedition_initiator = {
				event_illustration_poptype_foreground_effect = { foreground = pop_type:soldiers }
			}
		}
		
		random_enemy_war_leader = {
			limit = {
				"opinion(scope:expedition_initiator)" < 0
			}
			save_scope_as = target_country
		}
		save_scope_as = from
	}

	option = {
		name = flavor_chi.2207.a
		if = {
			limit = {
				exists = scope:expedition_initiator
				scope:expedition_initiator = {
					has_variable = chinese_treasure_fleet_location
				}
			}
			create_mercenary = {
				name = chi_sailor_company
				home = scope:expedition_initiator.var:chinese_treasure_fleet_location
				categories = {
					army_infantry = 5
				}
				cost_multiplier = 0.5
				save_scope_as = target_mercenary
			}

			hire_mercenary = scope:target_mercenary
		}
		else = {
			add_yearly_manpower = 1
		}


		scope:target_country = {
			show_as_tooltip = {
				add_opinion = {
					target = scope:expedition_initiator
					modifier = chi_joined_against_us
				}
			}
			trigger_event_non_silently = {
				id = flavor_chi.2208
			}
		}
	}

	option = {
		name = flavor_chi.2207.b
	
		add_prestige = prestige_mild_bonus
		add_government_power = government_power_mild_bonus
		visitation_event_pulse = yes
	}
}