Scripted effect · Legacy of Persia files
spawn_zanj_leader_character_effect
spawn_zanj_leader_character_effect = yesgame/common/scripted_effects/01_dlc_fp3_scripted_effects.txt, line 796 (76 lines). No parameters.
spawn_zanj_leader_character_effect is a scripted effect in Crusader Kings III, in the Legacy of Persia files, written at line 796 of its file. It takes no parameters: spawn_zanj_leader_character_effect = yes. The game's script calls it in 1 place, among them fp3_story_cycle_zanj_rebellion_events.0001 (event). Patch 1.20.1.2, from game/common/scripted_effects/01_dlc_fp3_scripted_effects.txt.
The comment above it in the file
This is Ali Ibn Muhammad, leader of the Zanj Rebellion
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (76 lines of game script)
spawn_zanj_leader_character_effect = {
create_character = {
age = { 55 65 }
name = "Muhammad"
gender = male
faith = faith:shia
rite = rite:zayidi
location = title:c_basra.title_province
culture = culture:bedouin
dynasty = none
save_scope_as = zanj_leader_father
}
create_character = {
age = { 55 65 }
gender = female
faith = faith:kharijite
rite = rite:azariqa
location = title:c_basra.title_province
culture = culture:bedouin
dynasty = none
save_scope_as = zanj_leader_mother
}
create_character = {
age = { 25 35 }
name = "Ali"
gender = male
faith = faith:shia
rite = rite:zayidi
location = title:c_basra.title_province
culture = culture:bedouin
father = scope:zanj_leader_father
mother = scope:zanj_leader_mother
dynasty = none
trait = education_intrigue_3
trait = ambitious
trait = deceitful
trait = just
trait = shrewd
trait = peasant_leader
random_traits = no
#Skills
learning = {
min_template_high_skill
max_template_high_skill
}
martial = {
min_template_average_skill
max_template_average_skill
}
prowess = {
min_template_low_skill
max_template_low_skill
}
diplomacy = {
min_template_average_skill
max_template_average_skill
}
intrigue = {
min_template_high_skill
max_template_high_skill
}
stewardship = {
min_template_low_skill
max_template_low_skill
}
save_scope_as = zanj_leader
}
}As written in game/common/scripted_effects/01_dlc_fp3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls spawn_zanj_leader_character_effect.
Source: game/common/scripted_effects/01_dlc_fp3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.