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_cas.29 麦哲伦之死

时间范围:1519.1.1 - 1540.1.1(每月 10% 概率)

触发条件

  • 国家拥有变量 cas_magellan_dies
  • 角色 por_magellan 存在且存活。
  • 角色 por_magellan 正在领导本国在 area:indonesia_coasts_area(印度尼西亚海岸区域)的探索任务。

关键效果

  • 历史选项flavor_cas.29.a
    • 随机选取本国一个正在进行的探索任务,将其探索进度减少 50%。
    • 杀死角色 por_magellan
    • 创建一个名为“胡安·塞巴斯蒂安·埃尔卡诺”的新角色,并将其移入本国,同时任命他为 area:indonesia_coasts_area 区域的探索者。

背景介绍: 该事件模拟了葡萄牙探险家斐迪南·麦哲伦在环球航行期间于菲律宾群岛遇害的历史事件。麦哲伦死后,其船队由西班牙巴斯克航海家胡安·塞巴斯蒂安·埃尔卡诺率领,最终完成了首次环球航行,证明了地球是圆的,并开辟了新的贸易航线。

完整事件代码

flavor_cas.29 = { #Magellan Killed #GRAVEYARD
	type = country_event
	title = flavor_cas.29.title
	desc = flavor_cas.29.desc
	image = "gfx/interface/illustrations/institutions/new_world.dds"

	historical_info = flavor_cas.29.historical_info

	fire_only_once = yes

	dynamic_historical_event = {
		tag = CAS
		tag = SPA
		from = 1519.1.1
		to = 1540.1.1
		monthly_chance = 10
	}

	trigger = {
		has_variable = cas_magellan_dies
		exists = character:por_magellan
		character:por_magellan = { is_alive = yes }
		any_exploration_from_country = {
			leader = character:por_magellan
			area = area:indonesia_coasts_area
		}
	}

	immediate = {
		character:por_magellan ?= { save_scope_as = target_character }
		create_character = {
			estate = estate_type:burghers_estate
			first_name = name_john.name_sebastian
			last_name = Elcano
			adm = 72
			dip = 70
			mil = 83
			birth_date = 1486.1.1
			birth_location = location:tolosa
			female = no
			save_scope_as = target_elcano
			create_in_limbo = yes
			script = cas_elcano
			culture = culture:basque
		}
	}

	option = {
		name = flavor_cas.29.a
		historical_option = yes
		random_exploration_from_country = {
			change_exploration_progress = {
				value = exploration_monthly_progress
				multiply = -0.5
			}
		}
		kill_character = scope:target_character
		custom_tooltip = {
			text = flavor_cas.29.a.tt
			scope:target_elcano = {
				move_country = root
			}
			change_explorer = { area = area:indonesia_coasts_area character = scope:target_elcano }
		}
	}

	after = {
		remove_variable = cas_magellan_dies
	}
}