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_ori.6 卡皮伦德拉的崛起

时间范围:1420.1.1 - 1460.1.1(每月 2% 概率) 触发条件

  • 国家为 ORI(奥里萨)。
  • 政府类型为君主制。
  • 变量 kapilendra_var 所代表的人物存活。

关键效果

  • 选项 A (flavor_ori.6.a)
    • 将叛军领袖(卡皮伦德拉)设为新统治者。
    • 流放当前统治者或摄政。
    • 消灭 kapilendra_rebels 叛军。
    • 损失少量正统性。
  • 选项 B (flavor_ori.6.b)
    • 使 kapilendra_rebels 叛军的进展增加 50%。
    • 损失少量稳定度。

历史选项:无明确标记。

背景介绍: 此事件模拟了15世纪中叶奥里萨王国(ORI)内部的一场权力斗争。卡皮伦德拉(Kapilendra)作为一位有实力的贵族或军事领袖,对现任君主发起挑战并发动了叛乱。事件反映了中世纪印度地区王国中常见的王朝更迭与内战模式,玩家需要决定是接受篡位者以快速结束冲突,还是支持现任统治者但面临更持久的叛乱。

完整事件代码

flavor_ori.6 = {
	hide_portraits = yes
	type = country_event
	title = flavor_ori.6.title
	desc = flavor_ori.6.desc

	dynamic_historical_event = {
		tag = ORI
		from = 1420.1.1
		to = 1460.1.1
		monthly_chance = 2
	}

	fire_only_once = yes

	trigger = {
		government_type = government_type:monarchy
		var:kapilendra_var ?= {
			is_alive = yes
		}
	}

	illustration_tags = {
        10 = armed
        10 = exterior
    }

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		var:kapilendra_var = {
			save_scope_as = target_character
		}
		ruler_or_regent ?= {
			save_scope_as = target_character2
		}

		remove_variable = kapilendra_var

		create_rebel = {
			category = pretender
			name = kapilendra_rebels
			save_scope_as = target_rebel
		}

		set_variable = {
			name = current_ruler_power_variable
			value = {
				add = {
					value = "estate_power(estate_type:crown_estate)"
					multiply = 5
				}
				add = {
					value = government_power
					divide = 2
				}
			}
		}
		set_variable = {
			name = num_rebelling_locations
			value = 0
		}
		if = {
			limit = {
				var:current_ruler_power_variable < 100
			}
			while = {
				limit = { var:current_ruler_power_variable < 100 }
				ordered_owned_location = {
					limit = {
						is_capital = no
						NOT = { has_variable = already_supports_rebel_variable }
					}
					order_by = {
						value = population
						multiply = -1
					}
					max = 1
					owner = {
						change_variable = {
							name = current_ruler_power_variable
							add = 2
						}
						change_variable = {
							name = num_rebelling_locations
							add = 1
						}
					}
					set_variable = {
						name = already_supports_rebel_variable
						months = 2
					}
					every_pop = {
						limit = {
							owner = root
						}
						add_pop_satisfaction = pop_satisfaction_extreme_penalty
						change_pop_allegiance = scope:target_rebel
					}
				}
			}
		}
		else = {
			remove_variable = current_ruler_power_variable
			remove_variable = num_rebelling_locations
		}

		scope:target_character = {
			change_character_allegiance = scope:target_rebel
		}
	}

	option = {
		name = flavor_ori.6.a

		set_new_ruler = scope:target_character

		scope:target_character2 = {
			banish_character = yes
		}

		destroy_rebel = scope:target_rebel

		add_legitimacy = legitimacy_mild_penalty
	}

	option = {
		name = flavor_ori.6.b

		scope:target_rebel = {
			add_rebel_progress = 0.5
		}

		add_stability = stability_mild_penalty
	}

	after = {
		remove_variable = current_ruler_power_variable
		remove_variable = num_rebelling_locations
	}
}