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_mos.25 条约的回应

时间范围:无明确 fromto 日期,事件由特定变量触发,无固定月度概率。

触发条件

  • 事件为动态历史事件,由游戏系统在特定条件下触发。
  • 事件选项的触发取决于国家是否拥有特定变量:
    • 选项A:触发国拥有变量 treaty_of_ugra
    • 选项B:触发国拥有变量 treaty_approved

关键效果

  • 选项A
    • 移除触发国的变量 treaty_of_ugra
    • 显示两个自定义提示文本(flavor_mos.25.tt1flavor_mos.25.tt2)。
  • 选项B
    • 移除触发国的变量 treaty_approved
    • 为触发国添加一个“满意” (opinion_pleased) 的外交关系修正。

背景介绍: 此事件模拟了一个国家在收到或批准某项条约后的外交回应场景。根据国家内部对条约(如《乌格拉条约》)的不同立场或处理状态,统治者需要做出决策。选项A可能代表了对既有条约的某种处理或回应,而选项B则可能意味着正式批准条约并因此获得外交上的积极反馈。事件反映了中世纪晚期至近代早期,国家间通过条约处理争端、确立关系的外交实践。

代码块

flavor_mos.25 = {
	hide_portraits = no
	type = country_event
	image = "gfx/interface/illustrations/government/diplomacy_illustration.dds"

	title = flavor_mos.25.title
	desc = {
		first_valid = {
			triggered_desc = {
				trigger = {
					scope:sender = {
						has_variable = treaty_of_ugra
					}
				}
				desc = flavor_mos.25.desc_treaty_of_ugra
			}
			triggered_desc = {
				trigger = { always = yes }
				desc = flavor_mos.25.desc_generic_treaty
			}
		}
	}

	immediate = {

		scope:sender = {
			capital = {
				save_scope_as = target_location
			}
			ruler = {
				save_scope_as = target_character
			}
		}

	}

	option = {
		name = flavor_mos.25.a
		trigger = {
			scope:sender = {
				has_variable = treaty_of_ugra
			}
		}

		scope:sender = { remove_variable = treaty_of_ugra }

		custom_tooltip = flavor_mos.25.tt1
		custom_tooltip = flavor_mos.25.tt2

	}

	option = {
		name = flavor_mos.25.b
		trigger = {
			scope:sender = {
				has_variable = treaty_approved
			}
		}

		scope:sender = { remove_variable = treaty_approved }

		add_opinion = {
			target = scope:sender
			modifier = opinion_pleased
		}

	}

}