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.67] 何塞·安东尼奥·加斯塔涅塔与海军复兴

时间范围:1690.1.1 - 1710.1.1(每月 1% 概率)

触发条件

  • 国家拥有港口 (has_ports = yes)

关键效果

  • 选项 A (历史选项)
    • 花费 6 金币。
    • 获得大量海军传统 (navy_tradition_severe_bonus)。
    • 社会价值观向“重视海军”方向大幅移动 (societal_value_large_move_to_right)。
    • 在随机港口创建一定数量的重型战舰。具体数量基于以下公式计算,并取上限:
      • 基础值:3 艘
      • 加上:预期海军规模的 5%
      • 加上:海军传统的 10%
      • 加上:非乡村港口数量的 10%
      • 上限:不超过预期海军规模的 10%
    • 人物“何塞·安东尼奥·加斯塔涅塔”加入我国。
    • 为该人物随机添加一个“海军上将”类特质,并添加“拒绝在内阁任职”的修正(持续至游戏结束)。
  • 选项 B
    • 损失大量海军传统 (navy_tradition_severe_penalty)。
    • 社会价值观向“重视陆军”方向大幅移动 (societal_value_large_move_to_left)。
    • (隐藏效果)人物“何塞·安东尼奥·加斯塔涅塔”被移除。

背景介绍: 该事件模拟了西班牙海军在17世纪末至18世纪初的复兴努力。何塞·安东尼奥·加斯塔涅塔(José Antonio Gaztañeta)是一位来自圣塞巴斯蒂安的巴斯克海军工程师和指挥官,他致力于设计和建造新型战舰,以重振在经历一系列挫折后衰落的西班牙海军。选择支持他的计划将投入资源重建舰队并提升海军传统,而拒绝则意味着维持现状,可能导致海军力量的进一步衰退。

完整事件代码

flavor_cas.67 = { #José Antonio Gaztañeta and the Rebirth of the Navy
	type = country_event
	title = flavor_cas.67.title
	desc = flavor_cas.67.desc
	image = "gfx/interface/illustrations/units/navy_heavy_ship_6.dds"
	
	fire_only_once = yes

	historical_info = flavor_cas.67.historical_info

	dynamic_historical_event = {
		tag = CAS
		tag = SPA
		from = 1690.1.1
		to = 1710.1.1
		monthly_chance = 1
	}

	trigger = {
		has_ports = yes
	}

	immediate = {
		create_character = {
			first_name = name_joseph.name_anthony
			last_name = Gaztaneta
			birth_date = 1656.8.11
			birth_location = location:san_sebastian
			estate = estate_type:peasants_estate
			adm = { 20 70 }
			dip = { 20 70 }
			mil = { 60 90 }
			culture = culture:basque
			save_scope_as = target_character
			create_in_limbo = yes
		}
		random_port_in_country = {
			save_scope_as = target_location
		}
		set_variable = {
			name = total_gained_ships_variable
			value = {
				add = 3
				add = {
					value = {
						add = expected_navy_size
						multiply = 0.05
					}
				}
				add = {
					value = {
						add = navy_tradition
						multiply = 0.1
					}
				}
				add = {
					value = {
						add = num_of_non_rural_ports
						multiply = 0.1
					}
				}
				max = {
					value = expected_navy_size
					multiply = 0.1
				}
				ceiling = yes
			}
		}
	}

	option = {
		name = flavor_cas.67.a
		historical_option = yes
		change_gold_effect = { scale = -6
		}
		add_navy_tradition = navy_tradition_severe_bonus
		change_societal_value = {
			type = land_vs_naval
			value = societal_value_large_move_to_right
		}
		custom_tooltip = {
			text = flavor_cas.67.a.tt
			while = {
				limit = {
					var:total_gained_ships_variable > 0
				}
				change_variable = {
					name = total_gained_ships_variable
					subtract = 1
				}
				scope:target_location = {
					create_sub_unit_of_category = sub_unit_category:navy_heavy_ship
				}
			}
		}
		scope:target_character = {
			move_country = root
		}
		scope:target_character = {
			add_random_trait_from_category = admiral
			add_character_modifier = {
				modifier = refuses_to_serve_in_cabinet
				years = -1
				mode = add
			}
		}
	}

	option = {
		name = flavor_cas.67.b
		add_navy_tradition = navy_tradition_severe_penalty
		change_societal_value = {
			type = land_vs_naval
			value = societal_value_large_move_to_left
		}
		hidden_effect = {
			kill_character_silently = scope:target_character
		}
	}

	after = {
		remove_variable = total_gained_ships_variable
	}
}