flavor_tur.1003 斯坎德培的崛起
时间范围:1390.1.1 - 1450.1.1(每月 3% 概率) 触发条件:
- 国家为
TUR(奥斯曼帝国)。 - 已拥有
uc_bey_advance科技。 - 名为
skanderbeg_kastrioti的人物:- 存活。
- 年龄 ≥ 25 岁。
- 其拥有者(owner)为触发国(root)。
- 省份定义
albania_province(阿尔巴尼亚地区)中,至少有 5% 的地块满足以下任一条件:- 所有者为触发国(root)。
- 无所有者。
- 不可被拥有。
关键效果:
- 选项 A (
flavor_tur.1003.a):- 在阿尔巴尼亚地区人口最多的、由触发国拥有的地块上,创建一个新国家。
- 新国家以
skanderbeg_kastrioti为统治者。 - 新国家宗教与触发国相同,文化为阿尔巴尼亚(
albanian)。 - 新国家成为触发国的
uc_bey(附庸)类型属国。 - 新国家首都:
- 免费建造一座
sergeantry(军士建筑)。 - 若没有
stockade(栅栏)、castle(城堡)、bastion(棱堡)、star_fort(星形要塞)或fortress(堡垒)中的任何一种,则免费建造一座castle(城堡),费用由触发国支付。
- 免费建造一座
- 新国家获得
offensive_vs_defensive(进攻 vs 防御)社会价值 200 点。 - 新国家类型变为
army(军队)。 - 新国家首都创建 2 个
army_infantry(陆军步兵)子单位。 - 触发国在阿尔巴尼亚地区拥有的所有地块,所有权转移给新国家,并成为新国家的核心领土,整合等级设为
core(核心)。
- 选项 B (
flavor_tur.1003.b):- 吞并(
annex_country)上述创建的新国家,理由为外交(Diplomatic)。
- 吞并(
背景介绍: 此事件模拟了奥斯曼帝国统治下,阿尔巴尼亚民族英雄斯坎德培(乔治·卡斯特里奥蒂)的崛起。斯坎德培原为奥斯曼帝国将领,后转而领导阿尔巴尼亚人抵抗奥斯曼统治。事件允许奥斯曼帝国选择承认并册封斯坎德培为阿尔巴尼亚地区的贝伊(附庸统治者),或者直接镇压并吞并其试图建立的政权。
完整事件代码:
flavor_tur.1003 = {
type = country_event
title = flavor_tur.1003.title
desc = flavor_tur.1003.desc
dynamic_historical_event = {
tag = TUR
from = 1390.1.1
to = 1450.1.1
monthly_chance = 3
}
fire_only_once = yes
trigger = {
has_advance = uc_bey_advance
character:skanderbeg_kastrioti ?= {
is_alive = yes
age_in_years >= 25
owner ?= root
}
province_definition:albania_province = {
any_location_in_province_definition = {
percent >= 0.05
OR = {
owner ?= root
has_owner = no
is_ownable = no
}
}
}
}
immediate = {
character:skanderbeg_kastrioti = {
save_scope_as = target_character
}
ruler_or_regent ?= {
save_scope_as = target_character2
}
province_definition:albania_province = {
ordered_location_in_province_definition = {
order_by = population
limit = {
owner ?= root
}
position = 0
save_scope_as = target_capital
}
}
scope:target_capital = {
create_country_from_location = {
set_capital = scope:target_capital
set_new_ruler = scope:target_character
change_religion = root.religion
change_religion_for_ruler_and_family = { country = this religion = root.religion }
change_culture = culture:albanian
make_subject_of = { target = root type = subject_type:uc_bey }
capital = {
construct_building = {
building_type = building_type:sergeantry
cost_multiplier = 0
instant = yes
cost_multiplier_reason = "military_cheap_sponsorship"
}
if = {
limit = {
NOR = {
has_building = building_type:stockade
has_building = building_type:castle
has_building = building_type:bastion
has_building = building_type:star_fort
has_building = building_type:fortress
}
}
construct_building = {
building_type = building_type:castle
cost_multiplier = 0
cost_multiplier_reason = "military_cheap_sponsorship"
payer = root
}
}
province = { save_scope_as = target_province }
}
change_societal_value = {
type = offensive_vs_defensive
value = 200
}
save_scope_as = target_country
ruler_or_regent = { save_scope_as = target_character }
while = {
count = 2
capital = { create_sub_unit_of_category = sub_unit_category:army_infantry }
}
change_country_type = army
}
}
scope:target_province = {
every_location_in_province = {
limit = {
owner ?= root
}
change_location_owner = scope:target_country
add_core = scope:target_country
change_integration_level = core
}
}
}
option = {
name = flavor_tur.1003.a
custom_tooltip = {
text = tur_grant_all_of_albania_to_skanderbeg_as_uc_bey
scope:target_country = {
make_subject_of = {
target = ROOT
type = subject_type:uc_bey
}
}
}
}
option = {
name = flavor_tur.1003.b
custom_tooltip = {
text = tur_no_lands_for_skanderbeg_tt
annex_country = { country = scope:target_country reason = Diplomatic }
}
}
}