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

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

触发条件

  • 国家为 ORI
  • 政府类型为君主制 (government_type:monarchy)。
  • 当前统治者或摄政下的继承人拥有王朝 (has_dynasty = yes)。

关键效果

  • 选项 A (flavor_ori.5.a)
    • 将创建的人物 Kapilendra deva 移动到本国。
    • 为该人物添加持续至事件结束的修正 ori_rise_of_kapilendra
    • 设置变量 kapilendra_var 指向该人物。
    • 为该人物设置变量 kapilendra_ambitions_var
    • 提示该人物未来可能反叛 (ori_kapilendra_may_revolt_tt)。
  • 选项 B (flavor_ori.5.b)
    • 获得少量稳定度加成 (stability_mild_bonus)。
    • 处决创建的人物 Kapilendra deva

背景介绍: 此事件模拟了15世纪上半叶奥里萨(ORI)王国面临的关键时刻。在君主制框架下,一位来自加贾帕蒂王朝、能力出众的潜在统治者卡皮伦德拉·德瓦(Kapilendra deva)登上历史舞台。玩家需要决定是接纳这位拥有军事、行政和外交才能的强势人物,并承担其未来可能带来的风险,还是为了维护当前统治的稳定而将其清除。

完整事件代码

flavor_ori.5 = {
	type = country_event
	title = flavor_ori.5.title
	desc = flavor_ori.5.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

		ruler_or_heir_if_regent ?= {
			has_dynasty = yes
		}
	}

	illustration_tags = {
        10 = armed
        10 = interior
    }

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		capital ?= {
			create_dynasty_from_location = gajapati_dynasty
		}
		create_character = {
			first_name = Kapilendra
			last_name = deva
			dynasty = dynasty:gajapati_dynasty
			adm = 75
			dip = 70
			mil = 80
			birth_date = 1390.1.1
			culture = culture:orissan
			religion = religion:hindu
			estate = estate_type:nobles_estate
			save_scope_as = target_character
			create_in_limbo = yes
		}

		ruler_or_heir_if_regent ?= {
			save_scope_as = target_character2
		}
	}

	option = {
		name = flavor_ori.5.a

		scope:target_character = {
			move_country = root
			add_character_modifier = {
				mode = add_and_extend
				modifier = ori_rise_of_kapilendra
				years = -1
			}
		}

		custom_tooltip = {
			text = ori_kapilendra_may_revolt_tt
			set_variable = {
				name = kapilendra_var
				value = scope:target_character
			}

			scope:target_character = {
				set_variable = kapilendra_ambitions_var
			}
		}
	}

	option = {
		name = flavor_ori.5.b

		add_stability = stability_mild_bonus
   		kill_character = scope:target_character
	}
}