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_kni.1000] 骑士团在加勒比的行动

时间范围

1450.1.1 - 1600.1.1,每月有 1% 的概率触发。

触发条件

  • 事件仅能触发一次。
  • 玩家控制的国家必须是 医院骑士团 (KNI)
  • 加勒比地区 (caribbean_region) 必须存在至少一个有效的殖民目标国家。
  • 加勒比地区 必须存在一个满足以下所有条件的地点:
    • 该地点有所有者。
    • 所有者不是玩家控制的国家 (ROOT)。
    • 所有者不是玩家的附庸国。
    • 该地点是沿海的。
    • 该地点已被玩家发现。

关键效果

选项 A: flavor_kni.1000.a

  • 向目标国家支付一笔费用(金额基于目标地点的人口计算:人口 * 50)。
  • 将目标地点的所有权转移给玩家。
  • 触发目标国家的事件 flavor_kni.1001

选项 B: flavor_kni.1000.b

  • 玩家获得轻微的威望惩罚 (prestige_mild_penalty)。

背景介绍

此事件模拟了医院骑士团(马耳他骑士团)在15至17世纪期间,于加勒比海地区寻求建立据点或获取领土的努力。作为一支活跃于地中海的海上军事力量,骑士团可能试图将其影响力扩展到新世界,通过购买或谈判从其他殖民国家手中获得战略性的沿海地点,以参与跨大西洋贸易或作为行动基地。

完整事件代码

flavor_kni.1000 = {
	type = country_event
	title = flavor_kni.1000.title
	desc = flavor_kni.1000.desc

	fire_only_once = yes

	historical_info = flavor_kni.1000.historical_info

	dynamic_historical_event = {
		tag = KNI
		from = 1450.1.1
		to = 1600.1.1
		monthly_chance = 1
	}

	trigger = {
		region:caribbean_region = {
			any_present_country = {
				count >= 1
				is_valid_colonial_target = yes
			}
		}
		region:caribbean_region = {
			any_location_in_region = {
				has_owner = yes
				owner != root
				owner = {
					NOT = {
						is_subject_of = ROOT
					}
				}
				is_coastal = yes
				is_discovered_by = root
			}
		}
	}

	illustration_tags = {
        10 = regular
        10 = exterior
    }

	immediate = {
		event_illustration_estate_effect = { foreground = estate_type:nobles_estate background = estate_type:nobles_estate }
		save_scope_as = from_country
		region:caribbean_region = {
			ordered_present_country = {
				order_by = "opinion(root)"
				max = 1
				limit = {
					NOT = {
						is_subject_of = ROOT
					}
					is_valid_colonial_target = yes
				}
				save_scope_as = target_country
			}
		}

		set_local_variable = {
			name = cost_of_location_set
			value = 0
		}

		region:caribbean_region = {
			random_location_in_region = {
				limit = {
					owner ?= scope:target_country
				}
				save_scope_as = target_location
				change_local_variable = {
					name = cost_of_location_set
					add = population
				}
			}
		}

		change_local_variable = {
			name = cost_of_location_set
			multiply = 50
		}
	}

	option = {
		name = flavor_kni.1000.a

		custom_tooltip = kni_if_target_agrees

		show_as_tooltip = {
			scope:target_country = {
				add_gold = local_var:cost_of_location_set
			}
			add_gold = {
				value = local_var:cost_of_location_set
				multiply = -1
			}
			scope:target_location = {
				change_location_owner = ROOT
			}
		}

		scope:target_country = {
			trigger_event_non_silently = {
				id = flavor_kni.1001
			}
		}
	}

	option = {
		name = flavor_kni.1000.b
		add_prestige = prestige_mild_penalty
	}
}