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_son.1003 朝觐的学者

时间范围:无明确 fromto 日期限制,事件在满足条件后触发。

触发条件

  • 事件本身为动态历史事件,无显式 trigger 字段。其触发依赖于前置事件或游戏状态,具体由游戏引擎控制。

关键效果

  • 选项 A (flavor_son.1003.a)
    • 触发条件:变量 hajj_money 的值大于等于 500。
    • 效果
      • 将之前创建的学者角色 (target_character2) 移入当前国家。
      • 隐藏效果:将变量 hajj_money 的值减少 500。
      • 自定义提示:显示相关提示文本 (son_show_hajj_money_tt)。
      • 实际效果(以提示形式显示):国库黄金减少 500。
  • 选项 B (flavor_son.1003.b)
    • 效果
      • 自定义提示:显示继续朝觐的提示文本 (son_continue_hajj_tt)。
      • 静默杀死之前创建的学者角色 (target_character2)。

背景介绍: 此事件模拟了历史上穆斯林统治者资助学者完成朝觐(Hajj)的情景。朝觐是伊斯兰教的五大功课之一,对虔诚的穆斯林至关重要。统治者有时会出资赞助杰出的学者或宗教人士前往麦加朝圣,这既是宗教义务的履行,也能提升统治者的声望和宗教合法性,并可能吸引人才。事件中涉及的角色 Musa Keita(马里帝国的曼萨·穆萨)是历史上以奢华朝觐闻名的人物,他的旅程对沿途经济和文化产生了深远影响。

完整事件代码

flavor_son.1003 = {
	type = country_event
	title = flavor_son.1003.title
	desc = flavor_son.1003.desc

	illustration_tags = {
		10 = happy
		10 = interior
	}

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:clergy_estate background = estate_type:clergy_estate }
		ruler_or_regent ?= {
			save_scope_as = target_character
		}

		region:egypt_region = {
			ordered_location_in_region = {
				order_by = population
				max = 1
				check_range_bounds = no
				save_scope_as = target_location
			}
		}

		create_character = {
			artist_skill = 0.8
			artist = scientist
			estate = estate_type:burghers_estate
			birth_location = scope:target_location
			save_scope_as = target_character2
			create_in_limbo = yes
		}

		character:mal_musa_keita = {
			save_scope_as = target_character3
		}
	}

	option = {
		name = flavor_son.1003.a

		trigger = {
			var:hajj_money >= 500
		}

		scope:target_character2 = {
			move_country = root
		}

		hidden_effect = {
			change_variable = { name = hajj_money subtract = 500 }
		}

		custom_tooltip = son_show_hajj_money_tt

		show_as_tooltip = {
			add_gold = -500
		}
	}

	option = {
		name = flavor_son.1003.b

		custom_tooltip = son_continue_hajj_tt
   		kill_character_silently = scope:target_character2
	}

	after = {
		trigger_event_silently = { id = flavor_son.1004 days = 15 }
	}
}