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_mam.17 马穆鲁克新血

时间范围

  • 起始日期: 无指定 (from 字段缺失)
  • 结束日期: 无指定 (to 字段缺失)
  • 触发概率: 无指定 (monthly_chance 字段缺失)

触发条件

  • 事件类型: 国家事件
  • 触发方式: 此事件没有定义显式的 trigger 条件,通常由游戏脚本或其它机制直接调用。

关键效果 此事件会立即创建两名具有“马穆鲁克”特质的随机文化背景的人物,并让玩家在两人中选择一人招募,另一人则被清除。

  • 选项 A (flavor_mam.17.a)

    • 招募第一位马穆鲁克人物 (target_character)。
    • 将其移动至玩家国家,并加入“贵族阶层”。
    • 如果该人物没有家族,则会在一个随机拥有的城市、城镇或乡村定居点 (target_location) 为其创建一个基于地名的家族。
    • 清除第二位马穆鲁克人物 (target_character2)。
  • 选项 B (flavor_mam.17.b)

    • 招募第二位马穆鲁克人物 (target_character2)。
    • 将其移动至玩家国家,并加入“贵族阶层”。
    • 如果该人物没有家族,则会在一个随机拥有的城市、城镇或乡村定居点 (target_location) 为其创建一个基于地名的家族。
    • 清除第一位马穆鲁克人物 (target_character)。

背景介绍 马穆鲁克苏丹国的统治阶层由来自高加索、黑海北岸及中亚等地的奴隶士兵(马穆鲁克)构成。为了维持军事贵族集团的活力与忠诚,苏丹国需要定期引入新的马穆鲁克。本事件模拟了这一过程:两位出身不同文化背景的马穆鲁克候选人被提供给统治者,统治者需要从中择一纳入自己的宫廷与贵族体系,另一位落选者则无缘于此权力结构。

完整事件代码

flavor_mam.17 = {
	type = country_event
	title = flavor_mam.17.title
	desc = flavor_mam.17.desc

	immediate = {
		random_owned_location = {
			limit = {
				OR = {
					location_rank = location_rank:city
					location_rank = location_rank:town
					location_rank = location_rank:rural_settlement
				}
			}
			save_scope_as = target_location
		}
		capital = { save_scope_as = target_capital }
		random_list = {
			1 = { culture:circassian_culture = { save_scope_as = target_culture } }
			1 = { culture:abkhazian_culture = { save_scope_as = target_culture } }
			1 = { culture:georgian_culture = { save_scope_as = target_culture } }
			1 = { culture:armenian_culture = { save_scope_as = target_culture } }
			1 = { culture:crimean = { save_scope_as = target_culture } }
			1 = { culture:halychian_culture = { save_scope_as = target_culture } }
			1 = { culture:ruthenian = { save_scope_as = target_culture } }
			1 = { culture:muscovite = { save_scope_as = target_culture } }
			1 = { culture:novgorodian = { save_scope_as = target_culture } }
			1 = { culture:turkish_culture = { save_scope_as = target_culture } }
			1 = { culture:turkoman_culture = { save_scope_as = target_culture } }
			1 = { culture:turkmen_culture = { save_scope_as = target_culture } }
			1 = { culture:khorasani_culture = { save_scope_as = target_culture } }
		}

		save_scope_as = target_country
		create_character = {
			adm = {
				value = { 25 75 }
				add = {
					value = root.army_tradition
					divide = 4
				}
			}
			dip = {
				value = { 25 75 }
				add = {
					value = root.army_tradition
					divide = 4
				}
			}
			mil = {
				value = { 25 75 }
				add = {
					value = root.army_tradition
					divide = 4
				}
			}
			save_scope_as = target_character
			culture = scope:target_culture
			create_in_limbo = yes
			add_trait = trait:mamluk
		}
		create_character = {
			adm = {
				value = { 25 75 }
				add = {
					value = root.army_tradition
					divide = 4
				}
			}
			dip = {
				value = { 25 75 }
				add = {
					value = root.army_tradition
					divide = 4
				}
			}
			mil = {
				value = { 25 75 }
				add = {
					value = root.army_tradition
					divide = 4
				}
			}
			save_scope_as = target_character2
			culture = scope:target_culture
			create_in_limbo = yes
			add_trait = trait:mamluk
		}
	}
	option = {
		name = flavor_mam.17.a

		scope:target_character = {
			move_country = root
			change_character_estate = estate_type:nobles_estate
			if = {
				limit  = { has_dynasty = no }
				custom_tooltip = found_dynasty_target_location_tt
				hidden_effect = {
					scope:target_location = {
						create_dynasty_from_location = random
						last_dynasty_in_location = { save_scope_as = target_dynasty }
					}
					change_dynasty = scope:target_dynasty
				}
			}
		}
   		kill_character_silently = scope:target_character2
	}

	option = {
		name = flavor_mam.17.b
		scope:target_character2 = {
			move_country = root
			change_character_estate = estate_type:nobles_estate
			if = {
				limit  = { has_dynasty = no }
				custom_tooltip = found_dynasty_target_location_tt
				hidden_effect = {
					scope:target_location = {
						create_dynasty_from_location = random
						last_dynasty_in_location = { save_scope_as = target_dynasty }
					}
					change_dynasty = scope:target_dynasty
				}
			}
		}
   		kill_character_silently = scope:target_character
	}
}