flavor_maj.17 马利克·易卜拉欣登场
时间范围
1400.1.1 - 1410.1.1,每月有 10% 的概率触发。
触发条件
- 事件仅对标签为 MAJ 的国家触发一次。
- 事件为动态历史事件。
关键效果
选项: flavor_maj.17.a
- 将创建的人物
target_character移动至本国。 - 在目标地点
target_location的目标人口target_pop中,分裂出 25% 的人口,并将其宗教转变为 逊尼派 (Sunni)。 - 将人物
target_character转变为 瓦利松戈 (wali songo)。 - 设置国家变量
MAJ_wali_songo的值为 0。
背景介绍
此事件模拟了15世纪初,一位名为马利克·易卜拉欣的逊尼派重要人物在满者伯夷王国(MAJ)登场的场景。他出生于卡尚,后被尊为“瓦利松戈”(九圣贤)之一,对伊斯兰教在爪哇地区的传播起到了关键作用。事件通过创建该人物并伴随人口宗教转变,反映了这一时期伊斯兰教在东南亚群岛的早期传播与本土化进程。
完整事件代码
flavor_maj.17 = {
type = country_event
title = flavor_maj.17.title
desc = flavor_maj.17.desc
fire_only_once = yes
dynamic_historical_event = {
tag = MAJ
from = 1400.1.1
to = 1410.1.1
monthly_chance = 10
}
illustration_tags = {
10 = exterior
10 = happy
}
immediate = {
location:kashan = {
save_scope_as = birth_location
}
create_character = {
estate = estate_type:burghers_estate
first_name = name_malik
last_name = name_abraham
birth_date = 1370.1.1
religion = religion:sunni
birth_location = location:kashan
adm = { 30 70 }
dip = { 30 70 }
mil = { 30 70 }
save_scope_as = target_character
}
religion:sunni = {
save_scope_as = target_religion
}
random_owned_location = {
save_scope_as = target_location
}
location:gresik = {
if = {
limit = {
owner ?= ROOT
}
save_scope_as = target_location
}
}
scope:target_location = {
random_pop = {
save_scope_as = target_pop
}
ordered_pop = {
order_by = pop_size
limit = {
pop_type = pop_type:peasants
religion.group != religion_group:muslim
}
save_scope_as = target_pop
}
}
}
option = {
name = flavor_maj.17.a
scope:target_character = {
move_country = ROOT
}
scope:target_pop = {
split_pop = {
fraction = 0.25
religion = religion:sunni
}
}
scope:target_character = {
turn_into_wali_songo = yes
}
set_variable = {
name = MAJ_wali_songo
value = 0
}
}
}