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_chb.1 恰巴尼耶王朝崛起

时间范围:1338.1.1 - 1343.1.1(每月 5% 概率)

触发条件

  • 角色 chb_hasan_kuchak 必须存活。
  • 国家 CHB 不存在。
  • 玩家控制 tabriz 地区。

关键效果

  • 选项 A (flavor_chb.1.a):无额外效果。
  • 选项 B (flavor_chb.1.b):切换玩家控制至新成立的 CHB 国家。

事件核心效果

  1. 国家创建:在 tabriz 地区创建国家 CHB,并以其为首都。
  2. 国家设定
    • 文化转变为 mongolian_culture
    • 国家类型转变为 army
    • 获得 3000 金币。
    • 所有阶层(贵族、教士、农民、市民)获得 estate_satisfaction_radical_bonus 满意度加成。
    • 所有自有地区获得 control_radical_bonus 控制度加成。
    • 所有未完全整合的省份立即整合为核心。
  3. 军事与建筑
    • tabriz 地区免费、立即建造一座 kurultai 建筑(如果尚未存在)。
    • tabriz 地区为 CHB 创建 12 支 a_steppe_horse_archers 部队。
  4. 人物操作
    • 角色 chb_hasan_kuchak 成为 CHB 的新统治者。
    • 如果角色 jal_muhammad_khan 存活,则被 chb_hasan_kuchak 处决。
    • 如果角色 chb_malek_ashraf 存活,则将其转移至 CHB 国家。
  5. 外交关系
    • 取消 CHB 的任何附庸关系。
    • 如果 CHB 不是 ilkhanate 国际组织的成员,则将其加入。
  6. 核心宣称
    • tabriz 所在区域的所有玩家自有地区,以及满足特定条件(已是 CHB 核心、距离 tabriz 比距离玩家首都更近、或本地控制度低于 0.1)的邻近玩家自有地区,都将成为 CHB 的核心。

背景介绍: 该事件模拟了14世纪中叶,在伊儿汗国衰落和权力真空的背景下,蒙古军事贵族哈桑·库恰克(Hasan Kuchak)在伊朗西北部的大不里士(Tabriz)地区建立独立的恰巴尼耶(Chobanid)王朝的过程。事件反映了地方军阀利用中央权威削弱的机会,整合资源、争取当地支持(包括各阶层和军事力量),并迅速确立对周边地区的控制,从而形成一个以游牧军事传统为基础的新政治实体。

完整事件代码

flavor_chb.1 = {
	type = country_event
	title = flavor_chb.1.title
	desc = flavor_chb.1.desc
	fire_only_once = yes

	dynamic_historical_event = {
		tag = JAL
		from = 1338.1.1
		to = 1343.1.1
		monthly_chance = 5
	}

	major = yes
	major_trigger = {
		tag = ERE
	}

	trigger = {
		character:chb_hasan_kuchak ?= { is_alive = yes }
		NOT = { country_exists = c:CHB }
		owns = location:tabriz
	}

	illustration_tags = {
		10 = exterior
		10 = regular
	}

	immediate = {
		event_illustration_poptype_effect = { foreground = pop_type:soldiers background = pop_type:soldiers }
		character:chb_hasan_kuchak = { save_scope_as = target_character }
		c:CHB = { save_scope_as = target_country }
		location:tabriz = {
			save_scope_as = target_location
			area = {
				every_location_in_area = {
					limit = { owner ?= root }
					add_core = scope:target_country
				}
			}
			floodfill_locations = {
				limit = { 
					owner ?= root
					OR = {
						is_core_of = scope:target_country
						"this.distance_to(root.capital)" > "this.distance_to(scope:target_location)"
						local_control < 0.1
					}
				}
				add_core = scope:target_country
			}
		}
		create_country_from_cores_in_our_locations = scope:target_country
		scope:target_country = {
			set_capital = scope:target_location
			change_culture = culture:mongolian_culture
			change_country_type = army
			change_country_color = map_CHB
			add_gold = 3000
			add_estate_satisfaction = { type = estate_type:nobles_estate value = estate_satisfaction_radical_bonus }
			add_estate_satisfaction = { type = estate_type:clergy_estate value = estate_satisfaction_radical_bonus }
			add_estate_satisfaction = { type = estate_type:peasants_estate value = estate_satisfaction_radical_bonus }
			add_estate_satisfaction = { type = estate_type:burghers_estate value = estate_satisfaction_radical_bonus }
			every_owned_location = {
				change_control = control_radical_bonus
			}
			every_province = {
				limit = { any_location_in_province = { NOT = { integration_level = core } } }
				change_province_integration = core
			}
		}
		scope:target_location = {
			if = {
				limit = {
					NOT = { has_building = building_type:kurultai }
				}
				construct_building = {
					building_type = building_type:kurultai
					cost_multiplier = 0
					cost_multiplier_reason = "game_concept_event"
					instant = yes
				}
			}
			while =  {
				count = 12
				create_sub_unit_with_owner = {
					type = a_steppe_horse_archers
					owner = scope:target_country
				}
			}
		}
		cancel_subject = scope:target_country
		if = {
			limit = {
				character:jal_muhammad_khan ?= { is_alive = yes }
			}
			kill_character = {
				target = character:jal_muhammad_khan
				reason = execution
				killer = scope:target_character
			}
		}
		if = {
			limit = {
				character:chb_malek_ashraf ?= { is_alive = yes }
			}
			character:chb_malek_ashraf = { move_country = scope:target_country }
		}
		if = {
			limit = {
				scope:target_country = {
					NOT = { is_member_of_international_organization = international_organization:ilkhanate }
				}
			}
			international_organization:ilkhanate = { add_country_to_international_organization = scope:target_country }
		}
	}

	option = {
		name = flavor_chb.1.a
		custom_tooltip = flavor_chb.1.tt
	}
	option = {
		name = flavor_chb.1.b
		custom_tooltip = flavor_chb.1.tt
		change_player = scope:target_country
	}
	after = {
		scope:target_country = {
			set_new_ruler = scope:target_character
		}
	}
}