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_dlh.1203] 附庸关系危机

时间范围

  • 事件类型:动态历史事件(无固定发生时间,满足条件后随机触发)
  • 触发概率:未在代码中指定 monthly_chance,需结合游戏内其他机制判定

触发条件

  • 事件类型:国家事件(type = country_event
  • 核心条件:事件代码中未直接提供 trigger 字段,触发条件需由游戏引擎在调用事件时传入。从 option 中的 scope:target_country2 推断,事件触发时需存在一个明确的目标国家(target_country2)。

关键效果

事件提供两个选项,AI会根据以下权重进行选择:

选项 A:flavor_dlh.1203.a

  • AI 选择权重:基础权重 40,并受以下因素修正:
    • 若国家稳定度低于 -10,权重 ×2。
    • 若国家处于战争中,权重 ×2。
    • 若本国军队规模小于目标国(scope:target_country2),权重 ×8。
    • 若本国对目标国的看法高于 100,权重 ×2。
  • 核心效果:取消对目标国(scope:target_country2)的附庸关系(cancel_subject)。

选项 B:flavor_dlh.1203.b

  • AI 选择权重:基础权重 60。
  • 核心效果
    1. 向目标国(scope:target_country2)宣战,使用“吞并”宣战理由(casus_belli:cb_annex)。
    2. 目标国将默默触发后续事件 flavor_dlh.1204trigger_event_silently)。

背景介绍

此事件模拟了一个宗主国与其附庸国之间关系破裂的危机时刻。宗主国面临抉择:是主动解除这层已变得不稳定或充满敌意的附庸关系,还是选择以武力彻底解决问题,直接发动战争意图吞并附庸。事件的插图标签(武装、室外场景)暗示了紧张的对峙或军事冲突氛围。

完整事件代码

flavor_dlh.1203 = {
	type = country_event
	title = flavor_dlh.1203.title
	desc = flavor_dlh.1203.desc

	illustration_tags = {
		10 = exterior
		10 = armed
	}

	immediate = {
		event_illustration_peasants_foreign_religion_pop_type_effect = yes	
	}

	option = {
		name = flavor_dlh.1203.a
		
		ai_chance = {
			base = 40
			modifier = {
				factor = 2
				stability < -10
			}

			modifier = {
				factor = 2
				at_war = yes
			}

			modifier = {
				factor = 8
				army_size < scope:target_country2.army_size
			}

			modifier = {
				factor = 2
				opinion = {
					target = scope:target_country2
					value > 100
				}
			}
		}

		cancel_subject = scope:target_country2
	}

	option = {
		name = flavor_dlh.1203.b

		ai_chance = {
			base = 60
		}
		
		declare_war_with_cb = {
			target = scope:target_country2
			type = casus_belli:cb_annex
		}

		scope:target_country2 = {
			trigger_event_silently = flavor_dlh.1204
		}
	}
}