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_tim.1100] 法兹拉·阿斯特拉巴迪的崛起

时间范围:1370.1.1 - 1410.1.1 (每月 2% 概率)

触发条件

  • 国家为帖木儿帝国 (TIM)。
  • 统治者或其摄政王位继承人必须是合法男性 (is_legally_male = yes) 且可以结婚 (character_can_marry_trigger = yes)。

关键效果

  • 选项 A (flavor_tim.1100.a)

    • 将创建的人物 target_character 移动到本国。
    • 为该人物添加持续至事件结束的修正 tim_reincarnation_of_allah
    • 在1至10年内,静默触发后续事件 flavor_tim.1102
  • 选项 B (flavor_tim.1100.b)

    • 触发条件:存在一个符合条件的邻国 (scope:target_country)。
    • 为本国设置一个持续120个月的变量 tim_fazlallah_been_to_court = yes
    • 将创建的人物 target_character 从本国移动到该邻国 (scope:target_country)。
    • 在该邻国静默触发事件 flavor_tim.1101
  • 选项 C (flavor_tim.1100.c)

    • 处决创建的人物 target_character
    • 创建一个名为 hurufism_followers 的宗教叛军 (target_rebel),信仰为逊尼派 (religion:sunni)。
    • 在首都 (capital) 随机选择一个农民阶层 (pop_type:peasants) 的人口,将其效忠对象改为该叛军。

背景介绍: 此事件模拟了14世纪后期,神秘主义思想家法兹拉·阿斯特拉巴迪在帖木儿帝国境内的出现及其可能带来的影响。法兹拉·阿斯特拉巴迪是胡鲁菲派(Hurufism)的创始人,他的教义在当时颇具争议,既可能被统治者接纳为宫廷学者,也可能遭到驱逐或镇压,从而引发宗教动荡。事件反映了中世纪伊斯兰世界宗教思想与政治权力之间的复杂互动。

完整事件代码

flavor_tim.1100 = { #Rise of Astrarabadi Fazlallah
	type = country_event
	title = flavor_tim.1100.title
	desc = flavor_tim.1100.desc

	dynamic_historical_event = {
		tag = TIM
		from = 1370.1.1
		to = 1410.1.1
		monthly_chance = 2
	}
	fire_only_once = yes

	trigger = {
		ruler_or_heir_if_regent ?= {
			is_legally_male = yes
			character_can_marry_trigger = yes
		}
	}

	illustration_tags = {
        10 = regular
        10 = exterior
    }

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		create_character = {
			first_name = name_fazlallah
			last_name = Astarabadi
			adm = 52
			dip = 87
			mil = 34
			birth_date = 1340.6.3
			birth_location = location:gorgan
			culture = location:gorgan.owner.culture
			religion = religion:sunni
			estate = estate_type:peasants_estate
			add_trait = trait:zealot
			save_scope_as = target_character
			create_in_limbo = yes
		}

		clear_saved_scope = target_country

		ordered_neighbor_country = {
			limit = {
				NOT = { has_variable = tim_fazlallah_been_to_court }
			}
			order_by = prestige
			max = 1
			save_scope_as = target_country
		}
	}

	option = {
		name = flavor_tim.1100.a

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

		trigger_event_silently = {
			id = flavor_tim.1102
			years = {
				1
				10
			}
		}
	}

	option = {
		name = flavor_tim.1100.b

		trigger = {
			exists = scope:target_country
		}

		custom_tooltip = {
			text = tim_banish_character_tt
			set_variable = {
				name = tim_fazlallah_been_to_court
				value = yes
				months = 120
			}
			scope:target_character = {
				move_country = root
				move_country = scope:target_country
			}
			save_scope_as = target_country2
			scope:target_country = {
				trigger_event_silently = flavor_tim.1101
			}
		}
	}

	option = {
		name = flavor_tim.1100.c

		kill_character = {
			target = scope:target_character
		}

		create_rebel = {
			category = religious
			religion = religion:sunni
			name = hurufism_followers
			save_scope_as = target_rebel
		}

		capital ?= {
			random_pop = {
				limit = {
					pop_type = pop_type:peasants
				}
				change_pop_allegiance = scope:target_rebel
			}
		}
	}
}