N3OW/common/scripted_effects/00_historical_characters_scripted_effects.txt

6085 lines
No EOL
209 KiB
Text

#spawn_historical_characters_effect = {
#
# if = { # Karunakara Tondaiman
# limit = {
# current_year >= 1067
# current_year <= 1070
# NOT = { exists = global_var:hchar_karunakara }
# }
# set_global_variable = { name = hchar_karunakara value = yes }
# title:b_nagapattinam = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = Karunakara
# dynasty_house = house:house_tondaiman
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:vaishnavism
# culture = scope:birth_location.title_province.culture
# trait = education_martial_4
# trait = loyal
# random_traits_list = {
# count = 3
# brave = {}
# vengeful = {}
# ambitious = {}
# wrathful = {}
# zealous = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_low_skill max_template_low_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = karunakara
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = karunakara } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Sekkilhar
# limit = {
# current_year >= 1140
# current_year <= 1150
# NOT = { exists = global_var:hchar_sekkilhar }
# }
# set_global_variable = { name = hchar_sekkilhar value = yes }
# title:b_kanchipuram = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = Sekkilhar
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:shaivism
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = theologian
# trait = intellect_good_3
# random_traits_list = {
# count = 3
# lustful = {}
# zealous = {}
# diligent = {}
# humble = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = sekkilhar
# set_variable = legendary_author
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# save_scope_as = major
# }
# if = { limit = { has_variable = sekkilhar } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Omar Khayyam
# limit = {
# current_year >= 1068
# current_year <= 1070
# NOT = { exists = global_var:hchar_omar_khayyam }
# }
# set_global_variable = { name = hchar_omar_khayyam value = yes }
# title:b_nishapur = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = Omar
# dynasty_house = house:house_khayyam
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:maturidi
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = lifestyle_poet
# trait = lifestyle_reveler
# trait = shrewd
# random_traits_list = {
# count = 3
# cynical = {}
# compassionate = {}
# patient = {}
# gregarious = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = omar_khayyam
# set_variable = legendary_author
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# save_scope_as = major
# hidden_effect = {
# learn_language_of_culture = culture:bedouin
# add_trait_xp = {
# trait = lifestyle_reveler
# value = 75
# }
# }
# }
# if = { limit = { has_variable = omar_khayyam } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Bhaskaracharya
# limit = {
# current_year >= 1134
# current_year <= 1150
# NOT = { exists = global_var:hchar_bhaskaracharya }
# }
# set_global_variable = { name = hchar_bhaskaracharya value = yes }
# title:b_vijayapura_bis = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = Bhaskaracharya
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:vaishnavism
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = scholar
# random_traits_list = {
# count = 3
# diligent = {}
# humble = {}
# patient = {}
# ambitious = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = bhaskaracharya
# set_variable = legendary_author
# add_piety = 5000
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = bhaskaracharya } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Joseph Rabban
# limit = {
# current_year >= 970
# current_year <= 1000
# NOT = { exists = global_var:hchar_joseph_rabban }
# }
# set_global_variable = { name = hchar_joseph_rabban value = yes }
# title:b_mahoyadapuram = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = Joseph
# dynasty_house = house:house_rabban
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:malabarism
# culture = scope:birth_location.title_province.culture
# trait = education_stewardship_4
# random_traits_list = {
# count = 3
# honest = {}
# ambitious = {}
# diligent = {}
# brave = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = joseph_rabban
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = joseph_rabban } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Atisha
# limit = {
# current_year >= 1040
# current_year <= 1045
# NOT = { exists = global_var:hchar_atisha }
# }
# set_global_variable = { name = hchar_atisha value = yes }
# title:b_bikrampur = {
# save_scope_as = birth_location
# create_character = {
# age = 50
# name = Atisha
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:vajrayana
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = theologian
# trait = devoted
# trait = lifestyle_mystic
# random_traits_list = {
# count = 3
# zealous = {}
# calm = {}
# diligent = {}
# honest = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = atisha
# hidden_effect = {
# add_trait_xp = {
# trait = lifestyle_mystic
# value = 100
# }
# }
# add_piety = 5000
# create_inspiration = religious_inspiration
# add_character_flag = ai_will_not_convert
# save_scope_as = major
# }
# if = { limit = { has_variable = atisha } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Hemachandra
# limit = {
# current_year >= 1109
# current_year <= 1130
# NOT = { exists = global_var:hchar_hemachandra }
# }
# set_global_variable = { name = hchar_hemachandra value = yes }
# title:b_dhandhuka = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = Hemachandra
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:svetambara
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = lifestyle_poet
# trait = scholar
# trait = devoted
# trait = lifestyle_mystic
# trait = intellect_good_3
# random_traits_list = {
# count = 3
# zealous = {}
# ambitious = {}
# diligent = {}
# honest = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = hemachandra
# set_variable = legendary_author
# hidden_effect = {
# add_trait_xp = {
# trait = lifestyle_mystic
# value = 100
# }
# }
# add_piety = 5000
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = hemachandra } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Kshemendra
# limit = {
# current_year >= 1037
# current_year <= 1070
# NOT = { exists = global_var:hchar_kshemendra }
# }
# set_global_variable = { name = hchar_kshemendra value = yes }
# title:b_srinagara = {
# save_scope_as = birth_location
# create_character = {
# age = 47
# name = Kshemendra
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:shaivism
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_4
# trait = journaller
# trait = scholar
# random_traits_list = {
# count = 3
# gregarious = {}
# ambitious = {}
# diligent = {}
# honest = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = kshemendra
# set_variable = legendary_author
# add_piety = 5000
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = kshemendra } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Akka Mahadevi
# limit = {
# current_year >= 1150
# current_year <= 1155
# NOT = { exists = global_var:hchar_akka_mahadevi }
# }
# set_global_variable = { name = hchar_akka_mahadevi value = yes }
# title:b_vaijayanti = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = Akka_Mahadevi
# dynasty = none
# gender_female_chance = 100
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:shaivism
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_3
# trait = lifestyle_poet
# trait = lifestyle_mystic
# random_traits_list = {
# count = 3
# compassionate = {}
# zealous = {}
# generous = {}
# honest = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = akka_mahadevi
# set_variable = legendary_author
# add_piety = 5000
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = akka_mahadevi } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Namdev
# limit = {
# current_year >= 1290
# current_year <= 1295
# NOT = { exists = global_var:hchar_namdev }
# }
# set_global_variable = { name = hchar_namdev value = yes }
# title:b_nanded = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Namdev"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:vaishnavism
# culture = scope:birth_location.title_province.culture
# trait = education_learning_3
# trait = lifestyle_poet
# trait = lifestyle_mystic
# random_traits_list = {
# count = 3
# humble = {}
# calm = {}
# generous = {}
# honest = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = namdev
# hidden_effect = {
# add_trait_xp = {
# trait = lifestyle_mystic
# value = 100
# }
# }
# add_piety = 10000
# create_inspiration = religious_inspiration
# add_character_flag = ai_will_not_convert
# save_scope_as = major
# }
# if = { limit = { has_variable = namdev } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Madhvacharya
# limit = {
# current_year >= 1258
# current_year <= 1260
# NOT = { exists = global_var:hchar_madhvacharya }
# }
# set_global_variable = { name = hchar_madhvacharya value = yes }
# title:b_udayavara = { #Udupi
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Madhvacharya"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:vaishnavism
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = theologian
# trait = devoted
# random_traits_list = {
# count = 3
# zealous = {}
# calm = {}
# stubborn = {}
# diligent = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = madhvacharya
# add_piety = 10000
# create_inspiration = religious_inspiration
# add_character_flag = ai_will_not_convert
# save_scope_as = major
# }
# if = { limit = { has_variable = madhvacharya } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Vidyapati
# limit = {
# current_year >= 1372
# current_year <= 1381
# NOT = { exists = global_var:hchar_vidyapati }
# }
# set_global_variable = { name = hchar_vidyapati value = yes }
# title:b_darbhanga = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Vidyapati"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:shaivism
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = scholar
# trait = lifestyle_poet
# random_traits_list = {
# count = 3
# gregarious = {}
# generous = {}
# compassionate = {}
# diligent = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = vidyapati
# set_variable = legendary_author
# add_piety = 5000
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# save_scope_as = major
# }
# if = { limit = { has_variable = vidyapati } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Abhinavagupta
# limit = {
# current_year >= 980
# current_year <= 990
# NOT = { exists = global_var:hchar_abhinavagupta }
# }
# set_global_variable = { name = hchar_abhinavagupta value = yes }
# title:b_srinagara = {
# save_scope_as = birth_location
# create_character = {
# age = 30
# name = "Abhinavagupta"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:shaivism
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = lifestyle_mystic
# trait = scholar
# trait = devoted
# random_traits_list = {
# count = 3
# zealous = {}
# diligent = {}
# calm = {}
# just = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = abhinavagupta
# add_piety = 10000
# hidden_effect = {
# add_trait_xp = {
# trait = lifestyle_mystic
# value = 100
# }
# }
# create_inspiration = religious_inspiration
# add_character_flag = ai_will_not_convert
# save_scope_as = major
# }
# if = { limit = { has_variable = abhinavagupta } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Basava
# limit = {
# current_year >= 1131
# current_year <= 1137
# NOT = { exists = global_var:hchar_basava }
# }
# set_global_variable = { name = hchar_basava value = yes }
# title:b_basavapattana = {
# save_scope_as = birth_location
# create_character = {
# age = 26
# name = "Basava"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:shaivism
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = theologian
# random_traits_list = {
# count = 3
# zealous = {}
# humble = {}
# patient = {}
# compassionate = {}
# }
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = basava
# add_piety = 10000
# create_inspiration = religious_inspiration
# }
# if = { limit = { has_variable = basava } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Hildegard von Bingen
# limit = {
# current_year >= 1121
# current_year <= 1127
# NOT = { exists = global_var:hchar_hildegard }
# }
# set_global_variable = { name = hchar_hildegard value = yes }
# title:b_worms = {
# save_scope_as = birth_location
# create_character = {
# age = 23
# name = "Hildegard"
# dynasty_house = house:house_von_bingen
# gender_female_chance = 100
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = theologian
# trait = zealous
# trait = compassionate
# trait = eccentric
# trait = possessed_1
# trait = lifestyle_mystic
# trait = devoted
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = hildegard
# hidden_effect = {
# add_trait_xp = {
# trait = lifestyle_mystic
# value = 100
# }
# }
# set_variable = legendary_author
# add_piety = 5000
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# save_scope_as = major
# }
# if = { limit = { has_variable = hildegard } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Thomas Aquinas
# limit = {
# current_year >= 1245
# current_year <= 1251
# NOT = { exists = global_var:hchar_thomas_aquinas }
# }
# set_global_variable = { name = hchar_thomas_aquinas value = yes }
# title:b_cassino = {
# save_scope_as = birth_location
# create_character = {
# age = ep3_thomas_aquinas_age_value # This is just a scripted value that takes the current year and subtracts 1225 from it, so if Tommy spawns in 1245 then his age will be calculated as 1245-1225, or 20.
# name = "Thomas"
# dynasty_house = house:house_aquinas
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = theologian
# trait = zealous
# trait = compassionate
# trait = patient
# trait = devoted
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { 20 24 }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = thomas_aquinas
# set_variable = legendary_author
# add_piety = 5000
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# add_character_flag = no_beard
# if = { limit = { has_character_flag = no_beard } } # Error suppression
# save_scope_as = major
# }
# if = { limit = { has_variable = thomas_aquinas } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Dante Alighieri
# limit = {
# current_year >= 1285
# current_year <= 1291
# NOT = { exists = global_var:hchar_dante_alighieri }
# }
# set_global_variable = { name = hchar_dante_alighieri value = yes }
# title:b_firenze = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Dante"
# dynasty_house = house:house_alighieri
# gender_female_chance = 0
# random_traits = yes
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_4
# trait = lifestyle_poet
# trait = irritable
# trait = ambitious
# diplomacy = { 16 20 }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = dante_alighieri
# set_variable = legendary_author
# create_inspiration = book_inspiration
# add_character_flag = no_beard
# save_scope_as = major
# }
# if = { limit = { has_variable = dante_alighieri } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Thomas Becket
# limit = {
# current_year >= 1149
# current_year <= 1155
# NOT = { exists = global_var:hchar_thomas_becket }
# }
# set_global_variable = { name = hchar_thomas_becket value = yes }
# title:b_london = {
# save_scope_as = birth_location
# create_character = {
# age = 30
# name = "Thomas"
# dynasty_house = house:house_becket
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_3
# trait = zealous
# trait = stubborn
# trait = brave
# trait = theologian
# trait = devoted
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = thomas_becket
# set_variable = legendary_author
# add_piety = 5000
# create_inspiration = book_inspiration
# save_scope_as = major
# }
# if = { limit = { has_variable = thomas_becket } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Maimonides (Moses ben Maimon)
# limit = {
# current_year >= 1155
# current_year <= 1161
# NOT = { exists = global_var:hchar_maimonides }
# }
# set_global_variable = { name = hchar_maimonides value = yes }
# title:b_cordoba = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Moses"
# dynasty_house = house:house_maimon
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:rabbinism
# culture = culture:sephardi
# trait = education_learning_5
# trait = zealous
# trait = humble
# trait = diligent
# trait = scholar
# trait = lifestyle_physician
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = maimonides
# set_variable = legendary_author
# give_nickname = nick_maimonides
# add_piety = 10000
# create_inspiration = book_inspiration
# hidden_effect = {
# add_trait_xp = {
# trait = lifestyle_physician
# value = 100
# }
# }
# save_scope_as = major
# }
# if = { limit = { has_variable = maimonides } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Chrétien de Troyes
# limit = {
# current_year >= 1150
# current_year <= 1156
# NOT = { exists = global_var:hchar_chretien_de_troyes }
# }
# set_global_variable = { name = hchar_chretien_de_troyes value = yes }
# title:b_troyes = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Chretien"
# dynasty_house = house:house_de_troyes
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_3
# trait = lifestyle_poet
# trait = gregarious
# trait = diligent
# trait = brave
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = chretien_de_troyes
# }
# if = { limit = { has_variable = chretien_de_troyes } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Egil Skallagrímsson
# limit = {
# current_year >= 930
# current_year <= 936
# NOT = { exists = global_var:hchar_egil_skallagrimrsson }
# }
# set_global_variable = { name = hchar_egil_skallagrimrsson value = yes }
# title:b_olafsvik = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Egil"
# dynasty_house = house:house_skallagrimsson
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_2
# trait = lifestyle_poet
# trait = gregarious
# trait = wrathful
# trait = brave
# trait = berserker
# trait = viking
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = egil_skallagrimrsson
# save_scope_as = major
# change_current_weight = 75
# }
# if = { limit = { has_variable = egil_skallagrimrsson } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Gunnlaug Ormstunga
# limit = {
# current_year >= 1000
# current_year <= 1006
# NOT = { exists = global_var:hchar_gunnlaug_ormstunga }
# }
# set_global_variable = { name = hchar_gunnlaug_ormstunga value = yes }
# title:b_reykjavik = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Gunnlaug"
# dynasty_house = house:house_ormstunga
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_2
# trait = lifestyle_poet
# trait = deceitful
# trait = lustful
# trait = ambitious
# trait = viking
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# save_scope_as = explorer
# historical_character_finalization_effect = yes
# set_variable = gunnlaug_ormstunga
# }
# if = { limit = { has_variable = gunnlaug_ormstunga } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Þorbjörg the Seeress
# limit = {
# current_year >= 970
# current_year <= 976
# NOT = { exists = global_var:hchar_torbjorg_the_seeress }
# }
# set_global_variable = { name = hchar_torbjorg_the_seeress value = yes }
# title:b_reydarfjall= {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "T_orbjO_rg"
# dynasty = none
# gender_female_chance = 100
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:norse_pagan
# culture = scope:birth_location.title_province.culture
# trait = education_learning_3
# trait = patient
# trait = zealous
# trait = humble
# trait = lifestyle_mystic
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = torbjorg_the_seeress
# hidden_effect = {
# add_trait_xp = {
# trait = lifestyle_mystic
# value = 100
# }
# }
# give_nickname = nick_the_seeress
# add_piety = 5000
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = torbjorg_the_seeress } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Erik Röde
# limit = {
# current_year >= 972
# current_year <= 978
# NOT = { exists = global_var:hchar_erik_rode }
# }
# set_global_variable = { name = hchar_erik_rode value = yes }
# title:b_oslosyslar = {
# save_scope_as = birth_location
# create_character = {
# age = 22
# name = "Erik"
# dynasty_house = house:house_rode
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_martial_3
# trait = ambitious
# trait = brave
# trait = diligent
# trait = viking
# trait = organizer
# trait = lifestyle_traveler
# trait = adventurer
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = erik_rode
# save_scope_as = major
# save_scope_as = explorer
# add_trait_xp = {
# trait = lifestyle_traveler
# track = travel
# value = 100
# }
# add_trait_xp = {
# trait = lifestyle_traveler
# track = danger
# value = 100
# }
# if = {
# limit = {
# has_ep1_dlc_trigger = yes
# }
# create_inspiration = adventure_inspiration
# }
# }
# if = { limit = { has_variable = erik_rode } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Ibn al-Haytham (Alhazen)
# limit = {
# current_year >= 985
# current_year <= 991
# NOT = { exists = global_var:hchar_alhazen }
# }
# set_global_variable = { name = hchar_alhazen value = yes }
# title:b_basra = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Hasan"
# dynasty_house = house:house_al_haytham
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_intrigue_5
# trait = patient
# trait = diligent
# trait = shy
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# give_nickname = nick_alhazen
# set_variable = alhazen
# add_character_flag = has_reading_glasses
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = alhazen } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Ibn Battuta
# limit = {
# current_year >= 1322
# current_year <= 1328
# NOT = { exists = global_var:hchar_ibn_battuta }
# }
# set_global_variable = { name = hchar_ibn_battuta value = yes }
# title:b_tangiers = {
# save_scope_as = birth_location
# create_character = {
# age = 18
# name = "Muhammad"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_4
# trait = gregarious
# trait = diligent
# trait = impatient
# trait = pilgrim
# trait = lifestyle_traveler
# trait = journaller
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = ibn_battuta
# give_nickname = nick_ibn_battuta
# save_scope_as = explorer
# if = {
# limit = {
# has_ep1_dlc_trigger = yes
# }
# create_inspiration = adventure_inspiration
# }
# save_scope_as = major
# add_trait_xp = {
# trait = lifestyle_traveler
# track = travel
# value = 100
# }
# add_trait_xp = {
# trait = lifestyle_traveler
# track = danger
# value = 100
# }
# }
# if = { limit = { has_variable = ibn_battuta } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # William of Ockham
# limit = {
# current_year >= 1307
# current_year <= 1313
# NOT = { exists = global_var:hchar_william_of_ockham }
# }
# set_global_variable = { name = hchar_william_of_ockham value = yes }
# title:b_basingstoke = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "William"
# dynasty_house = house:house_of_ockham
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = cynical
# trait = diligent
# trait = humble
# trait = stubborn
# trait = scholar
# trait = devoted
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = william_of_ockham
# save_scope_as = major
# add_piety = 5000
# }
# if = { limit = { has_variable = william_of_ockham } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Geoffrey Chaucer
# limit = {
# current_year >= 1363
# current_year <= 1369
# NOT = { exists = global_var:hchar_geoffrey_chaucer }
# }
# set_global_variable = { name = hchar_geoffrey_chaucer value = yes }
# title:b_london = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Geoffrey"
# dynasty_house = house:house_chaucer
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_3
# trait = gregarious
# trait = lustful
# trait = diligent
# trait = pilgrim
# trait = lifestyle_poet
# trait = journaller
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = geoffrey_chaucer
# save_scope_as = major
# set_variable = legendary_author
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = geoffrey_chaucer } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Roger Bacon
# limit = {
# current_year >= 1239
# current_year <= 1245
# NOT = { exists = global_var:hchar_roger_bacon }
# }
# set_global_variable = { name = hchar_roger_bacon value = yes }
# title:b_ilchester = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Roger"
# dynasty_house = house:house_bacon
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = shy
# trait = diligent
# trait = stubborn
# trait = devoted
# trait = lifestyle_mystic
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = roger_bacon
# save_scope_as = major
# add_piety = 5000
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = roger_bacon } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Aaron of Lincoln
# limit = {
# current_year >= 1145
# current_year <= 1151
# NOT = { exists = global_var:hchar_aaron_of_lincoln }
# }
# set_global_variable = { name = hchar_aaron_of_lincoln value = yes }
# title:b_lincoln = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Aaron"
# dynasty_house = house:house_of_lincoln
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:rabbinism
# culture = scope:birth_location.title_province.culture
# trait = education_stewardship_5
# trait = generous
# trait = ambitious
# trait = temperate
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = aaron_of_lincoln
# add_gold = 1500
# }
# if = { limit = { has_variable = aaron_of_lincoln } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # John Wycliffe
# limit = {
# current_year >= 1340
# current_year <= 1346
# NOT = { exists = global_var:hchar_john_wycliffe }
# }
# set_global_variable = { name = hchar_john_wycliffe value = yes }
# title:b_yarlestre = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "John"
# dynasty_house = house:house_wycliffe
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:lollard
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = brave
# trait = stubborn
# trait = theologian
# trait = devoted
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = john_wycliffe
# save_scope_as = major
# create_inspiration = religious_inspiration
# add_character_flag = ai_will_not_convert
# add_piety = 5000
# add_character_modifier = {
# modifier = vow_of_poverty_modifier
# }
# }
# if = { limit = { has_variable = john_wycliffe } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Héloïse d'Argenteuil & Peter Abelard
# limit = {
# current_year >= 1110
# current_year <= 1116
# NOT = { exists = global_var:hchar_heloise_and_abelard }
# }
# set_global_variable = { name = hchar_heloise_and_abelard value = yes }
# title:b_rais = {
# save_scope_as = birth_location
# create_character = {
# age = 31
# name = "Peter"
# dynasty_house = house:house_abelard
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:catholic
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = lustful
# trait = ambitious
# trait = stubborn
# trait = scholar
# trait = devoted
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character_2
# }
# scope:historical_character_2 ?= {
# add_trait = historical_character
# set_sexuality = heterosexual
# set_variable = peter_abelard
# save_scope_as = major
# add_piety = 2500
# house ?= {
# generate_coa = yes
# }
# dynasty ?= {
# set_coa = scope:historical_character_2.house
# }
# set_variable = {
# name = show_historical_gui
# value = 1
# }
# }
# if = { limit = { has_variable = peter_abelard } } # Error suppression
# }
# title:b_paris = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "HE_loise"
# dynasty_house = house:house_dargenteuil
# gender_female_chance = 100
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:catholic
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = compassionate
# trait = lustful
# trait = diligent
# trait = scholar
# trait = lifestyle_poet
# trait = devoted
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_sexuality = heterosexual
# set_variable = heloise_dargenteuil
# save_scope_as = major
# add_piety = 2500
# set_random_lover_reason = { TARGET = scope:historical_character_2 }
# }
# scope:historical_character_2 = {
# set_location = scope:historical_character.location
# }
# if = { limit = { has_variable = heloise_dargenteuil } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Petrarch (Francesco Petrarca)
# limit = {
# current_year >= 1324
# current_year <= 1344
# NOT = { exists = global_var:hchar_petrarch }
# }
# set_global_variable = { name = hchar_petrarch value = yes }
# title:b_arezzo = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Francesco"
# dynasty_house = house:house_petrarca
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_4
# trait = ambitious
# trait = gregarious
# trait = diligent
# trait = lifestyle_poet
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# give_nickname = nick_petrarch
# set_variable = petrarch
# save_scope_as = major
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = petrarch } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Giotto di Bondone
# limit = {
# current_year >= 1287
# current_year <= 1293
# NOT = { exists = global_var:hchar_giotto_di_bondone }
# }
# set_global_variable = { name = hchar_giotto_di_bondone value = yes }
# title:b_firenze = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Giotto"
# dynasty_house = house:house_bondone
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_3
# trait = patient
# trait = diligent
# trait = humble
# trait = architect
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = giotto_di_bondone
# save_scope_as = major
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = giotto_di_bondone } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Leonardo Fibonacci
# limit = {
# current_year >= 1190
# current_year <= 1196
# NOT = { exists = global_var:hchar_fibonacci }
# }
# set_global_variable = { name = hchar_fibonacci value = yes }
# title:b_pisa = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Leonardo"
# dynasty_house = house:house_fibonacci
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = patient
# trait = diligent
# trait = humble
# trait = administrator
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = fibonacci
# save_scope_as = major
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = fibonacci } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Giovanni Boccaccio
# limit = {
# current_year >= 1333
# current_year <= 1339
# NOT = { exists = global_var:hchar_giovanni_boccaccio }
# }
# set_global_variable = { name = hchar_giovanni_boccaccio value = yes }
# title:b_firenze = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Giovanni"
# dynasty_house = house:house_boccaccio
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_3
# trait = gregarious
# trait = diligent
# trait = lustful
# trait = lifestyle_poet
# trait = journaller
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = giovanni_boccaccio
# save_scope_as = major
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = giovanni_boccaccio } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Christine de Pizan
# limit = {
# current_year >= 1384
# current_year <= 1390
# NOT = { exists = global_var:hchar_christine_pizan }
# }
# set_global_variable = { name = hchar_christine_pizan value = yes }
# title:b_venezia = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Christine"
# dynasty_house = house:house_de_pizan
# gender_female_chance = 100
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = title:b_paris.title_province.culture
# trait = education_diplomacy_3
# trait = brave
# trait = diligent
# trait = compassionate
# trait = lifestyle_poet
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = christine_pizan
# save_scope_as = major
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = christine_pizan } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Snorri Sturluson
# limit = {
# current_year >= 1199
# current_year <= 1205
# NOT = { exists = global_var:hchar_snorri_sturluson }
# }
# set_global_variable = { name = hchar_snorri_sturluson value = yes }
# title:b_reykjavik = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Snorri"
# dynasty_house = house:house_sturluson
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_3
# trait = ambitious
# trait = diligent
# trait = gregarious
# trait = lifestyle_poet
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = snorri_sturluson
# save_scope_as = major
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = snorri_sturluson } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Hrotsvitha
# limit = {
# current_year >= 955
# current_year <= 961
# NOT = { exists = global_var:hchar_hrotsvitha }
# }
# set_global_variable = { name = hchar_hrotsvitha value = yes }
# title:b_hildesheim = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Hrotsvitha"
# dynasty = none
# gender_female_chance = 100
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_3
# trait = brave
# trait = ambitious
# trait = zealous
# trait = lifestyle_poet
# trait = devoted
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = hrotsvitha
# }
# if = { limit = { has_variable = hrotsvitha } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Ramanuja
# limit = {
# current_year >= 1037
# current_year <= 1043
# NOT = { exists = global_var:hchar_ramanuja }
# }
# set_global_variable = { name = hchar_ramanuja value = yes }
# title:b_kanchipuram = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Ramanuja"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = zealous
# trait = diligent
# trait = forgiving
# trait = theologian
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = ramanuja
# save_scope_as = major
# add_piety = 5000
# create_inspiration = religious_inspiration
# }
# if = { limit = { has_variable = ramanuja } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Arnaldus de Villa Nova
# limit = {
# current_year >= 1260
# current_year <= 1266
# NOT = { exists = global_var:hchar_arnaldus_de_villa_nova }
# }
# set_global_variable = { name = hchar_arnaldus_de_villa_nova value = yes }
# title:b_valencia = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Arnaldus"
# dynasty_house = house:house_de_villa_nova
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = title:b_barcelona.title_province.faith
# culture = title:b_barcelona.title_province.culture
# trait = education_learning_4
# trait = cynical
# trait = diligent
# trait = calm
# trait = lifestyle_physician
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = arnaldus_de_villa_nova
# hidden_effect = {
# add_trait_xp = {
# trait = lifestyle_physician
# value = 100
# }
# }
# }
# if = { limit = { has_variable = arnaldus_de_villa_nova } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Ibn Khaldun
# limit = {
# current_year >= 1352
# current_year <= 1358
# NOT = { exists = global_var:hchar_ibn_khaldun }
# }
# set_global_variable = { name = hchar_ibn_khaldun value = yes }
# title:b_tunis = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Abd-ar-Rahman"
# dynasty_house = house:house_khalduni
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = patient
# trait = diligent
# trait = generous
# trait = journaller
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# save_scope_as = major
# set_variable = ibn_khaldun
# set_variable = legendary_author
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = ibn_khaldun } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Jalaluddin Rumi
# limit = {
# current_year >= 1227
# current_year <= 1233
# NOT = { exists = global_var:hchar_rumi }
# }
# set_global_variable = { name = hchar_rumi value = yes }
# title:b_ikonion = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Jalaluddin"
# dynasty_house = house:house_rumi
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = title:b_balkh.title_province.faith
# culture = title:b_balkh.title_province.culture
# trait = education_learning_4
# trait = compassionate
# trait = diligent
# trait = generous
# trait = lifestyle_poet
# trait = theologian
# trait = lifestyle_mystic
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# save_scope_as = major
# set_variable = rumi
# set_variable = legendary_author
# create_inspiration = book_inspiration
# hidden_effect = {
# add_trait_xp = {
# trait = lifestyle_mystic
# value = 100
# }
# }
# }
# if = { limit = { has_variable = rumi } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Avicenna
# limit = {
# current_year >= 1000
# current_year <= 1006
# NOT = { exists = global_var:hchar_avicenna }
# }
# set_global_variable = { name = hchar_avicenna value = yes }
# title:b_bukhara = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Hussein"
# dynasty_house = house:house_sina
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = compassionate
# trait = diligent
# trait = patient
# trait = shrewd
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# save_scope_as = major
# set_variable = avicenna
# give_nickname = nick_avicenna
# set_variable = legendary_author
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = avicenna } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Averroes
# limit = {
# current_year >= 1146
# current_year <= 1152
# NOT = { exists = global_var:hchar_averroes }
# }
# set_global_variable = { name = hchar_averroes value = yes }
# title:b_cordoba = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Abu_al-Walid"
# dynasty_house = house:house_rushdi
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = just
# trait = diligent
# trait = patient
# trait = shrewd
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# save_scope_as = major
# set_variable = averroes
# give_nickname = nick_averroes
# set_variable = legendary_author
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = averroes } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Al-Biruni
# limit = {
# current_year >= 993
# current_year <= 999
# NOT = { exists = global_var:hchar_al_biruni }
# }
# set_global_variable = { name = hchar_al_biruni value = yes }
# title:b_kath = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Abu_Rayhan"
# dynasty_house = house:house_biruni
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = patient
# trait = diligent
# trait = humble
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# save_scope_as = major
# set_variable = al_biruni
# set_variable = legendary_author
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = al_biruni } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Rashi (Shlomo Yitzchaki)
# limit = {
# current_year >= 1066
# current_year <= 1072
# NOT = { exists = global_var:hchar_rashi }
# }
# set_global_variable = { name = hchar_rashi value = yes }
# title:b_troyes = {
# save_scope_as = birth_location
# create_character = {
# age = 26
# name = "Shlomo"
# dynasty_house = house:house_yitzchaki
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:rabbinism
# culture = culture:ashkenazi
# trait = education_learning_5
# trait = patient
# trait = humble
# trait = just
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = rashi
# give_nickname = nick_rashi
# add_piety = 10000
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# learn_language_of_culture = scope:birth_location.title_province.culture
# save_scope_as = major
# }
# if = { limit = { has_variable = rashi } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Yehuda Halevi
# limit = {
# current_year >= 1095
# current_year <= 1101
# NOT = { exists = global_var:hchar_yehuda_halevi }
# }
# set_global_variable = { name = hchar_yehuda_halevi value = yes }
# title:b_toledo = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Yehuda"
# dynasty_house = house:house_halevi
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:rabbinism
# culture = culture:sephardi
# trait = education_diplomacy_3
# trait = zealous
# trait = gregarious
# trait = content
# trait = lifestyle_poet
# trait = lifestyle_mystic
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = yehuda_halevi
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = yehuda_halevi } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Hasdai ibn Shaprut
# limit = {
# current_year >= 935
# current_year <= 941
# NOT = { exists = global_var:hchar_shaprut }
# }
# set_global_variable = { name = hchar_shaprut value = yes }
# title:b_jaen = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Hasdai"
# dynasty_house = house:house_shaprut
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:rabbinism
# culture = culture:sephardi
# trait = education_learning_5
# trait = patient
# trait = just
# trait = diligent
# trait = scholar
# trait = lifestyle_physician
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = shaprut
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = shaprut } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Levi ben Gershon (Gersonides)
# limit = {
# current_year >= 1308
# current_year <= 1314
# NOT = { exists = global_var:hchar_gersonides }
# }
# set_global_variable = { name = hchar_gersonides value = yes }
# title:b_montlaur = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Levi"
# dynasty_house = house:house_gershon
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:rabbinism
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = diligent
# trait = patient
# trait = cynical
# trait = shrewd
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = gersonides
# give_nickname = nick_gersonides
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = gersonides } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Abraham ibn Ezra
# limit = {
# current_year >= 1109
# current_year <= 1115
# NOT = { exists = global_var:hchar_ezra }
# }
# set_global_variable = { name = hchar_ezra value = yes }
# title:b_tudela = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Abraham"
# dynasty_house = house:house_ezra
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:rabbinism
# culture = culture:sephardi
# trait = education_learning_5
# trait = patient
# trait = humble
# trait = brave
# trait = scholar
# trait = adventurer
# trait = lifestyle_mystic
# trait = lifestyle_traveler
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# save_scope_as = explorer
# historical_character_finalization_effect = yes
# set_variable = ezra
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = ezra } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Solomon ibn Gabirol
# limit = {
# current_year >= 1041
# current_year <= 1047
# NOT = { exists = global_var:hchar_gabriol }
# }
# set_global_variable = { name = hchar_gabriol value = yes }
# title:b_malaga = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Solomon"
# dynasty_house = house:house_gabirol
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:rabbinism
# culture = culture:sephardi
# trait = education_diplomacy_3
# trait = humble
# trait = diligent
# trait = content
# trait = reclusive
# trait = lifestyle_poet
# trait = weak
# trait = lifestyle_mystic
# trait = irritable
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = gabriol
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = gabriol } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Nachmanides (Moses ben Nahman)
# limit = {
# current_year >= 1214
# current_year <= 1220
# NOT = { exists = global_var:hchar_nachmanides}
# }
# set_global_variable = { name = hchar_nachmanides value = yes }
# title:b_girona = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Moses"
# dynasty_house = house:house_nahman
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:rabbinism
# culture = culture:sephardi
# trait = education_learning_4
# trait = zealous
# trait = brave
# trait = just
# trait = theologian
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = nachmanides
# give_nickname = nick_nachmanides
# create_inspiration = book_inspiration
# add_piety = 10000
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = nachmanides } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Hasdai Crescas
# limit = {
# current_year >= 1360
# current_year <= 1366
# NOT = { exists = global_var:hchar_crescas }
# }
# set_global_variable = { name = hchar_crescas value = yes }
# title:b_barcelona = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Hasdai"
# dynasty_house = house:house_crescas
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:rabbinism
# culture = culture:sephardi
# trait = education_learning_5
# trait = just
# trait = diligent
# trait = patient
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = crescas
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = crescas } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Saadia Gaon
# limit = {
# current_year >= 902
# current_year <= 908
# NOT = { exists = global_var:hchar_saadia }
# }
# set_global_variable = { name = hchar_saadia value = yes }
# title:b_al-fayyum = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Saadia"
# dynasty_house = house:house_gaon
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:rabbinism
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = diligent
# trait = just
# trait = zealous
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = saadia
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = saadia } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Yusuf ibn 'Awkal
# limit = {
# current_year >= 990
# current_year <= 996
# NOT = { exists = global_var:hchar_awkal }
# }
# set_global_variable = { name = hchar_awkal value = yes }
# title:b_cairo = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Yusuf"
# dynasty_house = house:house_awkal
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:rabbinism
# culture = scope:birth_location.title_province.culture
# trait = education_stewardship_5
# trait = impatient
# trait = gregarious
# trait = temperate
# trait = lifestyle_traveler
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# save_scope_as = explorer
# historical_character_finalization_effect = yes
# set_variable = awkal
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = awkal } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Benjamin of Tudela
# limit = {
# current_year >= 1150
# current_year <= 1156
# NOT = { exists = global_var:hchar_benjamin_of_tudela }
# }
# set_global_variable = { name = hchar_benjamin_of_tudela value = yes }
# title:b_tudela = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Benjamin"
# dynasty_house = house:house_tudela
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:rabbinism
# culture = culture:sephardi
# trait = education_diplomacy_3
# trait = diligent
# trait = fickle
# trait = brave
# trait = journaller
# trait = lifestyle_traveler
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# save_scope_as = explorer
# historical_character_finalization_effect = yes
# set_variable = benjamin_of_tudela
# create_inspiration = book_inspiration
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = benjamin_of_tudela } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Marco Polo
# limit = {
# current_year >= 1270
# current_year <= 1276
# NOT = { exists = global_var:hchar_marco_polo }
# }
# set_global_variable = { name = hchar_marco_polo value = yes }
# title:b_venezia = {
# save_scope_as = birth_location
# create_character = {
# age = 22
# name = "Marco"
# dynasty_house = house:house_polo
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_stewardship_5
# trait = ambitious
# trait = brave
# trait = gregarious
# trait = organizer
# trait = lifestyle_traveler
# trait = adventurer
# trait = journaller
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = marco_polo
# save_scope_as = major
# save_scope_as = explorer
# add_trait_xp = {
# trait = lifestyle_traveler
# track = travel
# value = 100
# }
# add_trait_xp = {
# trait = lifestyle_traveler
# track = danger
# value = 100
# }
# if = {
# limit = {
# has_ep1_dlc_trigger = yes
# }
# create_inspiration = adventure_inspiration
# }
# }
# if = { limit = { has_variable = marco_polo } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Bridget of Sweden
# limit = {
# current_year >= 1323
# current_year <= 1329
# NOT = { exists = global_var:hchar_bridget_of_sweden }
# }
# set_global_variable = { name = hchar_bridget_of_sweden value = yes }
# title:b_sigtuna = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Birgitta"
# dynasty = none
# gender_female_chance = 100
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_3
# trait = zealous
# trait = humble
# trait = compassionate
# trait = possessed_1
# trait = devoted
# trait = lifestyle_mystic
# trait = pilgrim
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = bridget_of_sweden
# save_scope_as = major
# give_nickname = nick_heliga
# create_inspiration = religious_inspiration
# hidden_effect = {
# add_trait_xp = {
# trait = lifestyle_mystic
# value = 100
# }
# }
# add_piety = 5000
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = bridget_of_sweden } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Johannes Eckhart (Meister Eckhart)
# limit = {
# current_year >= 1280
# current_year <= 1286
# NOT = { exists = global_var:hchar_meister_eckhart }
# }
# set_global_variable = { name = hchar_meister_eckhart value = yes }
# title:b_schmalkalden = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Johannes"
# dynasty_house = house:house_eckhart
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = zealous
# trait = patient
# trait = humble
# trait = lifestyle_mystic
# trait = devoted
# trait = theologian
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = meister_eckhart
# give_nickname = nick_meister
# add_piety = 5000
# create_inspiration = book_inspiration
# save_scope_as = major
# hidden_effect = {
# add_trait_xp = {
# trait = lifestyle_mystic
# value = 100
# }
# }
# }
# if = { limit = { has_variable = meister_eckhart } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Jangar
# limit = {
# current_year >= 1100
# current_year <= 1106
# NOT = { exists = global_var:hchar_jangar }
# }
# set_global_variable = { name = hchar_jangar value = yes }
# title:b_darkhad = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Jangar"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_martial_5
# trait = brave
# trait = just
# trait = ambitious
# trait = strong
# trait = athletic
# trait = shrewd
# trait = legend
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = jangar
# change_current_weight = 50
# give_nickname = nick_the_wild
# save_scope_as = major
# add_character_flag = need_military_outfit
# }
# if = { limit = { has_variable = jangar } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Zawisza Czarny
# limit = {
# current_year >= 1390
# current_year <= 1396
# NOT = { exists = global_var:hchar_zawisza }
# }
# set_global_variable = { name = hchar_zawisza value = yes }
# title:b_sandomierz = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Zawisza"
# dynasty_house = house:house_czarny
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_5
# trait = brave
# trait = gregarious
# trait = ambitious
# trait = strong
# trait = legend
# trait = gallant
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = zawisza
# give_nickname = nick_the_black
# save_scope_as = major
# }
# if = { limit = { has_variable = zawisza } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Theophanes the Greek
# limit = {
# current_year >= 1360
# current_year <= 1366
# NOT = { exists = global_var:hchar_theophanes_the_greek }
# }
# set_global_variable = { name = hchar_theophanes_the_greek value = yes }
# title:b_moskva = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Theophanes"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = title:b_constantinople.title_province.faith
# culture = title:b_constantinople.title_province.culture
# trait = education_learning_2
# trait = patient
# trait = diligent
# trait = humble
# trait = lifestyle_mystic
# trait = architect
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_decent_skill max_template_decent_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = theophanes_the_greek
# give_nickname = nick_the_greek
# }
# if = { limit = { has_variable = theophanes_the_greek } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Nicetas Choniates
# limit = {
# current_year >= 1175
# current_year <= 1181
# NOT = { exists = global_var:hchar_nicetas_choniates }
# }
# set_global_variable = { name = hchar_nicetas_choniates value = yes }
# title:b_chonae = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Nicetas"
# dynasty_house = house:house_choniates
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = patient
# trait = diligent
# trait = just
# trait = scholar
# trait = journaller
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = nicetas_choniates
# save_scope_as = major
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = nicetas_choniates } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Michael Psellos
# limit = {
# current_year >= 1037
# current_year <= 1067
# NOT = { exists = global_var:hchar_michael_psellos }
# }
# set_global_variable = { name = hchar_michael_psellos value = yes }
# if = {
# limit = {
# game_start_date >= 1066.1.1
# game_start_date < 1178.10.1
# }
# title:b_constantinople = {
# save_scope_as = birth_location
# create_character = {
# age = 49
# name = "Michael"
# dynasty_house = house:house_psellos
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_3
# trait = arrogant
# trait = fickle
# trait = cynical
# trait = devoted
# trait = scholar
# trait = lifestyle_poet
# trait = stuttering
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = michael_psellos
# set_variable = alternative_origin_courtier
# save_scope_as = major
# create_inspiration = book_inspiration
# give_nickname = nick_the_stammerer
# }
# if = { limit = { has_variable = michael_psellos } } # Error suppression
# if = { limit = { has_variable = alternative_origin_courtier } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# else = {
# title:b_constantinople = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Michael"
# dynasty_house = house:house_psellos
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_3
# trait = arrogant
# trait = fickle
# trait = cynical
# trait = devoted
# trait = scholar
# trait = lifestyle_poet
# trait = stuttering
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = michael_psellos
# save_scope_as = major
# create_inspiration = book_inspiration
# give_nickname = nick_the_stammerer
# }
# if = { limit = { has_variable = michael_psellos } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# }
# if = { # John Tzetzes
# limit = {
# current_year >= 1130
# current_year <= 1136
# NOT = { exists = global_var:hchar_john_tzetzes }
# }
# set_global_variable = { name = hchar_john_tzetzes value = yes }
# title:b_constantinople = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "John"
# dynasty_house = house:house_tzetzes
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = stubborn
# trait = diligent
# trait = shy
# trait = scholar
# trait = lifestyle_poet
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = john_tzetzes
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = john_tzetzes } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Theophylact of Ohrid
# limit = {
# current_year >= 1075
# current_year <= 1081
# NOT = { exists = global_var:hchar_theophylact_of_ohrid }
# }
# set_global_variable = { name = hchar_theophylact_of_ohrid value = yes }
# title:b_chalkis = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Theophylact"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = diligent
# trait = patient
# trait = scholar
# trait = theologian
# trait = devoted
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = theophylact_of_ohrid
# give_nickname = nick_of_ohrid
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = theophylact_of_ohrid } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Eustathius of Thessalonica
# limit = {
# current_year >= 1125
# current_year <= 1131
# NOT = { exists = global_var:hchar_eustathius_of_thessalonica }
# }
# set_global_variable = { name = hchar_eustathius_of_thessalonica value = yes }
# title:b_thessaloniki = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Eustathius"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = humble
# trait = diligent
# trait = patient
# trait = scholar
# trait = theologian
# trait = devoted
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = eustathius_of_thessalonica
# give_nickname = nick_of_thessalonica
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = eustathius_of_thessalonica } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Nicephorus Blemmydes
# limit = {
# current_year >= 1217
# current_year <= 1223
# NOT = { exists = global_var:hchar_nicephorus_blemmydes }
# }
# set_global_variable = { name = hchar_nicephorus_blemmydes value = yes }
# title:b_constantinople = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Nicephorus"
# dynasty_house = house:house_blemmydes
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = humble
# trait = diligent
# trait = zealous
# trait = scholar
# trait = theologian
# trait = devoted
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = nicephorus_blemmydes
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = nicephorus_blemmydes } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Georgius Pachymeres
# limit = {
# current_year >= 1262
# current_year <= 1268
# NOT = { exists = global_var:hchar_georgius_pachymeres }
# }
# set_global_variable = { name = hchar_georgius_pachymeres value = yes }
# title:b_nikaea = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Georgius"
# dynasty_house = house:house_pachymeres
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = arrogant
# trait = diligent
# trait = patient
# trait = scholar
# trait = journaller
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = georgius_pachymeres
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = georgius_pachymeres } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Manuel Moschopoulos
# limit = {
# current_year >= 1285
# current_year <= 1291
# NOT = { exists = global_var:hchar_manuel_moschopoulos }
# }
# set_global_variable = { name = hchar_manuel_moschopoulos value = yes }
# title:b_constantinople = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Manuel"
# dynasty_house = house:house_moschopoulos
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = patient
# trait = diligent
# trait = shy
# trait = scholar
# trait = journaller
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = manuel_moschopoulos
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = manuel_moschopoulos } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Theodore Metochites
# limit = {
# current_year >= 1290
# current_year <= 1296
# NOT = { exists = global_var:hchar_theodore_metochites }
# }
# set_global_variable = { name = hchar_theodore_metochites value = yes }
# title:b_constantinople = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Theodore"
# dynasty_house = house:house_metochites
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_stewardship_5
# trait = ambitious
# trait = diligent
# trait = stubborn
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = theodore_metochites
# add_gold = 1000
# }
# if = { limit = { has_variable = theodore_metochites } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Michael Choniates
# limit = {
# current_year >= 1160
# current_year <= 1166
# NOT = { exists = global_var:hchar_michael_choniates }
# }
# set_global_variable = { name = hchar_michael_choniates value = yes }
# title:b_chonae = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Michael"
# dynasty_house = house:house_choniates_2
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = humble
# trait = zealous
# trait = stubborn
# trait = theologian
# trait = devoted
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = michael_choniates
# }
# if = { limit = { has_variable = michael_choniates } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Joseph Tarchaneiotes
# limit = {
# current_year >= 1063
# current_year <= 1069
# NOT = { exists = global_var:hchar_joseph_tarchaneiotes }
# }
# set_global_variable = { name = hchar_joseph_tarchaneiotes value = yes }
# title:b_constantinople = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Joseph"
# dynasty_house = house:house_tarchaneiotes
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_martial_5
# trait = ambitious
# trait = just
# trait = deceitful
# trait = organizer
# trait = strategist
# trait = strong
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_low_skill max_template_low_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = joseph_tarchaneiotes
# add_gold = 1000
# add_character_flag = need_military_outfit
# }
# if = { limit = { has_variable = joseph_tarchaneiotes } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Gemistus Pletho
# limit = {
# current_year >= 1375
# current_year <= 1381
# NOT = { exists = global_var:hchar_gemistus_pletho }
# }
# set_global_variable = { name = hchar_gemistus_pletho value = yes }
# title:b_constantinople = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Gemistus"
# dynasty_house = house:house_pletho
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = eccentric
# trait = diligent
# trait = stubborn
# trait = scholar
# trait = scholar
# trait = intellect_good_2
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = gemistus_pletho
# save_scope_as = major
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = gemistus_pletho } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Arethas of Caesarea
# limit = {
# current_year >= 880
# current_year <= 886
# NOT = { exists = global_var:hchar_arethas_of_caesarea }
# }
# set_global_variable = { name = hchar_arethas_of_caesarea value = yes }
# title:b_patras = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Arethas"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = zealous
# trait = diligent
# trait = patient
# trait = scholar
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = arethas_of_caesarea
# give_nickname = nick_of_caesarea
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = arethas_of_caesarea } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Basil Lekapenos
# limit = {
# current_year >= 945
# current_year <= 951
# NOT = { exists = global_var:hchar_basil_lekapenos }
# }
# set_global_variable = { name = hchar_basil_lekapenos value = yes }
# title:b_constantinople = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Basil"
# dynasty_house = house:house_lekapenos
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_stewardship_5
# trait = ambitious
# trait = diligent
# trait = patient
# trait = beardless_eunuch
# trait = bastard
# trait = administrator
# trait = intellect_good_1
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_decent_skill max_template_decent_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = basil_lekapenos
# change_current_weight = 75
# }
# if = { limit = { has_variable = basil_lekapenos } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # John the Orphanotrophos AKA totally who Varys is based on
# limit = {
# current_year >= 985
# current_year <= 991
# NOT = { exists = global_var:hchar_john_the_orphanotrophos }
# }
# set_global_variable = { name = hchar_john_the_orphanotrophos value = yes }
# title:b_patras = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "John"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_intrigue_5
# trait = ambitious
# trait = compassionate
# trait = deceitful
# trait = schemer
# trait = beardless_eunuch
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = john_the_orphanotrophos
# give_nickname = nick_the_orphanotrophos
# change_current_weight = 125
# add_character_flag = bald_head
# add_character_flag = no_hat
# if = { limit = { has_character_flag = bald_head } } # Error suppression
# }
# if = { limit = { has_variable = john_the_orphanotrophos } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Samonas
# limit = {
# current_year >= 895
# current_year <= 901
# NOT = { exists = global_var:hchar_samonas }
# }
# set_global_variable = { name = hchar_samonas value = yes }
# title:b_samosata = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Samonas"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = title:b_constantinople.title_province.faith
# culture = title:b_constantinople.title_province.culture
# trait = education_intrigue_5
# trait = gregarious
# trait = ambitious
# trait = deceitful
# trait = schemer
# trait = loyal
# trait = beardless_eunuch
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = samonas
# }
# if = { limit = { has_variable = samonas } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Peter the Eunuch
# limit = {
# current_year >= 1020
# current_year <= 1026
# NOT = { exists = global_var:hchar_peter_the_eunuch }
# }
# set_global_variable = { name = hchar_peter_the_eunuch value = yes }
# title:b_constantinople = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Peter"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = title:b_constantinople.title_province.faith
# culture = title:b_constantinople.title_province.culture
# trait = education_diplomacy_4
# trait = zealous
# trait = patient
# trait = diligent
# trait = lifestyle_mystic
# trait = loyal
# trait = beardless_eunuch
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_decent_skill max_template_decent_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = peter_the_eunuch
# give_nickname = nick_the_eunuch
# }
# if = { limit = { has_variable = peter_the_eunuch } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Constantine the Paphlagonian
# limit = {
# current_year >= 867
# current_year <= 873
# NOT = { exists = global_var:hchar_constantine_the_paphlagonian }
# }
# set_global_variable = { name = hchar_constantine_the_paphlagonian value = yes }
# title:b_amastris = {
# save_scope_as = birth_location
# create_character = {
# age = 40
# name = "Constantine"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_stewardship_3
# trait = calm
# trait = patient
# trait = diligent
# trait = loyal
# trait = administrator
# trait = beardless_eunuch
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_decent_skill max_template_decent_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = constantine_the_paphlagonian
# give_nickname = nick_the_paphlagonian
# }
# if = { limit = { has_variable = constantine_the_paphlagonian } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Peter the Stratopedarches
# limit = {
# current_year >= 950
# current_year <= 956
# NOT = { exists = global_var:hchar_peter_the_stratopedarches }
# }
# set_global_variable = { name = hchar_peter_the_stratopedarches value = yes }
# title:b_tyana = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Peter"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_martial_5
# trait = calm
# trait = patient
# trait = brave
# trait = loyal
# trait = physique_good_3
# trait = strong
# trait = strategist
# trait = beardless_eunuch
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_low_skill max_template_low_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = peter_the_stratopedarches
# give_nickname = nick_the_stratopedarches
# save_scope_as = major
# }
# if = { limit = { has_variable = peter_the_stratopedarches } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Basilios Bessarion
# limit = {
# current_year >= 1423
# current_year <= 1429
# NOT = { exists = global_var:hchar_basilios_bessarion }
# }
# set_global_variable = { name = hchar_basilios_bessarion value = yes }
# title:b_trebizond = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Basilios"
# dynasty_house = house:house_bessarion
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:catholic
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = diligent
# trait = patient
# trait = cynical
# trait = scholar
# trait = theologian
# trait = diplomat
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = basilios_bessarion
# save_scope_as = major
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = basilios_bessarion } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Demetrios Kydones
# limit = {
# current_year >= 1344
# current_year <= 1350
# NOT = { exists = global_var:hchar_demetrios_kydones }
# }
# set_global_variable = { name = hchar_demetrios_kydones value = yes }
# title:b_larissa = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Demetrios"
# dynasty_house = house:house_kydones
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_5
# trait = honest
# trait = just
# trait = forgiving
# trait = scholar
# trait = theologian
# trait = diplomat
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = demetrios_kydones
# }
# if = { limit = { has_variable = demetrios_kydones } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Manuel Holobolos
# limit = {
# current_year >= 1240
# current_year <= 1246
# NOT = { exists = global_var:hchar_manuel_holobolos }
# }
# set_global_variable = { name = hchar_manuel_holobolos value = yes }
# title:b_constantinople = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Manuel"
# dynasty_house = house:house_holobolos
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = craven
# trait = humble
# trait = gregarious
# trait = scholar
# trait = disfigured
# trait = administrator
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = manuel_holobolos
# }
# if = { limit = { has_variable = manuel_holobolos } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # John Axuch
# limit = {
# current_year >= 1107
# current_year <= 1113
# NOT = { exists = global_var:hchar_john_axuch }
# }
# set_global_variable = { name = hchar_john_axuch value = yes }
# title:b_satala = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "John"
# dynasty_house = house:house_axuch
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = title:b_constantinople.title_province.faith
# culture = title:b_maragha.title_province.culture
# trait = education_martial_5
# trait = brave
# trait = trusting
# trait = content
# trait = loyal
# trait = strong
# trait = strategist
# trait = overseer
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_low_skill max_template_low_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = john_axuch
# save_scope_as = major
# add_character_flag = need_military_outfit
# learn_language_of_culture = scope:birth_location.title_province.culture
# }
# if = { limit = { has_variable = john_axuch } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Mkhitar Gosh
# limit = {
# current_year >= 1150
# current_year <= 1156
# NOT = { exists = global_var:hchar_mkhitar_gosh }
# }
# set_global_variable = { name = hchar_mkhitar_gosh value = yes }
# title:b_kayan = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Mkhitar"
# dynasty_house = house:house_gosh
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = zealous
# trait = just
# trait = diligent
# trait = scholar
# trait = theologian
# trait = administrator
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = mkhitar_gosh
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = mkhitar_gosh } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Shota Rustaveli
# limit = {
# current_year >= 1192
# current_year <= 1198
# NOT = { exists = global_var:hchar_shota_rustaveli }
# }
# set_global_variable = { name = hchar_shota_rustaveli value = yes }
# title:b_batumi = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Shota"
# dynasty_house = house:house_rustaveli
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_3
# trait = compassionate
# trait = humble
# trait = diligent
# trait = lifestyle_poet
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = shota_rustaveli
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = shota_rustaveli } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Grigor Tatevatsi
# limit = {
# current_year >= 1366
# current_year <= 1372
# NOT = { exists = global_var:hchar_grigor_tatevatsi }
# }
# set_global_variable = { name = hchar_grigor_tatevatsi value = yes }
# title:b_kayan = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Grigor"
# dynasty_house = house:house_tatevatsi
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = zealous
# trait = humble
# trait = diligent
# trait = theologian
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = grigor_tatevatsi
# }
# if = { limit = { has_variable = grigor_tatevatsi } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Sargis Pitsak
# limit = {
# current_year >= 1310
# current_year <= 1316
# NOT = { exists = global_var:hchar_sargis_pitsak }
# }
# set_global_variable = { name = hchar_sargis_pitsak value = yes }
# title:b_tarsus = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Sargis"
# dynasty_house = house:house_pitsak
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_2
# trait = patient
# trait = calm
# trait = diligent
# trait = architect
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = sargis_pitsak
# }
# if = { limit = { has_variable = sargis_pitsak } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Averardo de' Medici
# limit = {
# current_year >= 1336
# current_year <= 1342
# NOT = { exists = global_var:hchar_medici }
# }
# set_global_variable = { name = hchar_medici value = yes }
# title:b_firenze = {
# save_scope_as = birth_location
# create_character = {
# age = 16
# name = "Averardo"
# dynasty_house = house:house_medici
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_stewardship_5
# trait = ambitious
# trait = greedy
# trait = diligent
# trait = avaricious
# trait = lifestyle_traveler
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_low_skill max_template_low_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = medici
# add_gold = 1000
# save_scope_as = major
# }
# if = { limit = { has_variable = medici } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Alfonso de Borgia
# limit = {
# current_year >= 1398
# current_year <= 1404
# NOT = { exists = global_var:hchar_borgia }
# }
# set_global_variable = { name = hchar_borgia value = yes }
# title:b_almansa = {
# save_scope_as = birth_location
# create_character = {
# age = 16
# name = "Alfonso"
# dynasty_house = house:house_borgia
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_5
# trait = ambitious
# trait = greedy
# trait = deceitful
# trait = diplomat
# trait = administrator
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = borgia
# save_scope_as = major
# }
# if = { limit = { has_variable = borgia } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # William Wallace
# limit = {
# current_year >= 1290
# current_year <= 1296
# NOT = { exists = global_var:hchar_william_wallace }
# }
# set_global_variable = { name = hchar_william_wallace value = yes }
# title:b_glasgow = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "William"
# dynasty_house = house:house_wallace
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_martial_5
# trait = brave
# trait = stubborn
# trait = vengeful
# trait = strong
# trait = gallant
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_low_skill max_template_low_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = william_wallace
# save_scope_as = major
# add_character_flag = need_military_outfit
# }
# if = { limit = { has_variable = william_wallace } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # La Hire (Étienne de Vignolles)
# limit = {
# current_year >= 1406
# current_year <= 1412
# NOT = { exists = global_var:hchar_la_hire }
# }
# set_global_variable = { name = hchar_la_hire value = yes }
# title:b_dax = {
# save_scope_as = birth_location
# create_character = {
# age = 16
# name = "Étienne"
# dynasty_house = house:house_vignolles
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_martial_5
# trait = brave
# trait = wrathful
# trait = patient
# trait = strong
# trait = gallant
# trait = loyal
# trait = strategist
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_low_skill max_template_low_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = la_hire
# give_nickname = nick_la_hire
# add_character_flag = need_military_outfit
# }
# if = { limit = { has_variable = la_hire } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Rabban Bar Sauma
# limit = {
# current_year >= 1240
# current_year <= 1246
# NOT = { exists = global_var:hchar_bar_sauma }
# }
# set_global_variable = { name = hchar_bar_sauma value = yes }
# title:b_baghdad = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Bar_Sawma"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:nestorian
# culture = culture:uyghur
# trait = education_diplomacy_4
# trait = diplomat
# trait = calm
# trait = diligent
# trait = patient
# trait = devoted
# trait = adventurer
# trait = lifestyle_traveler
# trait = scholar
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = bar_sauma
# add_character_flag = ai_will_not_convert
# add_trait_xp = {
# trait = lifestyle_traveler
# track = travel
# value = 100
# }
# add_trait_xp = {
# trait = lifestyle_traveler
# track = danger
# value = 100
# }
# }
# if = { limit = { has_variable = bar_sauma } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Nasreddin Hodja
# limit = {
# current_year >= 1228
# current_year <= 1234
# NOT = { exists = global_var:hchar_hodja }
# }
# set_global_variable = { name = hchar_hodja value = yes }
# title:b_bukhara = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Nasreddin"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_intrigue_5
# trait = eccentric
# trait = just
# trait = arrogant
# trait = shrewd
# trait = hajjaj
# trait = lifestyle_mystic
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = hodja
# give_nickname = nick_the_hodja
# hidden_effect = {
# add_trait_xp = {
# trait = lifestyle_mystic
# value = 100
# }
# }
# }
# if = { limit = { has_variable = hodja } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Widukind of Corvey
# limit = {
# current_year >= 945
# current_year <= 951
# NOT = { exists = global_var:hchar_widukind_of_corvey }
# }
# set_global_variable = { name = hchar_widukind_of_corvey value = yes }
# title:b_everstein = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Widukind"
# dynasty_house = house:house_corvey
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = diligent
# trait = humble
# trait = lifestyle_mystic
# trait = devoted
# trait = journaller
# trait = lifestyle_poet
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = widukind_of_corvey
# create_inspiration = book_inspiration
# hidden_effect = {
# add_trait_xp = {
# trait = lifestyle_mystic
# value = 100
# }
# }
# }
# if = { limit = { has_variable = widukind_of_corvey } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Roger de Flor
# limit = {
# current_year >= 1291
# current_year <= 1296
# NOT = { exists = global_var:hchar_roger_de_flor }
# }
# set_global_variable = { name = hchar_roger_de_flor value = yes }
# title:b_brindisi = {
# save_scope_as = birth_location
# create_character = {
# age = 24
# name = "Roger"
# dynasty_house = house:house_flor
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = title:b_roma.title_province.faith
# culture = title:b_roma.title_province.culture
# trait = education_martial_5
# trait = greedy
# trait = ambitious
# trait = stubborn
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_low_skill max_template_low_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = roger_de_flor
# add_gold = 1000
# add_character_modifier = {
# modifier = holy_order_experience_modifier
# }
# add_character_flag = need_military_outfit
# }
# if = { limit = { has_variable = roger_de_flor } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Regino of Prüm
# limit = {
# current_year >= 860
# current_year <= 870
# NOT = { exists = global_var:hchar_regino_of_prum }
# }
# set_global_variable = { name = hchar_regino_of_prum value = yes }
# title:b_speyer = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Regino"
# dynasty_house = house:house_prum
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_3
# trait = calm
# trait = diligent
# trait = humble
# trait = devoted
# trait = journaller
# trait = lifestyle_poet
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = regino_of_prum
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = regino_of_prum } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
# if = { # Geoffrey of Monmouth
# limit = {
# current_year >= 1120
# current_year <= 1126
# NOT = { exists = global_var:hchar_geoffrey_of_monmouth }
# }
# set_global_variable = { name = hchar_geoffrey_of_monmouth value = yes }
# title:b_monmouth = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Geoffrey"
# dynasty_house = house:house_monmouth
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_2
# trait = ambitious
# trait = diligent
# trait = eccentric
# trait = devoted
# trait = lifestyle_poet
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = geoffrey_of_monmouth
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = geoffrey_of_monmouth } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# # Start of All Under Heaven Characters
#
# if = { # Nichiren (日蓮)
# limit = {
# current_year >= 1242
# current_year <= 1248
# NOT = { exists = global_var:hchar_nichiren }
# }
# set_global_variable = { name = hchar_nichiren value = yes }
# title:b_chiba = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Nichiren"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:pundarika
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = zealous
# trait = brave
# trait = stubborn
# trait = devoted
# trait = lifestyle_mystic
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = nichiren
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = nichiren } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Dōgen (道元)
# limit = {
# current_year >= 1220
# current_year <= 1226
# NOT = { exists = global_var:hchar_dogen }
# }
# set_global_variable = { name = hchar_dogen value = yes }
# title:b_kyo = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "DO_gen"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:dhyana
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = zealous
# trait = patient
# trait = temperate
# trait = devoted
# trait = theologian
# trait = lifestyle_mystic
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = dogen
# create_inspiration = religious_inspiration
# }
# if = { limit = { has_variable = dogen } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Shiren (师仁)
# limit = {
# current_year >= 1298
# current_year <= 1304
# NOT = { exists = global_var:hchar_kokan_shiren }
# }
# set_global_variable = { name = hchar_kokan_shiren value = yes }
# title:b_kamakura = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Shiren_5E08_4EC1"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:dhyana
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = humble
# trait = patient
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = theologian
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = kokan_shiren
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = kokan_shiren } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Jeong Mong-ju (鄭夢周)
# limit = {
# current_year >= 1366
# current_year <= 1374
# NOT = { exists = global_var:hchar_jeong_mong_ju }
# }
# set_global_variable = { name = hchar_jeong_mong_ju value = yes }
# title:b_Goryeo_Gaeseong_Gaeseong = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Mong_ju"
# dynasty_house = house:house_hchar_jeong
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:daoxue
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = just
# trait = honest
# trait = brave
# trait = lifestyle_poet
# trait = scholar
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = jeong_mong_ju
# }
# if = { limit = { has_variable = jeong_mong_ju } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Yi Saek (李穡)
# limit = {
# current_year >= 1351
# current_year <= 1357
# NOT = { exists = global_var:hchar_yi_saek }
# }
# set_global_variable = { name = hchar_yi_saek value = yes }
# title:b_Goryeo_Gaeseong_Gaeseong = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Saek_7A61"
# dynasty_house = house:house_hchar_yi
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:daoxue
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = diligent
# trait = temperate
# trait = patient
# trait = scholar
# trait = theologian
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = yi_saek
# }
# if = { limit = { has_variable = yi_saek } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Ji-nul (知訥)
# limit = {
# current_year >= 1183
# current_year <= 1189
# NOT = { exists = global_var:hchar_jinul }
# }
# set_global_variable = { name = hchar_jinul value = yes }
# title:b_Goryeo_Gaeseong_Gaeseong = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Ji_nul"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:dhyana
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = calm
# trait = diligent
# trait = devoted
# trait = lifestyle_mystic
# trait = theologian
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = jinul
# create_inspiration = religious_inspiration
# }
# if = { limit = { has_variable = jinul } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Mpu Prapanca
# limit = {
# current_year >= 1365
# current_year <= 1371
# NOT = { exists = global_var:hchar_prapanca }
# }
# set_global_variable = { name = hchar_prapanca value = yes }
# title:b_SUM_Palembang = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Prapanca"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = arrogant
# trait = diligent
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = prapanca
# give_nickname = nick_mpu
# }
# if = { limit = { has_variable = prapanca } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Mpu Tantular
# limit = {
# current_year >= 1320
# current_year <= 1326
# NOT = { exists = global_var:hchar_tantular }
# }
# set_global_variable = { name = hchar_tantular value = yes }
# title:b_JAV_Kahuripan = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Tantular"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = patient
# trait = diligent
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = tantular
# give_nickname = nick_mpu
# }
# if = { limit = { has_variable = tantular } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Mpu Kanwa
# limit = {
# current_year >= 990
# current_year <= 996
# NOT = { exists = global_var:hchar_kanwa }
# }
# set_global_variable = { name = hchar_kanwa value = yes }
# title:b_JAV_Kahuripan = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Kanwa"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = calm
# trait = diligent
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = kanwa
# give_nickname = nick_mpu
# }
# if = { limit = { has_variable = kanwa } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Mpu Sedah
# limit = {
# current_year >= 1120
# current_year <= 1126
# NOT = { exists = global_var:hchar_sedah }
# }
# set_global_variable = { name = hchar_sedah value = yes }
# title:b_JAV_Kahuripan = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Sedah"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = compassionate
# trait = diligent
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = sedah
# give_nickname = nick_mpu
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = sedah } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Mpu Panuluh
# limit = {
# current_year >= 1140
# current_year <= 1146
# NOT = { exists = global_var:hchar_panuluh }
# }
# set_global_variable = { name = hchar_panuluh value = yes }
# title:b_JAV_Kahuripan = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Panuluh"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = stubborn
# trait = diligent
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = panuluh
# give_nickname = nick_mpu
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = panuluh } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Mpu Dharmaja
# limit = {
# current_year >= 1010
# current_year <= 1016
# NOT = { exists = global_var:hchar_dharmaja }
# }
# set_global_variable = { name = hchar_dharmaja value = yes }
# title:b_JAV_Kahuripan = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Dharmaja"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = forgiving
# trait = humble
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# trait = loyal
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = dharmaja
# give_nickname = nick_mpu
# create_inspiration = book_inspiration
# }
# if = { limit = { has_variable = dharmaja } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Mpu Monaguna
# limit = {
# current_year >= 1220
# current_year <= 1226
# NOT = { exists = global_var:hchar_monaguna }
# }
# set_global_variable = { name = hchar_monaguna value = yes }
# title:b_JAV_Kahuripan = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Monaguna"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = humble
# trait = calm
# trait = diligent
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = monaguna
# give_nickname = nick_mpu
# }
# if = { limit = { has_variable = monaguna } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Mpu Kuturan
# limit = {
# current_year >= 990
# current_year <= 996
# NOT = { exists = global_var:hchar_kuturan }
# }
# set_global_variable = { name = hchar_kuturan value = yes }
# title:b_IDO_Bedulu = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Kuturan"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = patient
# trait = diligent
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = kuturan
# give_nickname = nick_mpu
# }
# if = { limit = { has_variable = kuturan } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Mpu Dwijendra
# limit = {
# current_year >= 1020
# current_year <= 1026
# NOT = { exists = global_var:hchar_dwijendra }
# }
# set_global_variable = { name = hchar_dwijendra value = yes }
# title:b_IDO_Lombok = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Dwijendra"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = temperate
# trait = patient
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_poet
# trait = scholar
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = dwijendra
# give_nickname = nick_mpu
# }
# if = { limit = { has_variable = dwijendra } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Kavindrarimathana
# limit = {
# current_year >= 940
# current_year <= 946
# NOT = { exists = global_var:hchar_kavindrarimathana }
# }
# set_global_variable = { name = hchar_kavindrarimathana value = yes }
# title:b_angkor = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Kavindrarimathana"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_stewardship_5
# trait = diligent
# trait = ambitious
# trait = patient
# trait = architect
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_low_skill max_template_low_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = kavindrarimathana
# }
# if = { limit = { has_variable = kavindrarimathana } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Daun Penh
# limit = {
# current_year >= 1320
# current_year <= 1326
# NOT = { exists = global_var:hchar_daun_penh }
# }
# set_global_variable = { name = hchar_daun_penh value = yes }
# title:b_angkor = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Daun"
# dynasty_house = house:house_penh
# gender_female_chance = 100
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_stewardship_3
# trait = zealous
# trait = generous
# trait = patient
# trait = theologian
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = daun_penh
# add_gold = 1000
# }
# if = { limit = { has_variable = daun_penh } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Yue Fei (岳飛)
# limit = {
# current_year >= 1123
# current_year <= 1129
# NOT = { exists = global_var:hchar_yue_fei }
# }
# set_global_variable = { name = hchar_yue_fei value = yes }
# title:b_xindu = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Fei_98DB"
# dynasty_house = house:house_hchar_yue
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_martial_5
# trait = zealous
# trait = brave
# trait = just
# trait = strategist
# trait = loyal
# trait = lifestyle_poet
# trait = lifestyle_blademaster
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_decent_skill max_template_decent_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_decent_skill max_template_decent_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = yue_fei
# add_character_flag = need_military_outfit
# }
# if = { limit = { has_variable = yue_fei } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Wen Tianxiang
# limit = {
# current_year >= 1256
# current_year <= 1262
# NOT = { exists = global_var:hchar_wen_tianxiang }
# }
# set_global_variable = { name = hchar_wen_tianxiang value = yes }
# title:b_luling = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Tianxiang"
# dynasty_house = house:house_hchar_wen
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_martial_3
# trait = zealous
# trait = just
# trait = stubborn
# trait = scholar
# trait = lifestyle_poet
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_decent_skill max_template_decent_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = wen_tianxiang
# add_character_flag = need_military_outfit
# }
# if = { limit = { has_variable = wen_tianxiang } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Fan Zhongyan
# limit = {
# current_year >= 1013
# current_year <= 1019
# NOT = { exists = global_var:hchar_fan_zhongyan }
# }
# set_global_variable = { name = hchar_fan_zhongyan value = yes }
# title:b_wu = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Zhongyan_4EF2_6DF9"
# dynasty_house = house:house_hchar_fan
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = just
# trait = diligent
# trait = generous
# trait = administrator
# trait = scholar
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_high_skill max_template_high_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = fan_zhongyan
# }
# if = { limit = { has_variable = fan_zhongyan } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Li Qingzhao
# limit = {
# current_year >= 1100
# current_year <= 1106
# NOT = { exists = global_var:hchar_li_qingzhao }
# }
# set_global_variable = { name = hchar_li_qingzhao value = yes }
# title:b_zhangqiu = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Qingzhao_6E05_7167"
# dynasty_house = house:house_hchar_li
# gender_female_chance = 100
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_4
# trait = calm
# trait = diligent
# trait = humble
# trait = lifestyle_poet
# trait = journaller
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_low_skill max_template_low_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = li_qingzhao
# }
# if = { limit = { has_variable = li_qingzhao } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Qiu Chuji
# limit = {
# current_year >= 1199
# current_year <= 1205
# NOT = { exists = global_var:hchar_qiu_chuji }
# }
# set_global_variable = { name = hchar_qiu_chuji value = yes }
# title:b_linji = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Chuji_8655_6A5F"
# dynasty_house = house:house_hchar_qiu
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:quanzhen
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = temperate
# trait = calm
# trait = theologian
# trait = lifestyle_mystic
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = qiu_chuji
# }
# if = { limit = { has_variable = qiu_chuji } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Chu Van An
# limit = {
# current_year >= 1300
# current_year <= 1306
# NOT = { exists = global_var:hchar_chu_van_an }
# }
# set_global_variable = { name = hchar_chu_van_an value = yes }
# title:b_thang_long = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "van_an"
# dynasty_house = house:house_hchar_chu
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:daoxue
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = honest
# trait = temperate
# trait = just
# trait = theologian
# trait = scholar
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = chu_van_an
# }
# if = { limit = { has_variable = chu_van_an } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Nguyen Thuyen
# limit = {
# current_year >= 1270
# current_year <= 1276
# NOT = { exists = global_var:hchar_nguyen_thuyen }
# }
# set_global_variable = { name = hchar_nguyen_thuyen value = yes }
# title:b_thang_long = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "thuyen"
# dynasty_house = house:house_hchar_nguyen
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_learning_3
# trait = patient
# trait = honest
# trait = calm
# trait = lifestyle_poet
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_low_skill max_template_low_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = nguyen_thuyen
# }
# if = { limit = { has_variable = nguyen_thuyen } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Pham Ngu Lao
# limit = {
# current_year >= 1281
# current_year <= 1287
# NOT = { exists = global_var:hchar_pham_ngu_lao }
# }
# set_global_variable = { name = hchar_pham_ngu_lao value = yes }
# title:b_thang_long = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "ngu_lao"
# dynasty_house = house:house_hchar_pham
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_martial_4
# trait = brave
# trait = diligent
# trait = calm
# trait = strategist
# trait = lifestyle_poet
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_decent_skill max_template_decent_skill }
# learning = { min_template_low_skill max_template_low_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = pham_ngu_lao
# }
# if = { limit = { has_variable = pham_ngu_lao } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Sakata Kintoki (坂田公時)
# limit = {
# current_year >= 1000
# current_year <= 1006
# NOT = { exists = global_var:hchar_sakata_kintoki }
# }
# set_global_variable = { name = hchar_sakata_kintoki value = yes }
# title:b_kamakura = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Kin_toki"
# dynasty_house = house:house_hchar_sakata
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_martial_3
# trait = brave
# trait = lustful
# trait = trusting
# trait = strong
# trait = loyal
# trait = giant
# trait = athletic
# trait = physique_good_3
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = sakata_kintoki
# give_nickname = nick_kintaro
# }
# if = { limit = { has_variable = sakata_kintoki } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Takezaki Suenaga (竹崎季長)
# limit = {
# current_year >= 1266
# current_year <= 1272
# NOT = { exists = global_var:hchar_takezaki_suenaga }
# }
# set_global_variable = { name = hchar_takezaki_suenaga value = yes }
# title:b_mashiki = {
# save_scope_as = birth_location
# create_character = {
# age = 20
# name = "Suenaga"
# dynasty_house = house:house_hchar_takezaki
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = scope:birth_location.title_province.faith
# culture = scope:birth_location.title_province.culture
# trait = education_martial_4
# trait = ambitious
# trait = brave
# trait = arrogant
# trait = gallant
# trait = lifestyle_blademaster
# trait = loyal
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_high_skill max_template_high_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_low_skill max_template_low_skill }
# learning = { min_template_low_skill max_template_low_skill }
# prowess = { min_template_high_skill max_template_high_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = takezaki_suenaga
# }
# if = { limit = { has_variable = takezaki_suenaga } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Eisai (栄西)
# limit = {
# current_year >= 1185
# current_year <= 1195
# NOT = { exists = global_var:hchar_eisai }
# }
# set_global_variable = { name = hchar_eisai value = yes }
# title:b_hakata = {
# save_scope_as = birth_location
# create_character = {
# age = 50
# name = "Eisai"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:dhyana
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = zealous
# trait = calm
# trait = diligent
# trait = devoted
# trait = theologian
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = eisai
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = eisai } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Ippen Shōnin (一遍上人)
# limit = {
# current_year >= 1271
# current_year <= 1281
# NOT = { exists = global_var:hchar_ippen }
# }
# set_global_variable = { name = hchar_ippen value = yes }
# title:b_saku = {
# save_scope_as = birth_location
# create_character = {
# age = 38
# name = "Ippen"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:sukhavati
# culture = scope:birth_location.title_province.culture
# trait = education_learning_4
# trait = zealous
# trait = compassionate
# trait = diligent
# trait = devoted
# trait = lifestyle_mystic
# trait = lifestyle_traveler
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = ippen
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = ippen } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Myōe (明恵)
# limit = {
# current_year >= 1200
# current_year <= 1210
# NOT = { exists = global_var:hchar_myoe }
# }
# set_global_variable = { name = hchar_myoe value = yes }
# title:b_nagusa = {
# save_scope_as = birth_location
# create_character = {
# age = 30
# name = "MyO_e"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:avatamsaka # Kegon, also Shingon (Mantrayana)
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = zealous
# trait = just
# trait = stubborn
# trait = devoted
# trait = lifestyle_poet
# trait = theologian
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = myoe
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = myoe } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Hōnen (法然)
# limit = {
# current_year >= 1178
# current_year <= 1188
# NOT = { exists = global_var:hchar_honen }
# }
# set_global_variable = { name = hchar_honen value = yes }
# title:b_kyo = {
# save_scope_as = birth_location
# create_character = {
# age = 55
# name = "HO_nen"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:sukhavati
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = zealous
# trait = just
# trait = compassionate
# trait = devoted
# trait = theologian
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = honen
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = honen } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Shinran (親鸞)
# limit = {
# current_year >= 1218
# current_year <= 1228
# NOT = { exists = global_var:hchar_shinran }
# }
# set_global_variable = { name = hchar_shinran value = yes }
# title:b_toshima = {
# save_scope_as = birth_location
# create_character = {
# age = 50
# name = "Shinran"
# dynasty = none
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:sukhavati
# culture = scope:birth_location.title_province.culture
# trait = education_learning_5
# trait = zealous
# trait = just
# trait = compassionate
# trait = devoted
# trait = theologian
# diplomacy = { min_template_low_skill max_template_low_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = shinran
# add_character_flag = ai_will_not_convert
# }
# if = { limit = { has_variable = shinran } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Mibu Tadamine (壬生忠岑)
# limit = {
# current_year >= 885
# current_year <= 895
# NOT = { exists = global_var:hchar_mibu_tadamine }
# }
# set_global_variable = { name = hchar_mibu_tadamine value = yes }
# title:b_kyo = {
# save_scope_as = birth_location
# create_character = {
# age = 30
# name = "Tadamine"
# dynasty_house = house:house_hchar_mibu
# gender_female_chance = 0
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:pundarika
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_4
# trait = gregarious
# trait = cynical
# trait = diligent
# trait = lifestyle_poet
# diplomacy = { min_template_high_skill max_template_high_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_high_skill max_template_high_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# historical_character_finalization_effect = yes
# set_variable = mibu_tadamine
# }
# if = { limit = { has_variable = mibu_tadamine } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#
# if = { # Murasaki Shikibu (紫式部)
# limit = {
# current_year >= 990
# current_year <= 1000
# NOT = { exists = global_var:hchar_murasaki }
# }
# set_global_variable = { name = hchar_murasaki value = yes }
# title:b_kyo = {
# save_scope_as = birth_location
# create_character = {
# age = 25
# name = "Kaoruko"
# dynasty = none
# gender_female_chance = 100
# random_traits = no
# location = scope:birth_location.title_province
# faith = faith:pundarika
# culture = scope:birth_location.title_province.culture
# trait = education_diplomacy_4
# trait = journaller
# trait = lifestyle_poet
# trait = gregarious
# trait = honest
# trait = compassionate
# trait = beauty_good_1
# diplomacy = { min_template_decent_skill max_template_decent_skill }
# martial = { min_template_low_skill max_template_low_skill }
# stewardship = { min_template_low_skill max_template_low_skill }
# intrigue = { min_template_high_skill max_template_high_skill }
# learning = { min_template_low_skill max_template_low_skill }
# prowess = { min_template_decent_skill max_template_decent_skill }
# save_scope_as = historical_character
# }
# scope:historical_character ?= {
# give_nickname = "nick_murasaki_shikibu"
# historical_character_finalization_effect = yes
# set_variable = murasaki
# }
# if = { limit = { has_variable = murasaki } } # Error suppression
# spawn_historical_characters_boilerplate_effect = yes
# }
# }
#}
#
#historical_character_finalization_effect = {
# add_trait = historical_character
# house ?= {
# generate_coa = yes
# }
# dynasty ?= {
# set_coa = scope:historical_character.house
# }
# set_variable = {
# name = show_historical_gui
# value = 1
# }
#}
#
#spawn_historical_characters_boilerplate_effect = {
# county = { save_scope_as = county_scope }
# county.holder = {
# if = {
# limit = {
# is_ai = no
# }
# trigger_event = historical_char_creation_events.1
# }
# else_if = {
# limit = {
# OR = {
# exists = scope:major
# has_game_rule = all_historical_characters
# }
# any_liege_or_above = {
# is_ai = no
# }
# }
# random_liege_or_above = {
# limit = {
# is_ai = no
# }
# trigger_event = historical_char_creation_events.1
# }
# }
# else_if = {
# limit = {
# exists = scope:county_scope.duchy.holder
# }
# scope:county_scope.duchy.holder = {
# trigger_event = historical_char_creation_events.1
# }
# }
# else = {
# top_liege = {
# trigger_event = historical_char_creation_events.1
# }
# }
# }
#}
#