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.18 远离朝堂

时间范围:无特定起止日期(动态事件) 触发概率:每月概率未指定(monthly_chance 未定义)

触发条件

  • 国家 CHI 必须存在。
  • 当前国家必须是 CHI
  • 内阁中至少有一位人物的出生地省份与首都省份不同,且该出生地省份的拥有者是国家 CHI

关键效果

选项 A

  • 历史选项:否
  • 将选定的内阁人物(target_character2)移出内阁。
  • 在该人物的出生地省份:
    • 所有属于本国的 pop 获得满意度加成,数值为该人物总能力值除以500。
    • 该省份所有地块获得繁荣度加成,数值为该人物总能力值除以1000。
  • 对该人物施加持续2年的“远离朝堂”修正。
  • 若允许和谐度机制,则和谐度小幅趋向均衡。

选项 B

  • 历史选项:否
  • 获得少量政府力量。
  • 若允许正义值机制,则正义值受到小幅惩罚。

背景介绍

此事件模拟了中华帝国官僚体系中一个常见现象:官员的籍贯(出生地)远离帝国的政治中心(首都)。当一位出生于地方省份的官员进入中央内阁时,他与家乡的联系可能成为影响地方稳定与发展的潜在因素。朝廷需要决定是允许他利用其影响力惠及故里,还是将其留在中央以巩固皇权。这反映了帝制中国中央集权与地方乡土纽带之间的微妙平衡。

完整事件代码

flavor_chi.18 = {	#Away from Home
	hide_portraits = yes
	type = country_event
	title = flavor_chi.18.title
	desc = flavor_chi.18.desc

	trigger = {
		tag_exists = CHI
		tag = CHI
		any_cabinet_character ?= {
			birth_location.province != root.capital.province
			birth_location.owner = c:CHI
		}
	}

	illustration_tags = {
		10 = regular
		10 = interior
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		ruler_or_regent ?= { save_scope_as = target_character remove_character_modifier =  mercury_elixir_modifier }
		random_cabinet_character = {
			limit = {
				birth_location != root.capital
			}
			save_scope_as = target_character2
		}
		scope:target_character2.birth_location = {
			save_scope_as = target_location
			province = { save_scope_as = target_province }
		}
		set_variable = {
			name = character_age_display_variable
			value = scope:target_character2.age_in_years
			months = 4
		}
		set_variable = {
			name = character_pop_satisfaction_gain_variable
			value = {
				add = scope:target_character2.total_abilities
				divide = 500
			}
			months = 4
		}
		set_variable = {
			name = character_pop_satisfaction_gain_variable_display
			value = {
				add = var:character_pop_satisfaction_gain_variable
				multiply = 100
			}
			months = 4
		}
		set_variable = {
			name = character_prosperity_gain_variable
			value = {
				add = scope:target_character2.total_abilities
				divide = 1000
			}
			months = 4
		}
		set_variable = {
			name = character_prosperity_gain_variable_display
			value = {
				add = var:character_prosperity_gain_variable
				multiply = 100
			}
			months = 4
		}
	}

	option = {
		name = flavor_chi.18.a

		custom_tooltip = target_province_gets_pop_sat_and_prosperity_tt
		remove_from_cabinet = scope:target_character2
		hidden_effect = {
			scope:target_location = {
				every_pop = {
					limit = {
						owner = root
					}
					add_pop_satisfaction = root.var:character_pop_satisfaction_gain_variable
				}
				province = {
					every_location_in_province = {
						change_prosperity = root.var:character_prosperity_gain_variable
					}
				}
			}
		}
		scope:target_character2 = {
			add_character_modifier = {
				modifier = away_from_the_court_modifier
				years = 2
				mode = add_and_extend
			}
		}
		if = {
			limit = { modifier:allow_harmony = yes }
			harmony_mild_towards_equilibrium = yes
		}
	}

	option = {
		name = flavor_chi.18.b

		add_government_power = government_power_weak_bonus
		if = {
			limit = { modifier:allow_righteousness = yes }
			add_righteousness = righteousness_weak_penalty
		}
	}

	after = {
		remove_variable = character_age_display_variable
		remove_variable = character_pop_satisfaction_gain_variable_display
		remove_variable = character_prosperity_gain_variable_display
	}
}