diff --git a/common/achievements/_achievements.info b/common/achievements/_achievements.info new file mode 100644 index 00000000..63fbc7a5 --- /dev/null +++ b/common/achievements/_achievements.info @@ -0,0 +1,75 @@ +############################################################## +# Structure +############################################################## +# +# These files comprise the Achievement Database. +# +# Achievements Flags +# +# When we add flags etc for achievements, we need to do it in a certain roundabout way, or else it'll trigger errors +# when running some of our automated tests. For context, these tests run the game without graphics, which for one +# reason or another, don't read achievements. +# Thus if the only place an achievement flag/variable is read is inside the achievement script, we end up with errors +# like these during the test: +# +# [15:36:43][jomini_effect.cpp:324]: Character flag 'rd_character_blocked_far_from_home_achievement' is set but is never used +# [15:36:43][jomini_effect.cpp:324]: Variable 'first_of_the_crusader_kings_achievement_flag' is set but is never used +# +# Instead use the scripted achievement effects such as add_achievement_flag_effect. +# They will suppress the above errors by adding dummy usages as well. +# +# Look for all effects in achievement_effects.txt, the different effects are used for different kinds of achievement checks. + +# Key of the achievement. Name and description loc keys will use this as base in achievements_l_LANGUAGE.yml +# name: ACHIEVEMENT_your_achievement_key +# description: ACHIEVEMENT_DESC_your_achievement_key +your_achievement_key = { + + ### possible (trigger, optional) + # + # A player-character-scoped trigger that determines whether the achievement can ever be unlocked in this run. + # This allows the player to see which achievement they can aim for in this run. Can be empty and check for variables + # + # Scopes: + # root = the character being played + possible = { + } + + ### happened (trigger) + # + # A player-character-scoped trigger that determines whether the achievement was unlocked. + # In practice we always use a custom_description trigger to be able to show custom trigger text. + # The custom trigger descriptions are defined in XX_track_achievement_triggers.txt in the common/trigger_localization folder. + # After the text you can write the actual condition to unlock the achievement. + happened = { + custom_description = { + # Name of the custom trigger localization. Usually the structure to use in the achievement_triggers file goes like this: + # + # your_achievement_key_trigger = { + # global = ACHIEVEMENT_DESC_your_achievement_key + # } + text = your_achievement_key_trigger + + ### subject (optional) + # scope object of the subject of the text's phrase, to be used when localizing the text's variable entities (he/she/I...). + # This only affects the text localization. Generally unused for achievements. + subject = {} + + ### object (optional) + # scope object of the object of the text's phrase, to be used when localizing the text's variable entities (he/she/I...). + # This only affects the text localization. Generally unused for achievements. + object = {} + + ### value (optional) + # scope object of a numeric value to be used in the text's phrase. + # This only affects the text localization. Generally unused for achievements. + value = {} + + # Everything else in this custom_description is counted as a Character-scoped trigger that checks if the current situation can unlock this achievement. + # + # Scopes: + # root = the character being played + exists = root.capital_province + } + } +} diff --git a/common/achievements/ce1_achievements.txt b/common/achievements/ce1_achievements.txt new file mode 100644 index 00000000..2619957a --- /dev/null +++ b/common/achievements/ce1_achievements.txt @@ -0,0 +1,152 @@ +###01. Not Today +##ce1_not_today_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = ce1_not_today_achievement_trigger +## exists = global_var:ce1_not_today_achievement_unlocked +## } +## } +##} +## +###02. Divine Right +##ce1_divine_right_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = ce1_divine_right_achievement_trigger +## legitimacy_level >= max_legitimacy_level_value +## } +## } +##} +## +###03. You'll Never Take Me Alive +##ce1_youll_never_take_me_alive_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = ce1_youll_never_take_me_alive_achievement_trigger +## exists = root.capital_province +## location = { +## this != root.capital_province +## NOT = { +## any_province_epidemic = { } +## } +## } +## root.capital_province = { +## any_province_epidemic = { } +## } +## } +## } +##} +## +###04. The Pharaoh Islands +##ce1_the_pharaoh_islands_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = ce1_the_pharaoh_islands_achievement_trigger +## exists = global_var:ce1_the_pharaoh_islands_achievement_unlocked +## } +## } +##} +## +###05. Canonized +##ce1_canonized_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = ce1_canonized_achievement_trigger +## exists = global_var:ce1_canonized_achievement_unlocked +## } +## } +##} +## +###06. Upward Mobility +##ce1_upward_mobility_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = ce1_upward_mobility_achievement_trigger +## exists = global_var:ce1_upward_mobility_achievement_unlocked +## } +## } +##} +## +###07. Can't Touch This +##ce1_cant_touch_this_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = ce1_cant_touch_this_achievement_trigger +## exists = global_var:ce1_cant_touch_this_achievement_unlocked +## } +## } +##} +## +###08. Legendary! +##ce1_legendary_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = ce1_legendary_achievement_trigger +## exists = global_var:ce1_legendary_achievement_unlocked +## } +## } +##} +## +###9. Pay Respects +##ce1_f_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = ce1_f_achievement_trigger +## exists = global_var:ce1_f_achievement_unlocked +## } +## } +##} +## +###10. Local Legend +##ce1_local_legend_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = ce1_local_legend_achievement_trigger +## exists = global_var:ce1_local_legend_achievement_unlocked +## } +## } +##} +## +###11. Neverending Story +##ce1_neverending_story_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = ce1_neverending_story_achievement_trigger +## exists = global_var:ce1_neverending_story_achievement_unlocked +## } +## } +##} +## \ No newline at end of file diff --git a/common/achievements/ep1_achievements.txt b/common/achievements/ep1_achievements.txt new file mode 100644 index 00000000..8415f653 --- /dev/null +++ b/common/achievements/ep1_achievements.txt @@ -0,0 +1,349 @@ +#ep1_01_achievement = { +# possible = { +# exists = global_var:started_patronage_achievement +# } +# happened = { +# custom_description = { +# text = patronage_achievement_trigger +# any_courtier_or_guest = { +# has_variable = created_artifact_for +# var:created_artifact_for = ROOT +# } +# } +# } +#} +# +#ep1_02_achievement = { +# possible = { +# exists = global_var:started_converging_paths_achievement +# } +# happened = { +# custom_description = { +# text = converging_paths_achievement_trigger +# root.culture = { +# is_hybrid_culture = yes +# exists = var:ep1_02_achievement_unlocked +# var:ep1_02_achievement_unlocked >= 1 +# } +# } +# } +#} +# +#ep1_03_achievement = { +# possible = { +# exists = global_var:started_changing_course_achievement +# } +# happened = { +# custom_description = { +# text = changing_course_achievement_trigger +# root.culture = { +# is_divergent_culture = yes +# exists = var:ep1_03_achievement_unlocked +# var:ep1_03_achievement_unlocked >= 1 +# } +# } +# } +#} +# +#ep1_04_achievement = { +# possible = { +# exists = global_var:started_hoarder_achievement +# } +# happened = { +# custom_description = { +# text = hoarder_achievement_trigger +# all_court_artifact_slots = full +# all_inventory_artifact_slots = full +# } +# } +#} +# +#ep1_05_achievement = { +# possible = { +# exists = global_var:started_creme_de_la_creme_achievement +# +# } +# happened = { +# custom_description = { +# text = creme_de_la_creme_achievement_trigger +# court_grandeur_current_level >= 10 +# } +# } +#} +# +#ep1_06_achievement = { +# possible = { +# exists = global_var:started_polyglot_achievement +# } +# happened = { +# custom_description = { +# text = polyglot_achievement_trigger +# num_of_known_languages >= 10 +# } +# } +#} +# +#ep1_07_achievement = { +# possible = { +# exists = global_var:started_inspirational_achievement +# } +# happened = { +# custom_description = { +# text = inspirational_achievement_trigger +# exists = global_var:ep1_07_achievement_inspiration_count_tracker +# global_var:ep1_07_achievement_inspiration_count_tracker >= 30 +# } +# } +#} +# +#ep1_08_achievement = { +# possible = { +# exists = global_var:started_one_of_a_kind_achievement +# } +# happened = { +# custom_description = { +# text = one_of_a_kind_achievement_trigger +# has_variable = one_of_a_kind_var +# any_character_artifact = { this = root.var:one_of_a_kind_var } +# } +# } +#} +# +#ep1_09_achievement = { +# possible = { +# exists = global_var:started_true_tolerance_achievement +# } +# happened = { +# custom_description = { +# text = true_tolerance_achievement_trigger +# trigger_if = { # For performance +# limit = { +# any_realm_county = { +# count >= 10 +# culture = { +# THIS != ROOT.culture +# cultural_acceptance = { +# target = ROOT.culture +# value >= 95 +# } +# } +# } +# } +# any_culture_global = { +# count >= 10 +# cultural_acceptance = { +# target = ROOT.culture +# value >= 95 +# } +# any_culture_county = { holder.top_liege = ROOT } +# } +# } +# trigger_else = { always = no } +# } +# } +#} +# +# +#ep1_10_achievement = { +# possible = { +# exists = global_var:started_delusions_of_grandeur_achievement_achievement +# } +# happened = { +# custom_description = { +# text = delusions_of_grandeur_achievement_trigger +# court_grandeur_current_level >= delusions_of_grandeur_level_difference +# } +# } +#} +# +#ep1_11_achievement = { +# possible = { +# exists = global_var:started_bod_chen_po_achievement +# } +# happened = { +# custom_description = { +# text = bod_chen_po_achievement_trigger +# root.dynasty = { this = dynasty:105800 } +# has_title = title:e_tibet +# } +# } +#} +# +#ep1_12_achievement = { +# possible = { +# exists = global_var:started_turkish_eagle_achievement +# } +# happened = { +# custom_description = { +# text = turkish_eagle_achievement_trigger +# has_title = title:k_rum +# root.culture = { +# is_hybrid_culture = yes +# any_parent_culture_or_above = { this = culture:turkish } +# any_parent_culture_or_above = { this = culture:greek } +# } +# } +# } +#} +# +#ep1_13_achievement = { +# possible = { +# exists = global_var:started_rise_of_the_ghurids_achievement +# } +# happened = { +# custom_description = { +# text = rise_of_the_ghurids_achievement_trigger +# completely_controls_region = dlc_ep1_achievement_rise_of_the_ghurids +# } +# } +#} +# +#ep1_14_achievement = { +# possible = { +# exists = global_var:started_brave_and_bold_achievement +# } +# happened = { +# custom_description = { +# text = brave_and_bold_achievement_trigger +# has_title = title:k_poland +# government_has_flag = government_is_feudal +# any_character_artifact = { +# artifact_slot_type = primary_armament +# OR = { +# rarity = illustrious +# rarity = famed +# } +# } +# any_character_artifact = { +# artifact_slot_type = armor +# OR = { +# rarity = illustrious +# rarity = famed +# } +# } +# any_character_artifact = { +# artifact_slot_type = helmet +# OR = { +# rarity = illustrious +# rarity = famed +# } +# } +# any_character_artifact = { +# artifact_slot_type = regalia +# OR = { +# rarity = illustrious +# rarity = famed +# } +# } +# } +# } +#} +# +#ep1_15_achievement = { +# possible = { +# exists = global_var:started_lingua_franca_achievement +# NOT = { exists = global_var:any_ruler_designed_character_achievement } +# } +# happened = { +# custom_description = { +# text = lingua_franca_achievement_trigger +# has_royal_court = yes +# NOT = { +# any_character_with_royal_court = { +# NOT = { +# has_same_court_language = root +# } +# } +# } +# } +# } +#} +# +#ep1_16_achievement = { +# possible = { +# exists = global_var:started_beta_israel_achievement +# NOT = { exists = global_var:any_ruler_designed_character_achievement } +# } +# happened = { +# custom_description = { +# text = beta_israel_achievement_trigger +# exists = global_var:diverged_culture_beta_israel_achievement +# root.faith.religion = religion:judaism_religion +# highest_held_title_tier >= tier_kingdom +# root.culture = { is_divergent_culture = yes } +# } +# } +#} +# +#ep1_17_achievement = { +# possible = { +# exists = global_var:started_they_belong_in_a_museum_achievement +# } +# happened = { +# custom_description = { +# text = they_belong_in_a_museum_achievement_trigger +# any_court_position_holder = { +# type = antiquarian_court_position +# has_variable = completed_adventure_inspirations +# } +# } +# } +#} +# +# +# +# +#ep1_18_achievement = { +# possible = { +# exists = global_var:started_i_made_this_achievement +# } +# happened = { +# custom_description = { +# text = i_made_this_achievement_trigger +# any_character_artifact = { +# exists = var:last_person_to_steal +# var:last_person_to_steal = { +# OR = { +# any_child = { this = root } +# this = root.primary_title.previous_holder +# } +# } +# } +# } +# } +#} +# +#ep1_19_achievement = { +# possible = { +# exists = global_var:started_nobody_comes_to_fika_achievement +# } +# happened = { +# custom_description = { +# text = nobody_comes_to_fika_achievement_trigger +# exists = global_var:diverged_culture_nobody_comes_to_fika_achievement +# root.culture = { is_divergent_culture = yes } +# any_sub_realm_county = { +# count >= 30 +# culture = root.culture +# } +# } +# } +#} +# +#ep1_20_achievement = { +# possible = { +# exists = global_var:started_the_true_royal_court_achievement +# } +# happened = { +# custom_description = { +# text = the_true_royal_court_achievement_trigger +# root.liege != root +# highest_held_title_tier = tier_kingdom +# root.liege = { +# highest_held_title_tier = tier_empire +# } +# root.court_grandeur_current > root.liege.court_grandeur_current +# } +# } +#} +# \ No newline at end of file diff --git a/common/achievements/ep2_achievements.txt b/common/achievements/ep2_achievements.txt new file mode 100644 index 00000000..bc3f1a7e --- /dev/null +++ b/common/achievements/ep2_achievements.txt @@ -0,0 +1,374 @@ +## 01. The Grandest Tour +#ep2_01_the_grandest_tour_achievement = { +# possible = { +# exists = global_var:started_the_grandest_tour_achievement +# +# } +# happened = { +# custom_description = { +# text = the_grandest_tour_achievement_trigger +# exists = global_var:finished_the_grandest_tour_achievement +# } +# } +#} +# +## 02. Your Eternal Reward +#ep2_02_your_eternal_reward_achievement = { +# possible = { +# exists = global_var:started_your_eternal_reward_achievement +# +# } +# happened = { +# custom_description = { +# text = your_eternal_reward_achievement_trigger +# exists = global_var:finished_your_eternal_reward_achievement +# } +# } +#} +# +## 03. Imperial March +#ep2_03_imperial_march_achievement = { +# possible = { +# exists = global_var:started_imperial_march_achievement +# +# } +# happened = { +# custom_description = { +# text = imperial_march_achievement_trigger +# exists = global_var:finished_imperial_march_achievement +# } +# } +#} +# +## 04. Black Dinner +#ep2_04_black_dinner_achievement = { +# possible = { +# exists = global_var:started_black_dinner_achievement +# +# } +# happened = { +# custom_description = { +# text = black_dinner_achievement_trigger +# exists = global_var:finished_black_dinner_achievement +# } +# } +#} +# +## 05. There and Back Again +#ep2_05_there_and_back_again_achievement = { +# possible = { +# exists = global_var:started_there_and_back_again_achievement +# +# } +# happened = { +# custom_description = { +# text = there_and_back_again_achievement_trigger +# has_trait_xp = { +# trait = lifestyle_traveler +# track = travel +# value >= 100 +# } +# has_trait_xp = { +# trait = lifestyle_traveler +# track = danger +# value >= 100 +# } +# } +# } +#} +# +## 06. The Very Best +#ep2_06_the_very_best_achievement = { +# possible = { +# exists = global_var:started_the_very_best_achievement +# +# } +# happened = { +# custom_description = { +# text = the_very_best_achievement_trigger +# OR = { +# has_trait_xp = { +# trait = tourney_participant +# track = foot +# value >= 100 +# } +# has_trait_xp = { +# trait = tourney_participant +# track = bow +# value >= 100 +# } +# has_trait_xp = { +# trait = tourney_participant +# track = horse +# value >= 100 +# } +# has_trait_xp = { +# trait = tourney_participant +# track = wit +# value >= 100 +# } +# } +# } +# } +#} +# +## 07. Like No One Ever Was +#ep2_07_like_no_one_ever_was_achievement = { +# possible = { +# exists = global_var:started_like_no_one_ever_was_achievement +# +# } +# happened = { +# custom_description = { +# text = like_no_one_ever_was_achievement_trigger +# has_trait_xp = { +# trait = tourney_participant +# track = foot +# value >= 100 +# } +# has_trait_xp = { +# trait = tourney_participant +# track = bow +# value >= 100 +# } +# has_trait_xp = { +# trait = tourney_participant +# track = horse +# value >= 100 +# } +# has_trait_xp = { +# trait = tourney_participant +# track = wit +# value >= 100 +# } +# } +# } +#} +# +## 08. A Thousand and One Night +#ep2_08_a_thousand_and_one_nights_achievement = { +# possible = { +# exists = global_var:started_a_thousand_and_one_nights_achievement +# +# } +# happened = { +# custom_description = { +# text = a_thousand_and_one_nights_achievement_trigger +# exists = global_var:finished_a_thousand_and_one_nights_achievement +# } +# } +#} +# +## 09. A Knight's Tale +#ep2_09_a_knights_tale_achievement = { +# possible = { +# exists = global_var:started_a_knights_tale_achievement +# +# } +# happened = { +# custom_description = { +# text = a_knights_tale_achievement_trigger +# exists = global_var:finished_a_knights_tale_achievement +# } +# } +#} +# +## 10. Hunting Accident +#ep2_10_hunting_accident_achievement = { +# possible = { +# exists = global_var:started_hunting_accident_achievement +# +# } +# happened = { +# custom_description = { +# text = hunting_accident_achievement_trigger +# exists = global_var:finished_hunting_accident_achievement +# } +# } +#} +# +## 11. Lions and Tigers and Bears, Oh My! +#ep2_11_lions_and_tigers_and_bears_oh_my_achievement = { +# possible = { +# exists = global_var:started_lions_and_tigers_and_bears_oh_my_achievement +# +# } +# happened = { +# custom_description = { +# text = lions_and_tigers_and_bears_oh_my_achievement_trigger +# has_character_modifier = hunt_captive_beast_modifier +# } +# } +#} +# +## 12. Fly, my Pretty! +#ep2_12_fly_my_pretty_achievement = { +# possible = { +# exists = global_var:started_fly_my_pretty_achievement +# +# } +# happened = { +# custom_description = { +# text = fly_my_pretty_achievement_trigger +# has_trait_xp = { +# trait = lifestyle_hunter +# track = falconer +# value >= 100 +# } +# } +# } +#} +# +## 13. Pathway to Heaven +#ep2_13_pathway_to_heaven_achievement = { +# possible = { +# exists = global_var:started_pathway_to_heaven_achievement +# +# } +# happened = { +# custom_description = { +# text = pathway_to_heaven_achievement_trigger +# faith = { +# any_holy_site = { +# count = all +# save_temporary_scope_as = holy_site_temp +# root = { +# is_target_in_variable_list = { +# name = pathway_to_heaven_achievement_tally +# target = scope:holy_site_temp +# } +# } +# } +# } +# } +# } +#} +# +## 14. Sir Lance-a-Lot +#ep2_14_sir_lance_a_lot_achievement = { +# possible = { +# exists = global_var:started_sir_lance_a_lot_achievement +# +# } +# happened = { +# custom_description = { +# text = sir_lance_a_lot_achievement_trigger +# exists = global_var:achieved_sir_lance_a_lot_achievement +# } +# } +#} +# +## 15. I'm in my Element(s) +#ep2_15_im_in_my_elements_achievement = { +# possible = { +# exists = global_var:started_im_in_my_elements_achievement +# +# } +# happened = { +# custom_description = { +# text = im_in_my_elements_achievement_trigger +# has_variable_list = ep2_im_in_my_elements_achievement_terrain_list +# variable_list_size = { +# name = ep2_im_in_my_elements_achievement_terrain_list +# # 16 terrains as of ~March 2023 — will need incrementing if we add more. +# # 17 terrains as of ~October 2025 — will need incrementing if we add more. +# value >= 17 +# } +# } +# } +#} +# +## 16. Ahab +#ep2_16_ahab_achievement = { +# possible = { +# exists = global_var:started_ahab_achievement +# +# } +# happened = { +# custom_description = { +# text = ahab_achievement_trigger +# exists = global_var:achieved_ahab_achievement +# } +# } +#} +# +## 17. Little William Marshal +#ep2_17_little_william_marshal_achievement = { +# possible = { +# exists = global_var:started_little_william_marshal_achievement +# +# } +# happened = { +# custom_description = { +# text = little_william_marshal_achievement_trigger +# exists = global_var:finished_little_william_marshal_achievement +# } +# } +#} +# +## 18. A True & Perfect Knight +#ep2_18_a_true_and_perfect_knight_achievement = { +# possible = { +# exists = global_var:started_a_true_and_perfect_knight_achievement +# +# } +# happened = { +# custom_description = { +# text = a_true_and_perfect_knight_achievement_trigger +# any_active_accolade = { +# accolade_rank >= 6 +# acclaimed_knight = { has_trait = faith_warrior } +# } +# } +# } +#} +# +## 19. A.E.I.O.U & Me +#ep2_19_a_e_i_o_u_and_me_achievement = { +# possible = { +# exists = global_var:started_a_e_i_o_u_and_me_achievement +# +# } +# happened = { +# custom_description = { +# text = a_e_i_o_u_and_me_achievement_trigger +# NOT = { exists = global_var:player_declared_war } +# has_title = title:k_austria +# dynasty ?= { +# has_variable = a_e_i_o_u_and_me_achievement_grand_wedding_tally +# var:a_e_i_o_u_and_me_achievement_grand_wedding_tally >= 5 +# } +# } +# } +#} +# +## 20. The Iron and Golden King +#ep2_20_the_iron_and_golden_king_achievement = { +# possible = { +# exists = global_var:started_the_iron_and_golden_king_achievement +# +# } +# happened = { +# custom_description = { +# text = the_iron_and_golden_king_achievement_trigger +# capital_county ?= { +# # Has any special mine. +# ## We let you have any province in the capital county for this. +# any_county_province = { county_has_any_special_mine_building_trigger = yes } +# # But then, we need to be stricter with some triggers. +# title_province = { +# # Has insanely high income. +# monthly_income >= 60 +# # Has heavy cavs. +# has_stationed_regiment_of_base_type = heavy_cavalry +# } +# } +# # Plus make sure you've got an amount: they can be instantly switched around, so we're not fussed where they are. +# number_maa_soldiers_of_base_type = { +# type = heavy_cavalry +# value >= 500 +# } +# } +# } +#} +# \ No newline at end of file diff --git a/common/achievements/ep3_achievements.txt b/common/achievements/ep3_achievements.txt new file mode 100644 index 00000000..95d706f0 --- /dev/null +++ b/common/achievements/ep3_achievements.txt @@ -0,0 +1,320 @@ +## 01. The Old Man of the Mountain +#ep3_01_the_old_man_of_the_mountain_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = the_old_man_of_the_mountain_achievement_trigger +# this = character:41702 +# exists = global_var:finished_the_old_man_of_the_mountain_achievement +# } +# } +#} +# +## 02. Band of Brothers +#ep3_02_band_of_brothers_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = band_of_brothers_trigger +# has_government = landless_adventurer_government +# any_courtier = { +# count >= 10 +# is_alive = yes +# } +# any_courtier = { +# count = all +# opinion = { +# target = root +# value >= 40 # sync with define:NDomicile|TEMPERAMENT_THRESHOLD_HIGH +# } +# } +# } +# } +#} +# +## 03. Mio Cid +#ep3_03_mio_cid_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = mio_cid_achievement_trigger +# this = character:107590 +# exists = global_var:finished_mio_cid_achievement +# } +# } +#} +# +## 04. Birthright +#ep3_04_birthright_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = birthright_achievement_trigger +# exists = global_var:finished_birthright_achievement +# } +# } +#} +# +## 05. Historically Inaccurate +#ep3_05_historically_inaccurate_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = historically_inaccurate_achievement_trigger +# exists = global_var:finished_historically_inaccurate_achievement +# } +# } +#} +# +## 06. Quantum Leap +#ep3_06_quantum_leap_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = quantum_leap_achievement_trigger +# exists = global_var:achievement_quantum_leap_count_tracker +# global_var:achievement_quantum_leap_count_tracker >= 5 +# } +# } +#} +# +## 07. Kingdom of Heaven +#ep3_07_kingdom_of_heaven_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = kingdom_of_heaven_achievement_trigger +# exists = global_var:finished_kingdom_of_heaven_achievement +# } +# } +#} +# +## 08. New Management, same as the Old Management +#ep3_08_new_management_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = new_management_achievement_trigger +# exists = global_var:finished_new_management_achievement +# } +# } +#} +# +## 09. Rags to Riches to Rags to Riches +#ep3_09_rags_to_riches_to_rags_to_riches_achievement = { +# possible = { +# has_global_variable = achievement_rags_to_riches_to_rags_to_riches_valid +# } +# happened = { +# custom_description = { +# text = rags_to_riches_to_rags_to_riches_achievement_trigger +# exists = global_var:finished_rags_to_riches_to_rags_to_riches_achievement +# } +# } +#} +# +## 10. Tamar Mepe +#ep3_10_tamar_mepe_achievement = { +# possible = { +# this = character:466517 +# } +# happened = { +# custom_description = { +# text = tamar_mepe_achievement_trigger +# this = character:466517 +# completely_controls = title:k_georgia +# completely_controls = title:k_armenia +# completely_controls = title:k_daylam +# } +# } +#} +# +## 11. Despoiler of Byzantium +#ep3_11_despoiler_of_byzantium_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = despoiler_of_byzantium_achievement_trigger +# has_title = title:e_latin_empire +# has_trait = despoiler_of_byzantium +# } +# } +#} +# +## 12. Chaos is a Ladder +#ep3_12_chaos_is_a_ladder_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = chaos_is_a_ladder_achievement_trigger +# government_allows = administrative +# house ?= { is_dominant_family = yes } +# } +# } +#} +# +## 13. Epic Paperwork +#ep3_13_epic_paperwork_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = epic_paperwork_achievement_trigger +# exists = global_var:achieved_epic_paperwork_achievement +# } +# } +#} +# +## 14. Against the Odds +#ep3_14_against_the_odds_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = against_the_odds_achievement_trigger +# exists = global_var:achieved_against_the_odds_achievement +# } +# } +#} +# +## 15. In Good Estate +#ep3_15_in_good_estate_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = in_good_estate_achievement_trigger +# domicile ?= { +# has_domicile_building_or_higher = estate_main_05 +# calc_true_if = { +# amount >= 6 +# has_domicile_building_or_higher = temple_small_01 +# has_domicile_building_or_higher = barracks_01 +# has_domicile_building_or_higher = watchtower_01 +# has_domicile_building_or_higher = guardhouse_01 +# has_domicile_building_or_higher = garden_01 +# has_domicile_building_or_higher = stable_01 +# has_domicile_building_or_higher = workshop_01 +# has_domicile_building_or_higher = storage_01 +# has_domicile_building_or_higher = market_01 +# has_domicile_building_or_higher = grazing_land_01 +# has_domicile_building_or_higher = grain_field_01 +# has_domicile_building_or_higher = vineyard_01 +# has_domicile_building_or_higher = olive_01 +# has_domicile_building_or_higher = silk_01 +# } +# } +# } +# } +#} +# +## 16. It's OK, I Got a Permit +#ep3_16_i_got_a_permit_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = i_got_a_permit_achievement_trigger +# exists = global_var:achieved_i_got_a_permit_achievement +# } +# } +#} +# +## 17. Despotic +#ep3_17_despotic_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = despotic_achievement_trigger +# top_liege != this +# liege ?= { +# may_appoint_co_emperors_trigger = yes +# has_diarchy_type = co_emperorship +# diarch ?= root +# } +# government_allows = administrative +# highest_held_title_tier = tier_kingdom +# } +# } +#} +# +## 18. Byzywork +#ep3_18_byzywork_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = byzywork_achievement_trigger +# highest_held_title_tier < tier_empire +# house ?= { +# any_house_member = { +# count >= 5 +# top_liege != this +# government_allows = administrative +# highest_held_title_tier >= tier_duchy +# top_liege = root.top_liege +# this != root +# } +# } +# } +# } +#} +# +## 19. Not Content to Serve +#ep3_19_not_content_to_serve_achievement = { +# possible = { +# +# OR = { +# this = character:34281 +# this = character:215009 +# } +# } +# happened = { +# custom_description = { +# text = not_content_to_serve_achievement_trigger +# has_title = title:e_byzantium +# } +# } +#} +# +## 20. Started from the Bottom now we're ERE +#ep3_20_started_from_the_bottom_now_were_ere_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = started_from_the_bottom_now_were_ere_achievement_trigger +# exists = global_var:started_from_the_bottom_now_were_ere_procure +# has_title = title:e_byzantium +# } +# } +#} +# \ No newline at end of file diff --git a/common/achievements/ep4_achievements.txt b/common/achievements/ep4_achievements.txt new file mode 100644 index 00000000..80e3c8d2 --- /dev/null +++ b/common/achievements/ep4_achievements.txt @@ -0,0 +1,293 @@ +## 01. Fishing in China +#ep4_01_fishing_in_china_achievement = { +# possible = { +# this = character:6878 +# } +# happened = { +# custom_description = { +# text = ep4_01_fishing_in_china_achievement_trigger +# this = character:6878 +# has_title = title:h_china +# } +# } +#} +# +## 02. The Heavenly Kingdom +#ep4_02_the_heavenly_kingdom_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = ep4_02_the_heavenly_kingdom_achievement_trigger +# has_title = title:h_china +# government_has_flag = government_is_celestial +# religion = religion:christianity_religion +# faith.religious_head ?= this +# } +# } +#} +# +## 03. Sword of Japan +#ep4_03_sword_of_japan_achievement = { +# possible = { +# exists = global_var:started_ep4_03_sword_of_japan_achievement +# } +# happened = { +# custom_description = { +# text = ep4_03_sword_of_japan_achievement_trigger +# exists = global_var:finished_ep4_03_sword_of_japan_achievement +# } +# } +#} +# +## 04. A Living God on Earth +#ep4_04_a_living_god_on_earth_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = ep4_04_a_living_god_on_earth_achievement_trigger +# government_has_flag = government_is_mandala +# piety_level >= 8 +# mandala_radiance_value >= 100 +# } +# } +#} +# +## 05. Grand Governor +#ep4_05_grand_governor_achievement = { +# possible = { +# exists = global_var:started_ep4_05_grand_governor_achievement +# } +# happened = { +# custom_description = { +# text = ep4_05_grand_governor_achievement_trigger +# government_has_flag = government_is_celestial +# tgp_is_any_minister = yes +# } +# } +#} +# +## 06. Mandate of Heaven +#ep4_06_mandate_of_heaven_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = ep4_06_mandate_of_heaven_achievement_trigger +# exists = global_var:finished_ep4_06_mandate_of_heaven_achievement_trigger +# } +# } +#} +# +## 07. Cut off the Head... and the Body will Follow +#ep4_07_cut_off_the_head_and_the_body_will_follow_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = ep4_07_cut_off_the_head_and_the_body_will_follow_achievement_trigger +# exists = global_var:finished_ep4_07_cut_off_the_head_and_the_body_will_follow_achievement +# } +# } +#} +# +## 08. Shōgun +#ep4_08_shogun_achievement = { +# possible = { +# this = character:japanese_minamoto_seiwa_10 +# } +# happened = { +# custom_description = { +# text = ep4_08_shogun_achievement_trigger +# exists = global_var:finished_ep4_08_shogun_achievement +# } +# } +#} +# +## 09. Devaraja +#ep4_09_devaraja_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = ep4_09_devaraja_achievement_trigger +# has_mandala_aspect_level_5_trigger = yes +# capital_province = { has_building_or_higher = mandala_capital_04 } +# } +# } +#} +# +## 10. Confucian Scholar +#ep4_10_confucian_scholar_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = ep4_10_confucian_scholar_achievement_trigger +# has_trait = confucian_education +# has_trait_xp = { +# trait = confucian_education +# value >= 100 +# } +# any_relation = { +# type = disciple +# count >= 5 +# } +# } +# } +#} +# +## 11. Bloc Politics +#ep4_11_bloc_politics_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = ep4_11_bloc_politics_achievement_trigger +# confederation ?= { +# has_cohesion = yes +# cohesion >= 100 +# } +# } +# } +#} +# +## 12. Upper-upper +#ep4_12_upper_upper_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = ep4_12_upper_upper_achievement_trigger +# merit_level >= 9 +# } +# } +#} +# +## 13. How it's done, done, done +#ep4_13_how_its_done_done_done_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = ep4_13_how_its_done_done_done_achievement_trigger +# exists = global_var:achieved_ep4_13_how_its_done_done_done_achievement +# } +# } +#} +# +## 14. Daits How You Do It +#ep4_14_daits_how_you_do_it_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = ep4_14_daits_how_you_do_it_achievement_trigger +# exists = global_var:achieved_ep4_14_daits_how_you_do_it_achievement +# } +# } +#} +# +## 15. Humble Beginnings +#ep4_15_humble_beginnings_achievement = { +# possible = { +# exists = global_var:started_ep4_15_humble_beginnings_achievement +# } +# happened = { +# custom_description = { +# text = ep4_15_humble_beginnings_achievement_trigger +# government_has_flag = government_is_mandala +# capital_province = { has_building_with_flag = mandala_capital_building } +# } +# } +#} +# +## 16. Flying Colors +#ep4_16_flying_colors_achievement = { +# possible = { +# exists = global_var:started_ep4_16_flying_colors_achievement +# } +# happened = { +# custom_description = { +# text = ep4_16_flying_colors_achievement_trigger +# tgp_passed_children_examination = yes +# tgp_passed_provincial_examination = yes +# tgp_passed_metropolitan_examination = yes +# tgp_passed_palace_examination = yes +# } +# } +#} +# +## 17. Highway of Ideas +#ep4_17_highway_of_ideas_achievement = { +# possible = { +# exists = global_var:started_ep4_17_highway_of_ideas_achievement +# } +# happened = { +# custom_description = { +# text = ep4_17_highway_of_ideas_achievement_trigger +# culture = { +# any_known_innovation = { +# has_innovation_parameter = silk_road_innovation_parameter +# } +# } +# } +# } +#} +# +## 18. Yes I need, I need my Samurai +#ep4_18_yes_i_need_my_samurai_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = ep4_18_yes_i_need_my_samurai_achievement_trigger +# exists = global_var:achieved_ep4_18_yes_i_need_my_samurai_achievement +# } +# } +#} +# +## 19. Stamp of Approval +#ep4_19_stamp_of_approval_achievement = { +# possible = { +# exists = global_var:started_ep4_19_stamp_of_approval_achievement +# } +# happened = { +# custom_description = { +# text = ep4_19_stamp_of_approval_achievement_trigger +# top_liege.primary_title = title:h_china +# OR = { +# tgp_passed_children_examination = yes +# tgp_passed_provincial_examination = yes +# tgp_passed_metropolitan_examination = yes +# tgp_passed_palace_examination = yes +# } +# } +# } +#} +# +## 20. Promised Land +#ep4_20_promised_land_achievement = { +# possible = { +# +# } +# happened = { +# custom_description = { +# text = ep4_20_promised_land_achievement_trigger +# exists = global_var:achieved_ep4_20_promised_land_achievement +# } +# } +#} +# \ No newline at end of file diff --git a/common/achievements/fp1_achievements.txt b/common/achievements/fp1_achievements.txt new file mode 100644 index 00000000..160960a5 --- /dev/null +++ b/common/achievements/fp1_achievements.txt @@ -0,0 +1,172 @@ +#fp1_01_achievement = { +# possible = { +# exists = global_var:started_far_from_home_achievement +# +# NOT = { +# is_target_in_global_variable_list = { +# name = unavailable_achievements +# target = flag:rd_character_blocked_far_from_home_achievement +# } +# } +# } +# happened = { +# custom_description = { +# text = miklagardariki_achievement_trigger +# fp1_achievement_culture_plus_religion_norse_trigger = yes +# capital_county.title_province = { geographical_region = dlc_fp1_achievement_far_from_home } +# } +# } +#} +# +#fp1_02_achievement = { +# possible = { +# exists = global_var:started_miklagardariki_achievement +# +# NOT = { +# is_target_in_global_variable_list = { +# name = unavailable_achievements +# target = flag:rd_character_blocked_miklagardariki_achievement +# } +# } +# } +# happened = { +# custom_description = { +# text = miklagardariki_achievement_trigger +# fp1_achievement_culture_plus_religion_norse_trigger = yes +# completely_controls = title:k_thessalonika +# highest_held_title_tier >= tier_empire +# NOT = { +# any_held_title = { this = title:e_byzantium } +# } +# } +# } +#} +# +#fp1_03_achievement = { +# possible = { +# exists = global_var:started_canute_the_greater_achievement +# +# } +# happened = { +# custom_description = { +# text = canute_the_greater_achievement_trigger +# has_character_flag = canute_the_greater_achievement_flag +# } +# } +#} +# +#fp1_04_achievement = { +# possible = { +# exists = global_var:started_king_of_all_the_isles_achievement +# +# # Realm size cannot ever go over a certain amount. +# realm_size <= 80 +# } +# happened = { +# custom_description = { +# text = king_of_all_the_isles_achievement_trigger +# fp1_achievement_culture_plus_religion_norse_trigger = yes +# completely_controls_region = dlc_fp1_achievement_king_of_all_the_isles +# } +# } +#} +# +#fp1_05_achievement = { +# possible = { +# exists = global_var:started_faster_than_the_fox_achievement +# +# NOT = { +# is_target_in_global_variable_list = { +# name = unavailable_achievements +# target = flag:rd_character_blocked_faster_than_the_fox_achievement +# } +# } +# } +# happened = { +# custom_description = { +# text = faster_than_the_fox_achievement_trigger +# fp1_achievement_culture_plus_religion_norse_trigger = yes +# completely_controls = title:k_sicily +# top_liege = this +# current_date < 1047.1.1 +# } +# } +#} +# +#fp1_06_achievement = { +# possible = { +# exists = global_var:started_volva_achievement +# +# } +# happened = { +# custom_description = { +# text = volva_achievement_trigger +# fp1_achievement_culture_plus_religion_norse_trigger = yes +# has_character_flag = volva_achievement_flag +# } +# } +#} +# +#fp1_07_achievement = { +# possible = { +# exists = global_var:started_saga_in_stone_achievement +# +# } +# happened = { +# custom_description = { +# text = saga_in_stone_achievement_trigger +# dynasty = { +# exists = var:saga_in_stone_achievement_tally +# var:saga_in_stone_achievement_tally >= 100 +# } +# } +# } +#} +# +#fp1_08_achievement = { +# possible = { +# exists = global_var:started_first_of_the_crusader_kings_achievement +# +# NOT = { exists = global_var:had_first_catholic_crusade } +# } +# happened = { +# custom_description = { +# text = first_of_the_crusader_kings_achievement_trigger +# has_character_flag = first_of_the_crusader_kings_achievement_flag +# fp1_achievement_culture_norse_trigger = yes +# } +# } +#} +# +#fp1_09_achievement = { +# possible = { +# exists = global_var:started_vladimirs_second_choice_achievement +# +# } +# happened = { +# custom_description = { +# text = fans_of_ibn_fadlan_achievement_trigger +# fp1_achievement_culture_norse_or_rus_trigger = yes +# religion = religion:islam_religion +# any_county_in_region = { +# region = dlc_fp1_achievement_vladimirs_second_choice +# count = all +# religion = religion:islam_religion +# } +# } +# } +#} +# +#fp1_10_achievement = { +# possible = { +# exists = global_var:started_a_dangerous_business_achievement +# +# } +# happened = { +# custom_description = { +# text = a_dangerous_business_achievement_trigger +# has_character_flag = a_dangerous_business_achievement_flag +# } +# } +#} +# \ No newline at end of file diff --git a/common/achievements/fp2_achievements.txt b/common/achievements/fp2_achievements.txt new file mode 100644 index 00000000..a6172152 --- /dev/null +++ b/common/achievements/fp2_achievements.txt @@ -0,0 +1,166 @@ +##fp2_historys_best_friends = { # History's Best Friend +## possible = { +## +## } +## happened = { +## custom_description = { +## text = fp2_historys_best_friends_trigger +## exists = global_var:fp2_historys_best_friends_achievement_unlocked +## } +## } +##} +## +##fp2_basque_in_my_glory = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = fp2_basque_in_my_glory_trigger +## exists = global_var:fp2_basque_in_my_glory_achievement_unlocked +## } +## } +##} +## +##fp2_friendship_is_magic = { +## possible = { +## +## fp2_character_involved_in_struggle_trigger = yes +## } +## happened = { +## custom_description = { +## text = fp2_friendship_is_magic_trigger +## exists = global_var:fp2_friendship_is_magic_achievement_unlocked +## } +## } +##} +## +##fp2_high_stakes_chess = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = fp2_high_stakes_chess_trigger +## exists = global_var:fp2_high_stakes_chess_achievement_unlocked +## } +## } +##} +## +##fp2_iberia_or_iberia = { +## possible = { +## +## NOT = { +## is_target_in_global_variable_list = { +## name = unavailable_achievements +## target = flag:rd_character_blocked_iberia_or_iberia_achievement +## } +## } +## } +## happened = { +## custom_description = { +## text = fp2_iberia_or_iberia_trigger +## is_ai = no +## culture = { has_cultural_pillar = heritage_iberian } +## completely_controls_region = dlc_fp2_caucasian_iberia # custom_ireland can be used instead of dlc_fp2_caucasian_iberia for testing, otherwise use debug.411 +## } +## } +##} +## +##fp2_andalusian_inquisition = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = fp2_andalusian_inquisition_trigger +## is_ai = no +## any_county_in_region = { +## region = world_europe_west_iberia +## count = all +## faith = faith:mozarabic_church +## } +## } +## } +##} +## +##fp2_iberian_hostilities = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = fp2_iberian_hostilities_trigger +## exists = global_var:fp2_iberian_hostilities_achievement_unlocked +## } +## } +##} +## +##fp2_iberian_conciliation = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = fp2_iberian_conciliation_trigger +## exists = global_var:fp2_iberian_conciliation_achievement_unlocked +## } +## } +##} +## +##fp2_iberian_compromise = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = fp2_iberian_compromise_trigger +## exists = global_var:fp2_iberian_compromise_achievement_unlocked +## } +## } +##} +## +##fp2_holiday_in_iberia = { +## possible = { +## +## exists = global_var:fp2_holiday_in_iberia_achievement_unlocked +## } +## happened = { +## custom_description = { +## text = fp2_holiday_in_iberia_trigger +## global_var:fp2_holiday_in_iberia_achievement_unlocked = yes +## } +## } +##} +## +##fp2_el_cid_achievement = { +## possible = { +## +## game_start_date > 1045 +## NOT = { +## is_target_in_global_variable_list = { +## name = unavailable_achievements +## target = flag:rd_character_blocked_el_cid_achievement +## } +## } +## } +## happened = { +## custom_description = { +## text = fp2_el_cid_achievement_trigger +## exists = global_var:fp2_el_cid_achievement_unlocked +## } +## } +##} +## +## +### fp2_00_achievement = { +### possible = { +### +### } +### happened = { +### custom_description = { +### text = fp2_00_achievement_trigger +### # +### } +### } +### } \ No newline at end of file diff --git a/common/achievements/fp3_achievements.txt b/common/achievements/fp3_achievements.txt new file mode 100644 index 00000000..b12cdf30 --- /dev/null +++ b/common/achievements/fp3_achievements.txt @@ -0,0 +1,167 @@ +##################################### +### FP3 Achievements +### Ideation by The Thalassic Ship +### Implementation by Hugo Cortell +##################################### +## +### fp3_00_achievement = { +### possible = { +### +### } +### happened = { +### custom_description = { +### text = fp3_00_achievement_trigger +### # +### } +### } +### } +## +##fp3_rich_in_diversity_achievement = { +## possible = { } +## happened = { +## custom_description = { +## text = fp3_rich_in_diversity_achievement_trigger +## is_ai = no +## faith = { +## OR = { +## has_doctrine = tenet_tax_nonbelievers +## has_doctrine = special_doctrine_jizya +## } +## } +## any_vassal = { +## faith != root.faith +## count >= 10 +## } +## } +## } +##} +## +##fp3_darius_revenge_achievement = { +## possible = { } +## happened = { +## custom_description = { +## text = fp3_darius_revenge_achievement_trigger +## is_ai = no +## has_title = title:e_persia +## has_title = title:k_thessalonika +## has_title = title:k_hellas +## culture = { has_cultural_pillar = heritage_iranian } +## } +## } +##} +## +##fp3_mulct_them_dry_achievement = { +## possible = { } +## happened = { +## custom_description = { +## text = fp3_mulct_them_dry_achievement_trigger +## has_character_flag = fp3_mulct_them_dry_achievement_flag +## } +## } +##} +## +##fp3_the_umma_strikes_back_achievement = { +## possible = { +## +## exists = global_var:fp3_the_umma_strikes_back_achievement_tracker +## } +## happened = { +## custom_description = { +## text = fp3_the_umma_strikes_back_achievement_trigger +## is_ai = no +## exists = global_var:fp3_the_umma_strikes_back_achievement_tracker +## has_title = title:e_arabia +## has_title = title:d_sunni +## faith = { +## has_doctrine = muhammad_succession_sunni_doctrine +## prev = religious_head +## } +## } +## } +##} +## +##fp3_royal_flush_achievement = { # Achievement for commiting sassasinations +## possible = { } +## happened = { +## custom_description = { +## text = fp3_royal_flush_achievement_trigger +## is_ai = no +## faith = { +## has_doctrine = tenet_fp3_fedayeen +## } +## has_character_flag = fp3_assassinated_tier1 +## has_character_flag = fp3_assassinated_tier2 +## has_character_flag = fp3_assassinated_tier3 +## } +## } +##} +## +##fp3_fiscal_res_achievement = { +## possible = { } +## happened = { +## custom_description = { +## text = fp3_fiscal_res_achievement_trigger +## is_ai = no +## any_tax_collector = { +## count = 5 # Use "all" for dynamic, 5 is max and makes achi harder +## tax_collector_aptitude = { +## target = clan_tax_slot +## value >= 4 +## } +## } +## } +## } +##} +## +##fp3_abassid_strong_achievement = { +## possible = { +## +## exists = struggle:persian_struggle +## } +## happened = { +## custom_description = { +## text = fp3_abassid_strong_achievement_trigger +## has_character_flag = fp3_abassid_strong_achievement_unlocked +## } +## } +##} +## +##fp3_challenger_caliphate_achievement = { +## possible = { +## +## exists = struggle:persian_struggle +## } +## happened = { +## custom_description = { +## text = fp3_challenger_caliphate_achievement_trigger +## has_character_flag = fp3_challenger_caliphate_achievement_unlocked +## } +## } +##} +## +##fp3_vassalize_the_caliph_achievement = { +## possible = { +## +## exists = struggle:persian_struggle +## } +## happened = { +## custom_description = { +## text = fp3_vassalize_the_caliph_achievement_trigger +## has_character_flag = fp3_vassalize_the_caliph_achievement_unlocked +## } +## } +##} +## +##fp3_rekindle_iran_achievement = { +## possible = { +## +## exists = struggle:persian_struggle +## } +## happened = { +## custom_description = { +## text = fp3_rekindle_iran_achievement_trigger +## has_character_flag = fp3_rekindle_iran_achievement_unlocked +## } +## } +##} +## \ No newline at end of file diff --git a/common/achievements/mpo_achievements.txt b/common/achievements/mpo_achievements.txt new file mode 100644 index 00000000..2f176fe7 --- /dev/null +++ b/common/achievements/mpo_achievements.txt @@ -0,0 +1,143 @@ +###01. The Stallion that Mounts the World +##mpo_the_stallion_that_mounts_the_world_achievement = { +## possible = { +## exists = global_var:started_the_stallion_that_mounts_the_world_achievement +## } +## happened = { +## custom_description = { +## text = mpo_the_stallion_that_mounts_the_world_achievement_trigger +## NOT = { +## any_independent_ruler = { +## this != root +## is_landed = yes +## is_tributary = no +## } +## } +## } +## } +##} +## +###02. Nobody's Business +##mpo_nobodys_business_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = mpo_nobodys_business_achievement_trigger +## exists = global_var:mpo_nobodys_business_achievement_unlocked +## } +## } +##} +## +###03. Tribute Band +##mpo_tribute_band_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = mpo_tribute_band_achievement_trigger +## any_tributary = { +## count >= 30 +## } +## } +## } +##} +## +###04. This Chinggis Everything +##mpo_this_chinggis_everything_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = mpo_this_chinggis_everything_achievement_trigger +## has_trait = greatest_of_khans +## } +## } +##} +## +###05. Steppe by Steppe +##mpo_steppe_by_steppe_achievement = { +## possible = { +## exists = global_var:started_steppe_by_steppe_achievement +## } +## happened = { +## custom_description = { +## text = mpo_steppe_by_steppe_achievement_trigger +## exists = global_var:mpo_steppe_by_steppe_achievement_unlocked +## } +## } +##} +## +###06. In Xanadu +##mpo_in_xanadu_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = mpo_in_xanadu_achievement_trigger +## any_sub_realm_county = { +## any_county_province = { +## has_building_or_higher = pleasure_dome +## } +## } +## } +## } +##} +## +###07. Settling In +##mpo_settling_in_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = mpo_settling_in_achievement_trigger +## exists = global_var:mpo_settling_in_achievement_unlocked +## } +## } +##} +## +###08. Blood of my Blood +##mpo_blood_of_my_blood_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = mpo_blood_of_my_blood_achievement_trigger +## any_relation = { +## type = blood_brother +## } +## } +## } +##} +## +###9. Con-fed-up +##mpo_confedup_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = mpo_confedup_achievement_trigger +## exists = global_var:mpo_confedup_achievement_unlocked +## } +## } +##} +## +###10. Shut Up, Nerge +##mpo_shut_up_nerge_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = mpo_shut_up_nerge_achievement_trigger +## exists = global_var:mpo_shut_up_nerge_achievement_unlocked +## } +## } +##} \ No newline at end of file diff --git a/common/achievements/msgrdk_achievements.json b/common/achievements/msgrdk_achievements.json new file mode 100644 index 00000000..56de47ef --- /dev/null +++ b/common/achievements/msgrdk_achievements.json @@ -0,0 +1,757 @@ +{ + "mapping": [ + { + "pdx_id": "until_death_do_us_part_achievement", + "xbla_id": "1" + }, + { + "pdx_id": "way_of_life_achievement", + "xbla_id": "2" + }, + { + "pdx_id": "a_legacy_to_last_the_ages_achievement", + "xbla_id": "3" + }, + { + "pdx_id": "a_house_of_my_own_achievement", + "xbla_id": "4" + }, + { + "pdx_id": "dreadful_ruler_achievement", + "xbla_id": "5" + }, + { + "pdx_id": "stressful_situation_achievement", + "xbla_id": "6" + }, + { + "pdx_id": "not_so_feudal_system_achievement", + "xbla_id": "7" + }, + { + "pdx_id": "the_succession_is_safe_achievement", + "xbla_id": "8" + }, + { + "pdx_id": "almost_there_achievement", + "xbla_id": "9" + }, + { + "pdx_id": "last_count_first_king_achievement", + "xbla_id": "10" + }, + { + "pdx_id": "prolific_achievement", + "xbla_id": "11" + }, + { + "pdx_id": "a_name_known_throughout_the_world_achievement", + "xbla_id": "12" + }, + { + "pdx_id": "end_of_an_era_achievement", + "xbla_id": "13" + }, + { + "pdx_id": "turning_to_diamonds_achievement", + "xbla_id": "14" + }, + { + "pdx_id": "reconquista_achievement", + "xbla_id": "15" + }, + { + "pdx_id": "seven_holy_cities_achievement", + "xbla_id": "16" + }, + { + "pdx_id": "frankokratia_achievement", + "xbla_id": "17" + }, + { + "pdx_id": "celebrity_achievement", + "xbla_id": "18" + }, + { + "pdx_id": "saint_achievement", + "xbla_id": "19" + }, + { + "pdx_id": "keeping_it_in_the_family_achievement", + "xbla_id": "20" + }, + { + "pdx_id": "non_nobis_domine_achievement", + "xbla_id": "21" + }, + { + "pdx_id": "trapped_in_the_web_achievement", + "xbla_id": "22" + }, + { + "pdx_id": "followed_by_shadows_achievement", + "xbla_id": "23" + }, + { + "pdx_id": "what_nepotism_achievement", + "xbla_id": "24" + }, + { + "pdx_id": "rise_from_the_ashes_achievement", + "xbla_id": "25" + }, + { + "pdx_id": "the_emerald_isle_achievement", + "xbla_id": "26" + }, + { + "pdx_id": "from_rags_to_riches_achievement", + "xbla_id": "27" + }, + { + "pdx_id": "give_a_dog_a_bone_achievement", + "xbla_id": "28" + }, + { + "pdx_id": "al_andalus_achievement", + "xbla_id": "29" + }, + { + "pdx_id": "wily_as_the_fox_achievement", + "xbla_id": "30" + }, + { + "pdx_id": "sibling_rivalry_achievement", + "xbla_id": "31" + }, + { + "pdx_id": "blood_eagle_achievement", + "xbla_id": "32" + }, + { + "pdx_id": "kings_to_the_seventh_generation_achievement", + "xbla_id": "33" + }, + { + "pdx_id": "norman_yoke_achievement", + "xbla_id": "34" + }, + { + "pdx_id": "royal_dignity_achievement", + "xbla_id": "35" + }, + { + "pdx_id": "going_places_achievement", + "xbla_id": "36" + }, + { + "pdx_id": "land_of_the_rus_achievement", + "xbla_id": "37" + }, + { + "pdx_id": "above_god_achievement", + "xbla_id": "38" + }, + { + "pdx_id": "paragon_of_virtue_achievement", + "xbla_id": "39" + }, + { + "pdx_id": "the_things_love_does_for_us_achievement", + "xbla_id": "40" + }, + { + "pdx_id": "fine_print_achievement", + "xbla_id": "41" + }, + { + "pdx_id": "know_your_place_achievement", + "xbla_id": "42" + }, + { + "pdx_id": "monumental_achievement", + "xbla_id": "43" + }, + { + "pdx_id": "its_not_a_cult_achievement", + "xbla_id": "44" + }, + { + "pdx_id": "the_things_we_do_for_love_achievement", + "xbla_id": "45" + }, + { + "pdx_id": "an_unfortunate_accident_achievement", + "xbla_id": "46" + }, + { + "pdx_id": "death_did_us_part_achievement", + "xbla_id": "47" + }, + { + "pdx_id": "for_the_faith_achievement", + "xbla_id": "48" + }, + { + "pdx_id": "bad_blood_achievement", + "xbla_id": "49" + }, + { + "pdx_id": "seductive_achievement", + "xbla_id": "50" + }, + { + "pdx_id": "the_emperors_new_clothes_achievement", + "xbla_id": "51" + }, + { + "pdx_id": "a_perfect_circle_achievement", + "xbla_id": "52" + }, + { + "pdx_id": "carolingian_consolidation_achievement", + "xbla_id": "53" + }, + { + "pdx_id": "moving_up_in_the_world_achievement", + "xbla_id": "54" + }, + { + "pdx_id": "beacon_of_progress_achievement", + "xbla_id": "55" + }, + { + "pdx_id": "mother_of_us_all_achievement", + "xbla_id": "56" + }, + { + "pdx_id": "fp1_01_achievement", + "xbla_id": "57" + }, + { + "pdx_id": "fp1_02_achievement", + "xbla_id": "58" + }, + { + "pdx_id": "fp1_03_achievement", + "xbla_id": "59" + }, + { + "pdx_id": "fp1_04_achievement", + "xbla_id": "60" + }, + { + "pdx_id": "fp1_05_achievement", + "xbla_id": "61" + }, + { + "pdx_id": "fp1_06_achievement", + "xbla_id": "62" + }, + { + "pdx_id": "fp1_07_achievement", + "xbla_id": "63" + }, + { + "pdx_id": "fp1_08_achievement", + "xbla_id": "64" + }, + { + "pdx_id": "fp1_09_achievement", + "xbla_id": "65" + }, + { + "pdx_id": "fp1_10_achievement", + "xbla_id": "66" + }, + { + "pdx_id": "ep1_01_achievement", + "xbla_id": "67" + }, + { + "pdx_id": "ep1_02_achievement", + "xbla_id": "68" + }, + { + "pdx_id": "ep1_03_achievement", + "xbla_id": "69" + }, + { + "pdx_id": "ep1_04_achievement", + "xbla_id": "70" + }, + { + "pdx_id": "ep1_05_achievement", + "xbla_id": "71" + }, + { + "pdx_id": "ep1_06_achievement", + "xbla_id": "72" + }, + { + "pdx_id": "ep1_07_achievement", + "xbla_id": "73" + }, + { + "pdx_id": "ep1_08_achievement", + "xbla_id": "74" + }, + { + "pdx_id": "ep1_09_achievement", + "xbla_id": "75" + }, + { + "pdx_id": "ep1_10_achievement", + "xbla_id": "76" + }, + { + "pdx_id": "ep1_11_achievement", + "xbla_id": "77" + }, + { + "pdx_id": "ep1_12_achievement", + "xbla_id": "78" + }, + { + "pdx_id": "ep1_13_achievement", + "xbla_id": "79" + }, + { + "pdx_id": "ep1_14_achievement", + "xbla_id": "80" + }, + { + "pdx_id": "ep1_15_achievement", + "xbla_id": "81" + }, + { + "pdx_id": "ep1_16_achievement", + "xbla_id": "82" + }, + { + "pdx_id": "ep1_17_achievement", + "xbla_id": "83" + }, + { + "pdx_id": "ep1_18_achievement", + "xbla_id": "84" + }, + { + "pdx_id": "ep1_19_achievement", + "xbla_id": "85" + }, + { + "pdx_id": "ep1_20_achievement", + "xbla_id": "86" + }, + { + "pdx_id": "fp2_historys_best_friends", + "xbla_id": "87" + }, + { + "pdx_id": "fp2_basque_in_my_glory", + "xbla_id": "88" + }, + { + "pdx_id": "fp2_friendship_is_magic", + "xbla_id": "89" + }, + { + "pdx_id": "fp2_high_stakes_chess", + "xbla_id": "90" + }, + { + "pdx_id": "fp2_iberia_or_iberia", + "xbla_id": "91" + }, + { + "pdx_id": "fp2_andalusian_inquisition", + "xbla_id": "92" + }, + { + "pdx_id": "fp2_iberian_hostilities", + "xbla_id": "93" + }, + { + "pdx_id": "fp2_iberian_conciliation", + "xbla_id": "94" + }, + { + "pdx_id": "fp2_iberian_compromise", + "xbla_id": "95" + }, + { + "pdx_id": "fp2_holiday_in_iberia", + "xbla_id": "96" + }, + { + "pdx_id": "fp2_el_cid_achievement", + "xbla_id": "97" + }, + { + "pdx_id": "ep2_01_the_grandest_tour_achievement", + "xbla_id": "98" + }, + { + "pdx_id": "ep2_02_your_eternal_reward_achievement", + "xbla_id": "99" + }, + { + "pdx_id": "ep2_03_imperial_march_achievement", + "xbla_id": "100" + }, + { + "pdx_id": "ep2_04_black_dinner_achievement", + "xbla_id": "101" + }, + { + "pdx_id": "ep2_05_there_and_back_again_achievement", + "xbla_id": "102" + }, + { + "pdx_id": "ep2_06_the_very_best_achievement", + "xbla_id": "103" + }, + { + "pdx_id": "ep2_07_like_no_one_ever_was_achievement", + "xbla_id": "104" + }, + { + "pdx_id": "ep2_08_a_thousand_and_one_nights_achievement", + "xbla_id": "105" + }, + { + "pdx_id": "ep2_09_a_knights_tale_achievement", + "xbla_id": "106" + }, + { + "pdx_id": "ep2_10_hunting_accident_achievement", + "xbla_id": "107" + }, + { + "pdx_id": "ep2_11_lions_and_tigers_and_bears_oh_my_achievement", + "xbla_id": "108" + }, + { + "pdx_id": "ep2_12_fly_my_pretty_achievement", + "xbla_id": "109" + }, + { + "pdx_id": "ep2_13_pathway_to_heaven_achievement", + "xbla_id": "110" + }, + { + "pdx_id": "ep2_14_sir_lance_a_lot_achievement", + "xbla_id": "111" + }, + { + "pdx_id": "ep2_15_im_in_my_elements_achievement", + "xbla_id": "112" + }, + { + "pdx_id": "ep2_16_ahab_achievement", + "xbla_id": "113" + }, + { + "pdx_id": "ep2_17_little_william_marshal_achievement", + "xbla_id": "114" + }, + { + "pdx_id": "ep2_18_a_true_and_perfect_knight_achievement", + "xbla_id": "115" + }, + { + "pdx_id": "ep2_19_a_e_i_o_u_and_me_achievement", + "xbla_id": "116" + }, + { + "pdx_id": "ep2_20_the_iron_and_golden_king_achievement", + "xbla_id": "117" + }, + { + "pdx_id": "fp3_rich_in_diversity_achievement", + "xbla_id": "118" + }, + { + "pdx_id": "fp3_abassid_strong_achievement", + "xbla_id": "119" + }, + { + "pdx_id": "fp3_royal_flush_achievement", + "xbla_id": "120" + }, + { + "pdx_id": "fp3_rekindle_iran_achievement", + "xbla_id": "121" + }, + { + "pdx_id": "fp3_challenger_caliphate_achievement", + "xbla_id": "122" + }, + { + "pdx_id": "fp3_vassalize_the_caliph_achievement", + "xbla_id": "123" + }, + { + "pdx_id": "fp3_mulct_them_dry_achievement", + "xbla_id": "124" + }, + { + "pdx_id": "fp3_fiscal_res_achievement", + "xbla_id": "125" + }, + { + "pdx_id": "fp3_the_umma_strikes_back_achievement", + "xbla_id": "126" + }, + { + "pdx_id": "fp3_darius_revenge_achievement", + "xbla_id": "127" + }, + { + "pdx_id": "ce1_not_today_achievement", + "xbla_id": "128" + }, + { + "pdx_id": "ce1_divine_right_achievement", + "xbla_id": "129" + }, + { + "pdx_id": "ce1_youll_never_take_me_alive_achievement", + "xbla_id": "130" + }, + { + "pdx_id": "ce1_the_pharaoh_islands_achievement", + "xbla_id": "131" + }, + { + "pdx_id": "ce1_canonized_achievement", + "xbla_id": "132" + }, + { + "pdx_id": "ce1_upward_mobility_achievement", + "xbla_id": "133" + }, + { + "pdx_id": "ce1_cant_touch_this_achievement", + "xbla_id": "134" + }, + { + "pdx_id": "ce1_legendary_achievement", + "xbla_id": "135" + }, + { + "pdx_id": "ce1_f_achievement", + "xbla_id": "136" + }, + { + "pdx_id": "ce1_local_legend_achievement", + "xbla_id": "137" + }, + { + "pdx_id": "ce1_neverending_story_achievement", + "xbla_id": "138" + }, + { + "pdx_id": "ep3_01_the_old_man_of_the_mountain_achievement", + "xbla_id": "139" + }, + { + "pdx_id": "ep3_02_band_of_brothers_achievement", + "xbla_id": "140" + }, + { + "pdx_id": "ep3_03_mio_cid_achievement", + "xbla_id": "141" + }, + { + "pdx_id": "ep3_04_birthright_achievement", + "xbla_id": "142" + }, + { + "pdx_id": "ep3_05_historically_inaccurate_achievement", + "xbla_id": "143" + }, + { + "pdx_id": "ep3_06_quantum_leap_achievement", + "xbla_id": "144" + }, + { + "pdx_id": "ep3_07_kingdom_of_heaven_achievement", + "xbla_id": "145" + }, + { + "pdx_id": "ep3_08_new_management_achievement", + "xbla_id": "146" + }, + { + "pdx_id": "ep3_09_rags_to_riches_to_rags_to_riches_achievement", + "xbla_id": "147" + }, + { + "pdx_id": "ep3_10_tamar_mepe_achievement", + "xbla_id": "148" + }, + { + "pdx_id": "ep3_11_despoiler_of_byzantium_achievement", + "xbla_id": "149" + }, + { + "pdx_id": "ep3_12_chaos_is_a_ladder_achievement", + "xbla_id": "150" + }, + { + "pdx_id": "ep3_13_epic_paperwork_achievement", + "xbla_id": "151" + }, + { + "pdx_id": "ep3_14_against_the_odds_achievement", + "xbla_id": "152" + }, + { + "pdx_id": "ep3_15_in_good_estate_achievement", + "xbla_id": "153" + }, + { + "pdx_id": "ep3_16_i_got_a_permit_achievement", + "xbla_id": "154" + }, + { + "pdx_id": "ep3_17_despotic_achievement", + "xbla_id": "155" + }, + { + "pdx_id": "ep3_18_byzywork_achievement", + "xbla_id": "156" + }, + { + "pdx_id": "ep3_19_not_content_to_serve_achievement", + "xbla_id": "157" + }, + { + "pdx_id": "ep3_20_started_from_the_bottom_now_were_ere_achievement", + "xbla_id": "158" + }, + { + "pdx_id": "mpo_the_stallion_that_mounts_the_world_achievement", + "xbla_id": "159" + }, + { + "pdx_id": "mpo_nobodys_business_achievement", + "xbla_id": "160" + }, + { + "pdx_id": "mpo_tribute_band_achievement", + "xbla_id": "161" + }, + { + "pdx_id": "mpo_this_chinggis_everything_achievement", + "xbla_id": "162" + }, + { + "pdx_id": "mpo_steppe_by_steppe_achievement", + "xbla_id": "163" + }, + { + "pdx_id": "mpo_in_xanadu_achievement", + "xbla_id": "164" + }, + { + "pdx_id": "mpo_settling_in_achievement", + "xbla_id": "165" + }, + { + "pdx_id": "mpo_blood_of_my_blood_achievement", + "xbla_id": "166" + }, + { + "pdx_id": "mpo_confedup_achievement", + "xbla_id": "167" + }, + { + "pdx_id": "mpo_shut_up_nerge_achievement", + "xbla_id": "168" + }, + { + "pdx_id": "ep4_01_fishing_in_china_achievement", + "xbla_id": "169" + }, + { + "pdx_id": "ep4_02_the_heavenly_kingdom_achievement", + "xbla_id": "170" + }, + { + "pdx_id": "ep4_03_sword_of_japan_achievement", + "xbla_id": "171" + }, + { + "pdx_id": "ep4_04_a_living_god_on_earth_achievement", + "xbla_id": "172" + }, + { + "pdx_id": "ep4_05_grand_governor_achievement", + "xbla_id": "173" + }, + { + "pdx_id": "ep4_06_mandate_of_heaven_achievement", + "xbla_id": "174" + }, + { + "pdx_id": "ep4_07_cut_off_the_head_and_the_body_will_follow_achievement", + "xbla_id": "175" + }, + { + "pdx_id": "ep4_08_shogun_achievement", + "xbla_id": "176" + }, + { + "pdx_id": "ep4_09_devaraja_achievement", + "xbla_id": "177" + }, + { + "pdx_id": "ep4_10_confucian_scholar_achievement", + "xbla_id": "178" + }, + { + "pdx_id": "ep4_11_bloc_politics_achievement", + "xbla_id": "179" + }, + { + "pdx_id": "ep4_12_upper_upper_achievement", + "xbla_id": "180" + }, + { + "pdx_id": "ep4_13_how_its_done_done_done_achievement", + "xbla_id": "181" + }, + { + "pdx_id": "ep4_14_daits_how_you_do_it_achievement", + "xbla_id": "182" + }, + { + "pdx_id": "ep4_15_humble_beginnings_achievement", + "xbla_id": "183" + }, + { + "pdx_id": "ep4_16_flying_colors_achievement", + "xbla_id": "184" + }, + { + "pdx_id": "ep4_17_highway_of_ideas_achievement", + "xbla_id": "185" + }, + { + "pdx_id": "ep4_18_yes_i_need_my_samurai_achievement", + "xbla_id": "186" + }, + { + "pdx_id": "ep4_19_stamp_of_approval_achievement", + "xbla_id": "187" + }, + { + "pdx_id": "ep4_20_promised_land_achievement", + "xbla_id": "188" + } + + ] +} diff --git a/common/achievements/standard_achievements.txt b/common/achievements/standard_achievements.txt new file mode 100644 index 00000000..462d6698 --- /dev/null +++ b/common/achievements/standard_achievements.txt @@ -0,0 +1,1019 @@ +##until_death_do_us_part_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = until_death_do_us_part_achievement_trigger +## has_character_flag = achievement_until_death_do_us_part_flag +## } +## } +##} +## +##way_of_life_achievement = { +## possible = { +## NOR = { +## AND = { +## has_perk = diplomat_perk +## has_perk = august_perk +## has_perk = family_man_perk +## } +## AND = { +## has_perk = schemer_perk +## has_perk = seducer_perk +## has_perk = torturer_perk +## } +## AND = { +## has_perk = whole_of_body_perk +## has_perk = scholar_perk +## has_perk = theologian_perk +## } +## AND = { +## has_perk = strategist_perk +## has_perk = overseer_perk +## has_perk = gallant_perk +## } +## AND = { +## has_perk = avaricious_perk +## has_perk = architect_perk +## has_perk = administrator_perk +## } +## } +## } +## happened = { +## custom_description = { +## text = way_of_life_achievement_trigger +## OR = { +## AND = { +## has_perk = diplomat_perk +## has_perk = august_perk +## has_perk = family_man_perk +## } +## AND = { +## has_perk = schemer_perk +## has_perk = seducer_perk +## has_perk = torturer_perk +## } +## AND = { +## has_perk = whole_of_body_perk +## has_perk = scholar_perk +## has_perk = theologian_perk +## } +## AND = { +## has_perk = strategist_perk +## has_perk = overseer_perk +## has_perk = gallant_perk +## } +## AND = { +## has_perk = avaricious_perk +## has_perk = architect_perk +## has_perk = administrator_perk +## } +## } +## } +## } +##} +## +##a_legacy_to_last_the_ages_achievement = { +## possible = { +## dynasty = { +## NOR = { +## has_dynasty_perk = blood_legacy_5 +## has_dynasty_perk = warfare_legacy_5 +## has_dynasty_perk = law_legacy_5 +## has_dynasty_perk = guile_legacy_5 +## has_dynasty_perk = erudition_legacy_5 +## has_dynasty_perk = glory_legacy_5 +## has_dynasty_perk = kin_legacy_5 +## has_dynasty_perk = fp1_adventure_legacy_5 +## has_dynasty_perk = fp1_pillage_legacy_5 +## has_dynasty_perk = ep1_culture_legacy_5 +## has_dynasty_perk = fp2_urbanism_legacy_5 +## has_dynasty_perk = fp2_coterie_legacy_5 +## has_dynasty_perk = fp3_khvarenah_legacy_5 +## } +## } +## } +## happened = { +## custom_description = { +## text = a_legacy_to_last_the_ages_achievement_trigger +## dynasty = { +## OR = { +## has_dynasty_perk = blood_legacy_5 +## has_dynasty_perk = warfare_legacy_5 +## has_dynasty_perk = law_legacy_5 +## has_dynasty_perk = guile_legacy_5 +## has_dynasty_perk = erudition_legacy_5 +## has_dynasty_perk = glory_legacy_5 +## has_dynasty_perk = kin_legacy_5 +## #FP1 +## has_dynasty_perk = fp1_adventure_legacy_5 +## has_dynasty_perk = fp1_pillage_legacy_5 +## #EP1 +## has_dynasty_perk = ep1_culture_legacy_5 +## #FP2 +## has_dynasty_perk = fp2_urbanism_legacy_5 +## has_dynasty_perk = fp2_coterie_legacy_5 +## #FP3 +## has_dynasty_perk = fp3_khvarenah_legacy_5 +## #EP2 +## has_dynasty_perk = ep2_activities_legacy_5 +## #CE1 +## has_dynasty_perk = ce1_heroic_legacy_5 +## has_dynasty_perk = ce1_legitimacy_legacy_5 +## #EP3 +## has_dynasty_perk = ep3_administrative_legacy_5 +## } +## } +## } +## } +##} +## +##a_house_of_my_own_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = a_house_of_my_own_achievement_trigger +## has_character_flag = achievement_a_house_of_my_own_flag +## } +## } +##} +## +##dreadful_ruler_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = dreadful_ruler_achievement_trigger +## dread = 100 +## } +## } +##} +## +##stressful_situation_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = stressful_situation_achievement_trigger +## has_character_flag = achievement_stressful_situation_flag +## } +## } +##} +## +##not_so_feudal_system_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = not_so_feudal_system_achievement_trigger +## has_character_flag = achievement_not_so_feudal_system_flag +## } +## } +##} +## +##the_succession_is_safe_achievement = { +## possible = { +## NOT = { has_character_flag = rd_character_blocked_the_succession_is_safe_achievement_flag } +## } +## happened = { +## custom_description = { +## text = the_succession_is_safe_achievement_trigger +## any_child = { +## count >= 10 +## is_alive = yes +## } +## } +## } +##} +## +##almost_there_achievement = { +## possible = { +## exists = global_var:started_almost_there_achievement +## character:159137 = { +## is_alive = yes +## is_ai = no +## } +## } +## happened = { +## custom_description = { +## text = almost_there_achievement_trigger +## has_title = title:k_hungary +## has_religion = religion:christianity_religion +## character:159137 = { +## is_alive = yes +## is_ai = no +## } +## } +## } +##} +## +##last_count_first_king_achievement = { +## possible = { +## exists = global_var:started_last_count_first_king_achievement +## character:109607 = { +## is_alive = yes +## is_ai = no +## } +## } +## happened = { +## custom_description = { +## text = last_count_first_king_achievement_trigger +## has_title = title:k_portugal +## character:109607 = { +## is_alive = yes +## is_ai = no +## } +## } +## } +##} +## +##prolific_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = prolific_achievement_trigger +## dynasty = { +## any_dynasty_member = { +## count >= 100 +## is_alive = yes +## } +## } +## } +## } +##} +## +##a_name_known_throughout_the_world_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = a_name_known_throughout_the_world_achievement_trigger +## dynasty = { +## dynasty_prestige_level >= max_dynasty_prestige_level +## } +## } +## } +##} +## +##end_of_an_era_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = end_of_an_era_achievement_trigger +## current_date >= 1452.12.1 +## } +## } +##} +## +##turning_to_diamonds_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = turning_to_diamonds_achievement_trigger +## stress_level >= define:NCharacter|MAX_STRESS_LEVEL +## } +## } +##} +## +##reconquista_achievement = { +## possible = { +## exists = global_var:started_reconquista_achievement +## } +## happened = { +## custom_description = { +## text = reconquista_achievement_trigger +## completely_controls_region = world_europe_west_iberia +## any_county_in_region = { +## region = world_europe_west_iberia +## count = all +## faith = { religion_tag = christianity_religion } +## } +## OR = { +## culture = { has_cultural_pillar = heritage_iberian } +## culture = culture:andalusian +## } +## has_religion = religion:christianity_religion +## } +## } +##} +## +##seven_holy_cities_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = seven_holy_cities_achievement_trigger +## has_religion = religion:hinduism_religion +## primary_title = { is_de_facto_liege_or_above_target = title:c_varanasi } # Varanasi +## primary_title = { is_de_facto_liege_or_above_target = title:c_ayodhya } # Ayodhya +## primary_title = { is_de_facto_liege_or_above_target = title:c_mathura } # Mathura +## primary_title = { is_de_facto_liege_or_above_target = title:c_sthanisvara } # Haridwar +## primary_title = { is_de_facto_liege_or_above_target = title:c_kanchipuram } # Kanchipuram +## primary_title = { is_de_facto_liege_or_above_target = title:c_ujjayini } # Ujjayini +## primary_title = { is_de_facto_liege_or_above_target = title:c_dvaraka } # Dwarka +## } +## } +##} +## +##frankokratia_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = frankokratia_achievement_trigger +## completely_controls = title:k_thessalonika +## culture = culture:french +## faith = faith:catholic +## NOR = { +## is_roman_emperor_trigger = yes +## any_liege_or_above = { +## has_title = title:e_byzantium +## } +## any_liege_or_above = { +## has_title = title:h_roman_empire +## } +## any_liege_or_above = { +## has_title = title:h_eastern_roman_empire +## } +## } +## } +## } +##} +## +##celebrity_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = celebrity_achievement_trigger +## prestige_level >= max_prestige_level +## } +## } +##} +## +##saint_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = saint_achievement_trigger +## piety_level >= max_piety_level +## } +## } +##} +## +##keeping_it_in_the_family_achievement = { +## possible = { +## NOT = { has_character_flag = rd_character_blocked_keeping_it_in_the_family_achievement_flag } +## } +## happened = { +## custom_description = { +## text = keeping_it_in_the_family_achievement_trigger +## any_child = { +## has_trait = inbred +## } +## } +## } +##} +## +##non_nobis_domine_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = non_nobis_domine_achievement_trigger +## has_character_flag = achievement_non_nobis_domine_flag +## } +## } +##} +## +##trapped_in_the_web_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = trapped_in_the_web_achievement_trigger +## any_vassal = { +## count >= 3 +## save_temporary_scope_as = hooked_vassals +## root = { has_strong_hook = scope:hooked_vassals } +## } +## } +## } +##} +## +##followed_by_shadows_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = followed_by_shadows_achievement_trigger +## any_known_secret = { +## count >= 10 +## } +## } +## } +##} +## +##what_nepotism_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = what_nepotism_achievement_trigger +## dynasty = { +## any_dynasty_member = { +## count >= 10 +## highest_held_title_tier >= tier_kingdom +## top_liege = this +## } +## } +## } +## } +##} +## +##rise_from_the_ashes_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = rise_from_the_ashes_achievement_trigger +## has_title = title:h_roman_empire +## } +## } +##} +## +##the_emerald_isle_achievement = { +## possible = { +## exists = global_var:started_the_emerald_isle_achievement +## } +## happened = { +## custom_description = { +## text = the_emerald_isle_achievement_trigger +## has_title = title:k_ireland +## } +## } +##} +## +##from_rags_to_riches_achievement = { +## possible = { +## has_global_variable = achievement_rags_to_riches_valid +## } +## happened = { +## custom_description = { +## text = from_rags_to_riches_achievement_trigger +## highest_held_title_tier = tier_empire +## } +## } +##} +## +##give_a_dog_a_bone_achievement = { +## possible = { +## exists = global_var:started_give_a_dog_a_bone_achievement +## } +## happened = { +## custom_description = { +## text = give_a_dog_a_bone_achievement_trigger +## dynasty = { +## any_dynasty_member = { +## has_title = title:k_italy +## } +## } +## dynasty = { +## any_dynasty_member = { +## count >= 50 +## is_alive = yes +## } +## } +## exists = global_var:holy_order_give_a_dog_a_bone_achievement +## } +## } +##} +## +##al_andalus_achievement = { +## possible = { +## exists = global_var:started_al_andalus_achievement +## } +## happened = { +## custom_description = { +## text = al_andalus_achievement_trigger +## has_character_flag = achievement_al_andalus_flag +## completely_controls_region = world_europe_west_iberia +## } +## } +##} +## +##wily_as_the_fox_achievement = { +## possible = { +## exists = global_var:started_wily_as_the_fox_achievement +## } +## happened = { +## custom_description = { +## text = wily_as_the_fox_achievement_trigger +## OR = { +## has_title = title:k_sicily +## has_title = title:k_trinacria +## has_title = title:k_naples +## } +## OR = { +## AND = { +## completely_controls = title:k_epirus +## any_county_in_region = { +## region = custom_k_epirus +## count = all +## faith = faith:catholic +## } +## } +## AND = { +## completely_controls = title:k_thessalonika +## any_county_in_region = { +## region = custom_k_thessalonika +## count = all +## faith = faith:catholic +## } +## } +## AND = { +## completely_controls = title:k_hellas +## any_county_in_region = { +## region = custom_k_hellas +## count = all +## faith = faith:catholic +## } +## } +## #Krete doesn't count. +## } +## } +## } +##} +## +##sibling_rivalry_achievement = { +## possible = { +## exists = global_var:started_sibling_rivalry_achievement +## } +## happened = { +## custom_description = { +## text = sibling_rivalry_achievement_trigger +## any_held_title = { +## this = title:e_spain +## } +## } +## } +##} +## +##blood_eagle_achievement = { +## possible = { +## exists = global_var:started_blood_eagle_achievement +## } +## happened = { +## custom_description = { +## text = blood_eagle_achievement_trigger +## completely_controls_region = world_europe_west_britannia +## } +## } +##} +## +##kings_to_the_seventh_generation_achievement = { +## possible = { +## exists = global_var:started_kings_to_the_seventh_generation_achievement +## } +## happened = { +## custom_description = { +## text = kings_to_the_seventh_generation_achievement_trigger +## any_held_title = { +## this = title:k_france +## } +## } +## } +##} +## +##norman_yoke_achievement = { +## possible = { +## exists = global_var:started_norman_yoke_achievement +## } +## happened = { +## custom_description = { +## text = norman_yoke_achievement_trigger +## exists = global_var:achievement_norman_yoke_war_flag +## culture = culture:english +## title:k_england = { +## holder = { +## this = root +## save_temporary_scope_as = english_king +## } +## +## # All direct vassals who hold a county or duchy in De Jure England must be English. +## any_in_de_jure_hierarchy = { +## count = all +## +## trigger_if = { +## limit = { +## OR = { +## tier = tier_county +## tier = tier_duchy +## } +## holder ?= { +## is_vassal_of = scope:english_king +## } +## } +## holder = { +## culture = culture:english +## } +## } +## } +## } +## } +## } +##} +## +##royal_dignity_achievement = { +## possible = { +## exists = global_var:started_royal_dignity_achievement +## } +## happened = { +## custom_description = { +## text = royal_dignity_achievement_trigger +## any_held_title = { +## this = title:k_bohemia +## } +## any_held_title = { +## this = title:e_hre +## } +## } +## } +##} +## +##going_places_achievement = { +## possible = { +## exists = global_var:started_going_places_achievement +## character:6878 = { +## is_alive = yes +## is_ai = no +## } +## } +## happened = { +## custom_description = { +## text = going_places_achievement_trigger +## highest_held_title_tier >= tier_kingdom +## character:6878 = { +## is_alive = yes +## is_ai = no +## } +## } +## } +##} +## +##land_of_the_rus_achievement = { +## possible = { +## exists = global_var:started_land_of_the_rus_achievement +## } +## happened = { +## custom_description = { +## text = land_of_the_rus_achievement_trigger +## any_held_title = { +## this = title:e_russia +## } +## } +## } +##} +## +##above_god_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = above_god_achievement_trigger +## exists = root.faith.religious_head +## has_strong_hook = root.faith.religious_head +## } +## } +##} +## +##paragon_of_virtue_achievement = { +## possible = { +## NOT = { has_character_flag = rd_character_blocked_paragon_of_virtue_achievement_flag } +## } +## happened = { +## custom_description = { +## text = paragon_of_virtue_achievement_trigger +## num_virtuous_traits >= 3 +## } +## } +##} +## +##the_things_love_does_for_us_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = the_things_love_does_for_us_achievement_trigger +## has_character_flag = achievement_the_things_love_does_for_us_flag +## } +## } +##} +## +##fine_print_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = fine_print_achievement_trigger +## has_character_flag = achievement_fine_print_flag +## } +## } +##} +## +##know_your_place_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = know_your_place_achievement_trigger +## has_character_flag = achievement_know_your_place_flag +## } +## } +##} +## +##monumental_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = monumental_achievement_trigger +## any_directly_owned_province = { +## has_building_with_flag = { flag = fully_upgraded_duchy_capital_building } +## } +## } +## } +##} +## +##its_not_a_cult_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = its_not_a_cult_achievement_trigger +## has_character_flag = achievement_its_not_a_cult_flag +## } +## } +##} +## +##the_things_we_do_for_love_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = the_things_we_do_for_love_achievement_trigger +## has_character_flag = achievement_the_things_we_do_for_love_flag +## } +## } +##} +## +##an_unfortunate_accident_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = an_unfortunate_accident_achievement_trigger +## has_character_flag = achievement_an_unfortunate_accident_flag +## } +## } +##} +## +##death_did_us_part_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = death_did_us_part_achievement_trigger +## has_character_flag = achievement_death_did_us_part_flag +## } +## } +##} +## +##for_the_faith_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = for_the_faith_achievement_trigger +## has_character_flag = achievement_for_the_faith_flag +## } +## } +##} +## +##bad_blood_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = bad_blood_achievement_trigger +## has_character_flag = achievement_bad_blood_flag +## } +## } +##} +## +##seductive_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = seductive_achievement_trigger +## has_variable = achievement_seductive_variable +## var:achievement_seductive_variable >= 10 +## } +## } +##} +## +##the_emperors_new_clothes_achievement = { +## possible = { +## NOT = { has_character_flag = rd_character_blocked_the_emperors_new_clothes_achievement_flag } +## } +## happened = { +## custom_description = { +## text = the_emperors_new_clothes_achievement_trigger +## highest_held_title_tier >= tier_empire +## should_be_naked_trigger = yes +## } +## } +##} +## +##a_perfect_circle_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = a_perfect_circle_achievement_trigger +## parent_relatedness >= 0.8 +## } +## } +##} +## +##carolingian_consolidation_achievement = { +## possible = { +## root.dynasty = { +## this = dynasty:25061 +## } +## } +## happened = { +## custom_description = { +## text = carolingian_consolidation_achievement_trigger +## top_liege = this +## NOT = { +## root.dynasty = { +## any_dynasty_member = { +## is_playable_character = yes +## top_liege = this +## this != root +## } +## } +## } +## } +## } +##} +## +##moving_up_in_the_world_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = moving_up_in_the_world_achievement_trigger +## has_character_flag = achievement_moving_up_in_the_world_flag +## } +## } +##} +## +##beacon_of_progress_achievement = { +## possible = { +## +## } +## happened = { +## custom_description = { +## text = beacon_of_progress_achievement_trigger +## culture = { +## has_all_innovations = { with_flag = global_regular } +## } +## } +## } +##} +## +##mother_of_us_all_achievement = { +## possible = { +## exists = global_var:started_mother_of_us_all_achievement +## } +## happened = { +## custom_description = { +## text = mother_of_us_all_achievement_trigger +## OR = { +## #Siguic/Bidaic +## AND = { +## has_global_variable = achievement_mother_of_us_all_siguic +## any_county_in_region = { +## region = world_africa +## count = all +## faith = { religion_tag = west_african_religion } +## } +## } +## #Orisan +## AND = { +## has_global_variable = achievement_mother_of_us_all_orisha +## any_county_in_region = { +## region = world_africa +## count = all +## faith = { religion_tag = west_african_orisha_religion } +## } +## } +## #Bori +## AND = { +## has_global_variable = achievement_mother_of_us_all_bori +## any_county_in_region = { +## region = world_africa +## count = all +## faith = { religion_tag = west_african_bori_religion } +## } +## } +## #Roog Sene +## AND = { +## has_global_variable = achievement_mother_of_us_all_roog_sene +## any_county_in_region = { +## region = world_africa +## count = all +## faith = { religion_tag = west_african_roog_religion } +## } +## } +## #Akom +## AND = { +## has_global_variable = achievement_mother_of_us_all_akom +## any_county_in_region = { +## region = world_africa +## count = all +## faith = { religion_tag = akom_religion } +## } +## } +## #Kushitism +## AND = { +## has_global_variable = achievement_mother_of_us_all_kushitism +## any_county_in_region = { +## region = world_africa +## count = all +## faith = { religion_tag = kushitism_religion } +## } +## } +## #Waaqism +## AND = { +## has_global_variable = achievement_mother_of_us_all_waaqism +## any_county_in_region = { +## region = world_africa +## count = all +## faith = { religion_tag = waaqism_religion } +## } +## } +## #North African +## AND = { +## has_global_variable = achievement_mother_of_us_all_achamanism +## any_county_in_region = { +## region = world_africa +## count = all +## faith = { religion_tag = north_african_religion } +## } +## } +## } +## } +## } +##} +## \ No newline at end of file diff --git a/common/landed_titles/yugoslavia.txt b/common/landed_titles/yugoslavia.txt index 8a978bf2..86cc0ab0 100644 --- a/common/landed_titles/yugoslavia.txt +++ b/common/landed_titles/yugoslavia.txt @@ -1196,7 +1196,7 @@ e_yugoslavia = { d_herzegovina = { #Actually Zachlumia color = { 16 125 90 } - capital = c_zelengora # Mostar + capital = c_neretva # Mostar c_trebinje = { color = { 16 125 90 } diff --git a/common/on_action/yearly_on_actions.txt b/common/on_action/yearly_on_actions.txt index 99fc64d2..67ca1778 100644 --- a/common/on_action/yearly_on_actions.txt +++ b/common/on_action/yearly_on_actions.txt @@ -3965,7 +3965,7 @@ on_yearly_events = { 250 = ep3_emperor_yearly.8010 # Fake imperial letter of introduction 250 = ep3_emperor_yearly.8020 # Selling purple rights 25 = ep3_emperor_yearly.8030 # Porphyrios strikes back - rare - 150 = ep3_emperor_yearly.8040 # Embrace Iconoclasm +# 150 = ep3_emperor_yearly.8040 # Embrace Iconoclasm 250 = ep3_emperor_yearly.8050 # Northern raider ransom 250 = ep3_emperor_yearly.8060 # Border governor defects diff --git a/common/script_values/tgp_values.txt b/common/script_values/tgp_values.txt new file mode 100644 index 00000000..7d16f0d7 --- /dev/null +++ b/common/script_values/tgp_values.txt @@ -0,0 +1,853 @@ + +### HOUSE RELATIONS +house_relation_casus_belli_discount_value = 0.75 +house_relation_personal_scheme_bonus_value = 15 +house_relation_hostile_scheme_bonus_value = 15 +house_relation_increased_marriage_acceptance = 25 +house_relation_decreased_marriage_acceptance = -25 +house_relation_less_likely_war_target = -150 + +house_relation_actions_to_improve_level_threshold_value = 10 # How many actions before House level changes +house_relation_actions_to_damage_level_threshold_value = { # Same as above, but negative + value = house_relation_actions_to_improve_level_threshold_value + multiply = -1 +} + +house_relation_improve_minor_value = 0.1 +house_relation_improve_medium_value = 0.2 +house_relation_improve_major_value = 0.3 +house_relation_damage_minor_value = { # Same as above, but negative + value = house_relation_improve_minor_value + multiply = -1 +} +house_relation_damage_medium_value = { + value = house_relation_improve_medium_value + multiply = -1 +} +house_relation_damage_major_value = { + value = house_relation_improve_major_value + multiply = -1 +} +house_relation_damage_massive_value = { + value = house_relation_improve_major_value + multiply = -2 +} +house_relation_damage_monumental_value = { + value = house_relation_improve_major_value + multiply = -3 +} + +improve_house_relation_calculated_value = { + value = house_relation_improve_major_value + multiply = 4 #Since we know we are in Japan to use the interaction +} + +# Imperial Grace loss values depending on phase +imperial_grace_loss_situation_dynastic_cycle_phase_stability = -1 +imperial_grace_loss_situation_dynastic_cycle_phase_stability_expansion = -2 +imperial_grace_loss_situation_dynastic_cycle_phase_stability_advancement = -1 +imperial_grace_loss_situation_dynastic_cycle_phase_instability = -3 +imperial_grace_loss_situation_dynastic_cycle_phase_instability_conquest = -3 +imperial_grace_loss_situation_dynastic_cycle_phase_chaos = -5 + +# This value is used for the ai_expected_level param for mandate_legitimacy, but can also be used directly without a vassal scope +# It's set to max, unless Cycle is in Stability Era, then it is lower by 2 for the first 50 years and lower by 1 for another 50 years +dynastic_cycle_legitimacy_expectation = { + value = 7 #max + if = { + limit = { + situation:dynastic_cycle ?= { + OR = { + situation_current_phase = situation_dynastic_cycle_phase_stability_expansion + situation_current_phase = situation_dynastic_cycle_phase_stability_advancement + } + has_variable = stability_phase_start_date + } + } + if = { + limit = { + situation:dynastic_cycle = { + var:stability_phase_start_date <= { + value = current_date + subtract = 18250 + } + } + } + add = -2 + } + if = { + limit = { + situation:dynastic_cycle = { + var:stability_phase_start_date <= { + value = current_date + subtract = 36500 + } + } + } + add = -1 + } + } +} + +celestial_investiture_trade_bonus_max = 50 + +grand_guardian_aptitude_modifier_scaling_value = { + value = 1 + if = { + limit = { exists = root } + add = root.aptitude:grand_guardian_court_position + } + desc = MODIFIER_DEFINITION_MAIN_DESC_GRAND_GUARDIAN_APTITUDE +} + +## IE LOC VALUES +child_exam_min_age = { + value = 6 +} + +metropolitan_exam_final_entrants = { + value = 10 +} + +metropolitan_exam_final_entrants_loc = { + value = metropolitan_exam_final_entrants +} + +## LOCAL EXAMINATION VALUES +examination_success_learning_value = { + value = learning + multiply = 1.2 + ceiling = yes + max = 30 +} + +examination_success_stewardship_value = { + value = stewardship + multiply = 1.2 + ceiling = yes + max = 30 +} + +examination_success_martial_value = { + value = martial + multiply = 1.2 + ceiling = yes + max = 30 +} + +examination_success_increase_miniscule_value = 5 +examination_success_increase_minor_value = 10 +examination_success_increase_medium_value = 15 +examination_success_increase_major_value = 20 +examination_success_increase_massive_value = 25 + + +examination_merit_reward_base_value = medium_merit_value + +child_examination_success_chance_value = { + value = 0 + # EXAM TYPE + add = { + value = learning + multiply = 1.2 + ceiling = yes + max = 30 + desc = learning_modifier + } + # A Confucian Education will improve your chances + add = { + if = { + limit = { has_trait = confucian_education } + add = 5 + } + desc = confucian_education_modifier + } + # Having a Tutor will improve your chances + add = { + if = { + limit = { employs_court_position = court_tutor_court_position } + add = 15 + } + desc = tutor_modifier + } + # Having lost a parent will improve your chances + add = { + if = { + limit = { + any_parent = { + is_alive = no + count = all + } + } + add = 10 + } + desc = mourned_parent_modifier + } + # Let's also add the child's age + add = { + value = age + desc = age_modifier + } + add = { + if = { + limit = { + has_trait = curious + } + add = 5 + } + desc = curious_modifier + } + # VARIABLES + # Nr of safe bets at examination + add = { + if = { + limit = { var:safe_bets > 0 } + value = var:safe_bets + multiply = 5 + } + desc = played_it_safe_modifier + } + # MODIFIERS + if = { + limit = { + has_character_modifier = tgp_local_exam_initial_success + } + add = { + value = examination_success_increase_medium_value + desc = exam_success_chance.tgp_local_exam_initial_success + } + } + if = { + limit = { + has_character_modifier = tgp_local_exam_impressed_examiner + } + add = { + value = examination_success_increase_major_value + desc = exam_success_chance.tgp_local_exam_impressed_examiner + } + } + if = { + limit = { + has_character_modifier = tgp_local_exam_strong_finish + } + add = { + value = examination_success_increase_massive_value + desc = exam_success_chance.tgp_local_exam_strong_finish + } + } +} + +dynasty_legacy_influence_career_discount_value = -0.1 + +# Referenced to in code for the Merit tooltip (DO NOT REMOVE) +# displayed in MERIT_PROGRESSBAR_MARKER_TOOLTIP, if you change the value here be sure to update the loc key as well +movement_power_character_individual_merit_value = { + value = merit_level + multiply = 10 +} + +relevant_family_members_metropolitan_value = { + value = var:num_exam_family_passed_metropolitan +} + +relevant_family_members_palace_value = { + value = prev.var:num_exam_family_passed_palace + ceiling = yes + max = 3 +} + +meritocratic_province_military_max_value = 8 +meritocratic_province_protectorate_max_value = { + value = 5 +} + +meritocratic_province_industrial_max_value = 8 +meritocratic_province_metropolitan_max_value = { + value = 5 +} + +# dejure governorship value for sidegrade appointments +# this is the prominence value +# root - title considered for appointment +appointment_title_value = { + value = 0 + # We value titles differently depending on if it is a civilian or military appointment + if = { + limit = { + OR = { + holder ?= { vassal_contract_has_flag = meritocratic_civil_appointment } + holder ?= { vassal_contract_has_flag = celestial_civil_appointment } + } + } + # General gold income + if = { + limit = { + tier >= tier_duchy + } + add = { + every_de_jure_county = { + add = { + value = title_province.monthly_income + multiply = 24 + } + } + desc = appointment_title_value.county_income + } + } + else = { + add = { + value = title_province.monthly_income + multiply = 24 + desc = appointment_title_value.capital_income + } + } + + # Distance to capital + add = { + value = 500 + subtract = { + value = "title_province.squared_distance(root.holder.top_liege.capital_province)" + multiply = 0.0001 + } + min = 0 + desc = appointment_title_value.distance_to_capital + } + } + else_if = { + limit = { + holder ?= { + OR = { + vassal_contract_has_flag = meritocratic_military_appointment + vassal_contract_has_flag = celestial_military_appointment + vassal_contract_has_flag = celestial_grand_marshal_obligation + } + } + } + + # Army size + add = { + every_owned_title_maa_regiment = { + add = { + value = maa_size + } + } + desc = appointment_title_value.maa_size + } + + # Province size (to make larger provinces more attractive) + if = { + limit = { + tier >= tier_duchy + } + add = { + every_de_jure_county = { + add = 10 + } + desc = appointment_title_value.counties + } + } + add = { + every_title_to_title_neighboring_county = { + limit = { + holder.top_liege != prev.holder.top_liege + } + add = { + value = 10 + } + } + desc = appointment_title_value.neighboring_enemy_counties + } + # A protectorate is more attractive + if = { + limit = { + holder = { vassal_contract_has_flag = celestial_province_protectorate } + } + multiply = { + value = 2 + desc = appointment_title_value.protectorate + } + } + } + + # Minister titles + if = { + limit = { + holder ?= { + tgp_is_any_minister = yes + } + } + add = { + value = holder.top_liege.capital_province.monthly_income + multiply = 1000 + desc = appointment_title_value.capital_income + } + if = { + limit = { + title:h_china.holder = { + has_diarchy_type = grand_secretariat + OR = { + AND = { + has_realm_law = grand_chancellor_law + root = title:e_minister_chancellor + } + AND = { + has_realm_law = grand_marshal_law + root = title:e_minister_grand_marshal + } + AND = { + has_realm_law = grand_censor_law + root = title:e_minister_censor + } + } + } + } + add = { + value = 1000 + desc = appointment_title_value.diarch + } + } + if = { + limit = { + OR = { + this = title:e_minister_chancellor + this = title:e_minister_censor + this = title:e_minister_grand_marshal + } + } + add = { + value = 3500 + desc = appointment_title_value.minister + } + } + else_if = { + limit = { + OR = { + this = title:e_minister_of_personnel + this = title:e_minister_of_revenue + } + } + add = { + value = 3000 + desc = appointment_title_value.minister + } + } + else_if = { + limit = { + OR = { + this = title:e_minister_of_rites + this = title:e_minister_of_war + } + } + add = { + value = 2500 + desc = appointment_title_value.minister + } + } + else_if = { + limit = { + OR = { + this = title:e_minister_of_justice + this = title:e_minister_of_works + } + } + add = { + value = 2000 + desc = appointment_title_value.minister + } + } + } +} + +## Movement power +event_decrease_movement_power_minor_value = -5 +event_decrease_movement_power_medium_value = -10 +event_decrease_movement_power_major_value = -25 +event_increase_movement_power_major_value = 25 +event_increase_movement_power_medium_value = 10 +event_increase_movement_power_minor_value = 5 +event_increased_personal_movement_power_value = 15 + +# Events +subsidised_estate_value = { + value = 0 + + if = { + limit = { + has_variable = subsidised_estate_var + } + add = var:subsidised_estate_var + } + min = 1 + + desc = MODIFIER_DEFINITION_SUBSIDISED_ESTATE +} + +tgp_shared_bloc_cohesion_base_change_monthly_value = { + value = 0 + add = { + value = 0 + every_confederation_member_house = { add = -0.1 } + max = 0 + desc = "HOUSE_BLOC_COHESION_FROM_SIZE_HOUSE" + } + add = { + value = 0 + leading_house.house_head.top_liege ?= { + every_sub_realm_county = { + limit = { holder.house.house_confederation ?= root } + add = -0.05 + } + } + max = 0 + desc = "HOUSE_BLOC_COHESION_FROM_SIZE" + } + # TODO GAIN FROM FESTIVAL MODIFIERS GOES HERE +} + + +## Boost/Penalize bloc for having conforming/diverging members. +# +# Scopes +# ------ +# root: confederation/bloc +# house: Member house that we're checking +# +# +tgp_shared_bloc_cohesion_base_change_per_house_monthly_value = { + value = 0 + leading_house ?= { + if = { + limit = { + NOT = { this = scope:house } + } + if = { + limit = { + NOT = { has_same_house_aspiration_as = scope:house } + } + add = { + value = -0.25 + desc = "HOUSE_BLOC_COHESION_MISMATCHED_ASPIRATION" + } + } + else = { + add = { + value = 0.25 + if = { # Unlanded give less + limit = { + NOT = { + scope:house = { + any_house_member = { + is_landed = yes + top_liege = root.leading_house.house_head.top_liege + } + } + } + } + multiply = 0.5 + } + desc = "HOUSE_BLOC_COHESION_MATCHED_ASPIRATION" + } + } + } + } + scope:house.house_head = { + if = { + limit = { + NOT = { has_same_government = root.leading_house.house_head } + } + add = { + value = -1 + desc = "HOUSE_BLOC_COHESION_MISMATCHED_GOVERNMENT" + } + } + } + if = { + limit = { + leading_house.house_dynasty = { has_dynasty_perk = tgp_japan_legacy_1 } + leading_house.house_dynasty = scope:house.house_dynasty + scope:house != leading_house + } + add = { + value = tgp_dynasty_legacy_bloc_cohesion_value + desc = "HOUSE_BLOC_SAME_DYNASTY_LEGACY_PERK" + } + } +} + +tgp_shared_bloc_cohesion_contribution_value = { + value = scope:base_value + divide = scope:num_relations + divide = root.tgp_bloc_member_house_count_value +} + +tgp_shared_bloc_cohesion_soft_cap_value = { + value = 75 +} + +tgp_establish_soryo_administration_bloc_leader_count_value = { + value = 0 + every_in_list = { + list = bloc_leaders + add = 1 + } +} + +tgp_establish_soryo_administration_other_joiners_count_value = { + value = 0 + every_in_list = { + list = other_joiners + add = 1 + } +} + +#Aptitude Bonus for Dynasty Legacy +court_position_tgp_dynasty_legacy_aptitude_bonus = 10 + +#Bloc Joining Dynasty Legacy Bonus +tgp_legacy_japan_dynasty_bloc_bonus_value = 25 +#Bloc Joining Dynasty Lifestyle Perk +tgp_join_bloc_interaction_lifestyle_perk_value = 15 +#Bloc Cohesion Dynasty Legacy Bonus +tgp_dynasty_legacy_bloc_cohesion_value = 0.25 +#Hosting Festival Discount Legacy Perk +tgp_dynasty_legacy_perk_festival_discount_value = 0.2 + +# House Bloc Cohesion +cohesion_gain_minor = 0.25 +cohesion_gain_medium = 0.5 +cohesion_gain_major = 1 +cohesion_loss_minor = { + value = cohesion_gain_minor + multiply = -1 +} +cohesion_loss_medium = { + value = cohesion_gain_medium + multiply = -1 +} +cohesion_loss_major = { + value = cohesion_gain_major + multiply = -1 +} + +border_war_grace_period_days = { + value = 1095 +} + +border_war_grace_period_years = { + value = border_war_grace_period_days + divide = 365 + round = yes +} + +steppe_admin_target_counties_tributaries = { + value = 50 +} + +temp_num_qualifying_counties_count = { + value = 0 + every_sub_realm_county = { + limit = { + holder = { + is_governor_or_admin_count = yes + government_has_flag = government_has_merit + } + title_province = { + OR = { + has_holding_type = castle_holding + has_holding_type = church_holding + has_holding_type = city_holding + has_holding_type = temple_citadel_holding + } + } + } + add = 1 + } +} + +meritocratic_conversion_county_count = { + value = 30 +} + +return_to_steppe_county_requirement = { + value = 10 +} + +maitreya_devotee_army_value = { + value = 0 + if = { + limit = { + any_sub_realm_county = { + faith = root.faith + count <= 5 + } + } + add = 1000 + } + else_if = { + limit = { + any_sub_realm_county = { + faith = root.faith + count <= 10 + } + } + add = 500 + } + else_if = { + limit = { + any_sub_realm_county = { + faith = root.faith + count <= 20 + } + } + add = 400 + } + else_if = { + limit = { + any_sub_realm_county = { + faith = root.faith + count <= 30 + } + } + add = 300 + } + else_if = { + limit = { + any_sub_realm_county = { + faith = root.faith + count <= 50 + } + } + add = 200 + } + else = { + add = 100 + } + multiply = { + value = 0 + every_sub_realm_county = { + limit = { + faith = root.faith + } + add = 1 + } + } +} + +cranial_trophies_stolen_prestige_value = { + value = 0 + if = { + limit = { + scope:dead_character.prestige > 0 + } + add = scope:dead_character.prestige + } + multiply = 0.25 +} + +tgp_ai_concubine_soft_cap = { + value = max_number_of_concubines + multiply = 0.5 +} + +silk_road_downstream_primary_value = 15 +silk_road_downstream_primary_negative_value = { + value = silk_road_downstream_primary_value + multiply = -1 +} +silk_road_downstream_secondary_value = 10 +silk_road_downstream_secondary_negative_value = { + value = silk_road_downstream_secondary_value + multiply = -1 +} +silk_road_downstream_tertiary_value = 5 +silk_road_downstream_tertiary_negative_value = { + value = silk_road_downstream_tertiary_value + multiply = -1 +} + +silk_road_steppe_market_built_value = 15 +silk_road_steppe_resettlement_value = 5 +silk_road_steppe_canal_built_primary_value = 30 +silk_road_steppe_canal_built_secondary_value = 20 +silk_road_steppe_canal_built_tertiary_value = 10 + +silk_road_stability_primary_value = 15 +silk_road_stability_secondary_value = 10 +silk_road_stability_tertiary_value = 5 + +silk_road_expand_steppe_value = 50 +silk_road_expand_steppe_negative_value = { + value = silk_road_expand_steppe_value + multiply = -1 +} +silk_road_raid_value = 10 +silk_road_raid_negative_value = { + value = silk_road_raid_value + multiply = -1 +} +silk_road_mongol_devastation_value = 15 +silk_road_mongol_devastation_negative_value = { + value = silk_road_mongol_devastation_value + multiply = -1 +} + +silk_road_byzantium_destroyed_value = 50 +silk_road_byzantium_destroyed_negative_value = { + value = silk_road_byzantium_destroyed_value + multiply = -1 +} +silk_road_steppe_iranian_intermezzo_ending_value = 15 +silk_road_steppe_iranian_intermezzo_unrest_value = 3 +silk_road_steppe_iranian_intermezzo_unrest_negative_value = { + value = silk_road_steppe_iranian_intermezzo_unrest_value + multiply = -1 +} + +silk_road_steppe_china_consolidation_value = 1000 +silk_road_steppe_china_consolidation_negative_value = { + value = silk_road_steppe_china_consolidation_value + multiply = -1 +} + +silk_road_steppe_china_stability_value = 5 + +innovation_cupellation_mine_tax_bonus_value = 0.15 + +innovation_champa_rice_tax_mult_value_1 = 0.02 +innovation_champa_rice_levy_size_value_1 = 0.02 +innovation_champa_rice_development_growth_factor_value_1 = 0.05 +innovation_champa_rice_tax_mult_value_2 = 0.03 +innovation_champa_rice_levy_size_value_2 = 0.03 +innovation_champa_rice_development_growth_factor_value_2 = 0.05 +innovation_champa_rice_tax_mult_value_3 = 0.04 +innovation_champa_rice_levy_size_value_3 = 0.04 +innovation_champa_rice_development_growth_factor_value_3 = 0.05 +innovation_champa_rice_tax_mult_value_4 = 0.04 +innovation_champa_rice_levy_size_value_4 = 0.04 +innovation_champa_rice_development_growth_factor_value_4 = 0.05 + +innovation_block_printing_control_growth_value_1 = 0.02 +innovation_block_printing_development_growth_value_1 = 0.02 +innovation_block_printing_control_growth_value_2 = 0.03 +innovation_block_printing_development_growth_value_2 = 0.03 +innovation_block_printing_control_growth_value_3 = 0.04 +innovation_block_printing_development_growth_value_3 = 0.04 +innovation_block_printing_control_growth_value_4 = 0.05 +innovation_block_printing_development_growth_value_4 = 0.05 + +innovation_coking_development_growth_value_1 = 0.02 +innovation_coking_development_growth_value_2 = 0.03 +innovation_coking_development_growth_value_3 = 0.04 +innovation_coking_development_growth_value_4 = 0.05 + +tgp_chinese_decision_taoism_conversion_discount_value = 0.85 + +treasury_budget_law_change_legitimacy_loss_base = { + value = monumental_legitimacy_loss + if = { + limit = { highest_held_title_tier = tier_hegemony } + multiply = 1.5 + } +} + +governor_trait_counter_bonus_value = 0.05 diff --git a/common/scripted_effects/00_almohad_invasion_effects.txt b/common/scripted_effects/00_almohad_invasion_effects.txt new file mode 100644 index 00000000..84822523 --- /dev/null +++ b/common/scripted_effects/00_almohad_invasion_effects.txt @@ -0,0 +1,377 @@ +#find_title_for_almohad_spawn_effect = { +# if = { # The important thing is to not mess too much with players who can't resist +# limit = { +# title:c_tinmallal = { +# holder = { is_ai = yes } +# OR = { +# NOT = { exists = duchy.holder } +# duchy.holder = { is_ai = yes } +# } +# } +# } +# title:c_tinmallal = { +# save_scope_as = almohad_county +# } +# } +# else = { +# title:k_maghreb = { +# random_in_de_jure_hierarchy = { +# continue = { tier > tier_county } +# limit = { +# tier = tier_county +# holder = { is_ai = yes } # Let's not murder players +# NOT = { this = title:c_marrakesh } +# save_temporary_scope_as = potential_almohad_county +# # If someone holds k_maghreb, put the Almohads in their realm +# trigger_if = { +# limit = { exists = title:k_maghreb.holder } +# title:k_maghreb.holder = { +# OR = { +# this = scope:potential_almohad_county.holder +# any_sub_realm_county = { +# this = scope:potential_almohad_county +# } +# } +# } +# } +# # Either this should be the holder's only title, or it should NOT be their capital +# trigger_if = { +# limit = { +# holder = { +# any_sub_realm_county = { count > 1 } +# } +# } +# this != holder.capital_county +# } +# } +# weight = { +# base = 1 +# # Prefer already Muslim counties +# modifier = { +# add = 5 +# religion = religion:islam_religion +# } +# # Massively prefer to avoid a player-held Duchies if possible +# modifier = { +# factor = 0.01 +# exists = duchy.holder +# duchy.holder = { is_ai = no } +# } +# } +# save_scope_as = almohad_county +# } +# } +# } +# +# if = { # Discard stuff from here on out +# limit = { NOT = { exists = scope:almohad_county } } +# debug_log = "No Almohad title found, Almohad's won't spawn" +# } +# # Convert the County and warn relevant people +# else = { +# set_global_variable = { +# name = spawned_almohads +# value = yes +# } +# scope:almohad_county = { +# set_county_faith = faith:masmudi +# } +# scope:almohad_county.holder = { +# if = { +# limit = { +# is_ai = no +# } +# trigger_event = almohad.1001 +# } +# every_liege_or_above = { +# limit = { is_ai = no } +# trigger_event = almohad.1001 +# } +# } +# trigger_event = { # Random amount of time to convert the province or otherwise prepare +# id = almohad.0002 +# days = { 400 1000 } +# } +# } +#} +# +# +#create_almohads_effect = { +# create_character = { +# template = ibn_tumart_character_template +# name = Amghar_ibn_Tumert +# location = scope:almohad_county.title_province +# dynasty_house = house:house_tumert +# save_scope_as = ibn_tumart +# } +# faith:masmudi = { +# change_fervor = { +# value = 50 +# desc = fervor_gain_almohads +# } +# } +# scope:ibn_tumart = { +# create_story = { +# type = story_almohad_invasion +# save_scope_as = story +# } +# add_pressed_claim = title:k_maghreb +# add_character_modifier = { +# modifier = almohad_leader_modifier +# } +# add_character_flag = { +# flag = immune_to_disease +# years = 15 +# } +# } +# scope:story = { +# set_variable = { +# name = ibn_tumart +# value = scope:ibn_tumart +# } +# set_variable = { +# name = almohad_county +# value = scope:almohad_county +# } +# } +# almohads_find_target_titles_effect = yes +# +# find_almohad_titles_and_assign_to_ibn_tumart_effect = yes +# +# create_character = { +# template = abd_al_mumin_character_template +# name = Abd_al_Mu_min +# employer = scope:ibn_tumart +# dynasty_house = house:house_almohad +# save_scope_as = al_mumin +# } +# scope:al_mumin = { +# add_pressed_claim = title:k_maghreb +# add_character_modifier = { +# modifier = almohad_leader_modifier +# } +# add_character_flag = { +# flag = immune_to_disease +# years = 15 +# } +# } +# scope:story = { +# set_variable = { +# name = al_mumin +# value = scope:al_mumin +# } +# } +# +# scope:almohad_county.holder = { +# set_global_variable = { +# name = almohads_waiting_for_player_responses +# value = 0 +# years = 1 # Clear out eventually, just in case +# } +# set_global_variable = { +# name = almohads_player_responses_received +# value = 0 +# years = 1 # Clear out eventually, just in case +# } +# if = { +# limit = { is_ai = no } +# change_global_variable = { +# name = almohads_waiting_for_player_responses +# add = 1 +# } +# trigger_event = almohad.1002 +# } +# every_liege_or_above = { +# limit = { is_ai = no } +# change_global_variable = { +# name = almohads_waiting_for_player_responses +# add = 1 +# } +# trigger_event = almohad.1002 +# } +# if = { +# limit = { +# global_var:almohads_waiting_for_player_responses = 0 +# } +# remove_global_variable = almohads_waiting_for_player_responses +# remove_global_variable = almohads_player_responses_received +# almohads_go_to_war_effect = yes +# } +# else = { +# trigger_event = { +# id = almohad.0004 +# days = 5 +# } +# } +# } +#} +# +#find_almohad_titles_and_assign_to_ibn_tumart_effect = { +# +# create_title_and_vassal_change = { +# type = usurped +# save_scope_as = change +# add_claim_on_loss = no +# } +# scope:almohad_county = { +# change_title_holder = { +# holder = scope:ibn_tumart +# change = scope:change +# take_baronies = yes +# } +# } +# resolve_title_and_vassal_change = scope:change +# +# create_title_and_vassal_change = { +# type = created +# save_scope_as = change +# add_claim_on_loss = no +# } +# scope:ibn_tumart.faith.religious_head_title = { +# change_title_holder = { +# holder = scope:ibn_tumart +# change = scope:change +# } +# } +# resolve_title_and_vassal_change = scope:change +#} +# +#almohads_go_to_war_effect = { +# scope:ibn_tumart = { +# almohads_become_independent_effect = yes +# almohads_declare_war_for_target_title_effect = yes +# spawn_first_almohad_troops_effect = yes +# } +#} +# +#almohads_become_independent_effect = { +# hidden_effect = { +# if = { +# limit = { scope:ibn_tumart = { is_imprisoned = yes } } +# scope:ibn_tumart = { release_from_prison = yes } +# } +# } +# create_title_and_vassal_change = { +# type = independency +# save_scope_as = going_independent +# add_claim_on_loss = no +# } +# scope:ibn_tumart = { +# becomes_independent = { +# change = scope:going_independent +# } +# } +# +# resolve_title_and_vassal_change = scope:going_independent +#} +# +#almohads_find_target_titles_effect = { +# if = { +# limit = { exists = title:k_maghreb.holder } +# title:k_maghreb = { +# save_scope_as = maghreb_target_title +# holder = { +# save_scope_as = first_target +# } +# } +# if = { +# limit = { +# NOT = { scope:almohad_county.holder.top_liege = title:k_maghreb.holder.top_liege } +# scope:almohad_county.holder.top_liege = { +# any_sub_realm_county = { +# this != scope:almohad_county +# kingdom = title:k_maghreb +# } +# } +# } +# scope:almohad_county.holder.top_liege = { +# save_scope_as = second_target +# } +# } +# } +# else = { +# ordered_independent_ruler = { +# limit = { highest_held_title_tier > tier_county } +# order_by = titles_held_in_k_maghreb +# position = 0 +# save_scope_as = first_target +# } +# } +#} +# +# +#almohads_declare_war_for_target_title_effect = { +# save_scope_as = war_leader +# if = { +# limit = { exists = scope:first_target } +# start_war = { +# cb = claim_cb +# target = scope:first_target +# claimant = scope:war_leader +# target_title = scope:maghreb_target_title +# } +# +# if = { +# limit = { +# exists = scope:second_target +# NOT = { exists = global_var:almohads_do_not_attack_second_target } +# } +# start_war = { +# cb = claim_cb +# target = scope:second_target +# claimant = scope:war_leader +# target_title = scope:maghreb_target_title +# } +# } +# } +# if = { +# limit = { exists = global_var:almohads_do_not_attack_second_target } +# remove_global_variable = almohads_do_not_attack_second_target +# } +# else = { +# debug_log = "Failed to find a valid war target for the Almohads!" +# } +#} +# +# +#spawn_first_almohad_troops_effect = { +# spawn_army = { +# uses_supply = yes +# inheritable = no +# name = first_almohad_event_troops +# levies = { +# value = 1000 +# } +# location = scope:ibn_tumart.capital_province +# } +#} +# +#spawn_second_almohad_troops_effect = { +# if = { +# limit = { +# is_at_war = yes +# } +# ordered_war_enemy = { +# order_by = max_military_strength +# position = 0 +# save_scope_as = powerful_war_enemy +# } +# spawn_army = { +# uses_supply = yes +# inheritable = no +# name = second_almohad_event_troops +# levies = { +# if = { +# limit = { exists = scope:powerful_war_enemy } +# add = scope:powerful_war_enemy.max_military_strength +# multiply = 2 +# } +# else = { +# add = 3000 +# } +# } +# location = capital_province +# } +# } +#} +# \ No newline at end of file diff --git a/common/scripted_effects/00_historical_characters_scripted_effects.txt b/common/scripted_effects/00_historical_characters_scripted_effects.txt new file mode 100644 index 00000000..803b69d2 --- /dev/null +++ b/common/scripted_effects/00_historical_characters_scripted_effects.txt @@ -0,0 +1,6085 @@ +#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 +# } +# } +# } +#} +# \ No newline at end of file diff --git a/common/scripted_effects/00_major_decisions_scripted_effects.txt b/common/scripted_effects/00_major_decisions_scripted_effects.txt index be6a1c05..fbd35f21 100644 --- a/common/scripted_effects/00_major_decisions_scripted_effects.txt +++ b/common/scripted_effects/00_major_decisions_scripted_effects.txt @@ -3886,30 +3886,65 @@ restore_swedish_empire_effect = { } resolve_title_and_vassal_change = scope:change hidden_effect = { - set_primary_title_to = title:e_sweden - title:d_vasterbottena = { set_de_jure_liege_title = title:k_sweden } - title:d_norrbottena = { set_de_jure_liege_title = title:k_sweden } - title:d_giemajohka = { set_de_jure_liege_title = title:k_finland } - title:d_west_karelia = { set_de_jure_liege_title = title:k_finland } - title:k_finland = { set_de_jure_liege_title = title:e_sweden } - title:d_west_karelia = { set_de_jure_liege_title = title:k_finland } - title:k_esthonia = { set_de_jure_liege_title = title:e_sweden } - title:k_sweden = { set_de_jure_liege_title = title:e_sweden } - if = { - limit = { - exists = title:gotaland - } - destroy_title = title:gotaland - } - if = { - limit = { title:k_gotaland ?= { is_titular = no } } - title:k_gotaland = { - every_in_de_jure_hierarchy = { - limit = { tier = tier_duchy } - set_de_jure_liege_title = title:k_sweden + set_primary_title_to = title:e_sweden + if = { + limit = { + title:k_sapmi = { is_titular = no } + has_title = title:k_sapmi } + title:k_sapmi = { set_de_jure_liege_title = title:e_sweden } + set_flag = flag_swedish_sapmi + } + else = { + if = { + limit = { + title:k_sapmi = { is_titular = no } + } + title:k_sapmi = { + every_in_de_jure_hierarchy = { + limit = { + tier = tier_duchy + root = { completely_controls = prev } + OR = { + this = title:d_vasterbottena + this = title:d_norrbottena + } + } + set_de_jure_liege_title = title:k_sweden + } + every_in_de_jure_hierarchy = { + limit = { + tier = tier_duchy + root = { completely_controls = prev } + OR = { + this = title:d_giemajohka + this = title:d_gulodat + } + } + set_de_jure_liege_title = title:k_finland + } + set_de_jure_liege_title = title:e_zapadnorussia + } + } + } + title:k_finland = { set_de_jure_liege_title = title:e_sweden } + title:k_esthonia = { set_de_jure_liege_title = title:e_sweden } + title:k_sweden = { set_de_jure_liege_title = title:e_sweden } + if = { + limit = { + exists = title:gotaland + } + destroy_title = title:gotaland + } + if = { + limit = { title:k_gotaland ?= { is_titular = no } } + title:k_gotaland = { + every_in_de_jure_hierarchy = { + limit = { tier = tier_duchy } + set_de_jure_liege_title = title:k_sweden + } + } } - } if = { limit = { title:k_norway = { is_titular = no } @@ -3920,6 +3955,51 @@ restore_swedish_empire_effect = { } title:k_norway = { set_de_jure_liege_title = title:e_sweden } } + if = { + limit = { + completely_controls = title:d_finnmarku + NOT = { has_title = title:k_sapmi } + } + if = { + limit = { + OR = { + has_title = title:k_norway + completely_controls = title:k_norway + } + } + title:d_finnmarku = { set_de_jure_liege_title = title:k_norway } + } + else = { + title:d_finnmarku = { set_de_jure_liege_title = title:k_finland } + } + } + if = { + limit = { + completely_controls = title:d_guoldat + NOT = { has_title = title:k_sapmi } + } + if = { + limit = { + OR = { + has_title = title:k_norway + completely_controls = title:k_norway + } + } + title:d_guoldat = { set_de_jure_liege_title = title:k_norway } + } + else_if = { + limit = { + OR = { + has_title = title:k_karelia + completely_controls = title:k_karelia + } + } + title:d_guoldat = { set_de_jure_liege_title = title:k_karelia } + } + else = { + title:d_guoldat = { set_de_jure_liege_title = title:k_finland } + } + } if = { limit = { title:k_latvia = { is_titular = no } @@ -3930,6 +4010,16 @@ restore_swedish_empire_effect = { } title:k_latvia = { set_de_jure_liege_title = title:e_sweden } } + if = { + limit = { + title:k_pribaltia = { is_titular = no } + OR = { + has_title = title:k_pribaltia + completely_controls = title:k_pribaltia + } + } + title:k_pribaltia = { set_de_jure_liege_title = title:e_sweden } + } if = { limit = { title:k_lithuania = { is_titular = no } @@ -3958,7 +4048,19 @@ restore_swedish_empire_effect = { completely_controls = title:k_karelia } } - title:k_karelia = { set_de_jure_liege_title = title:e_sweden } + title:k_karelia = { set_de_jure_liege_title = title:e_sweden } + } + else = { + title:k_karelia = { + every_in_de_jure_hierarchy = { + limit = { + tier = tier_duchy + root = { completely_controls = prev } + } + set_de_jure_liege_title = title:k_finland + } + set_de_jure_liege_title = title:e_zapadnorussia + } } if = { limit = { @@ -3972,13 +4074,13 @@ restore_swedish_empire_effect = { } if = { limit = { - title:k_poland = { is_titular = no } + title:k_brandenburg = { is_titular = no } OR = { - has_title = title:k_poland - completely_controls = title:k_poland + has_title = title:k_brandenburg + completely_controls = title:k_brandenburg } } - title:k_poland = { set_de_jure_liege_title = title:e_sweden } + title:k_brandenburg = { set_de_jure_liege_title = title:e_sweden } } if = { limit = { @@ -3990,6 +4092,21 @@ restore_swedish_empire_effect = { } title:k_petrograd = { set_de_jure_liege_title = title:e_sweden } } + if = { + limit = { + title:k_iceland = { is_titular = no } + OR = { + has_title = title:k_iceland + completely_controls = title:k_iceland + } + } + title:k_iceland = { set_de_jure_liege_title = title:e_sweden } + } + title:e_scandinavia = { + set_title_name = k_denmark + set_color_from_title = title:k_denmark + set_coa = k_denmark + } } } diff --git a/common/scripted_effects/00_scheme_scripted_effects.txt b/common/scripted_effects/00_scheme_scripted_effects.txt index c49e5330..bfb90f4b 100644 --- a/common/scripted_effects/00_scheme_scripted_effects.txt +++ b/common/scripted_effects/00_scheme_scripted_effects.txt @@ -14862,177 +14862,177 @@ claim_throne_set_mythical_founder_variable_effect = { value = flag:charles_martell } } - else_if = { # Alexander - limit = { - OR = { - scope:target_title = title:k_thessalonika - scope:target_title = title:k_hellas - scope:target_title = title:k_egypt - AND = { - OR = { - scope:target_title = title:k_persia - scope:target_title = title:e_persia - } - NOR = { - root.faith.religion = religion:islam_religion - root.faith.religion = religion:zoroastrianism_religion - } - } - scope:target_title = title:k_anatolia - } - } - set_variable = { - name = mythical_founder - value = flag:alexander - } - } - else_if = { # Lech - limit = { - scope:target_title = title:k_poland # Lech - } - set_variable = { - name = mythical_founder - value = flag:lech - } - } - else_if = { # Czech - limit = { - scope:target_title = title:k_bohemia # Lech - } - set_variable = { - name = mythical_founder - value = flag:czech - } - } - else_if = { # Rus - limit = { - OR = { # Rus - scope:target_title = title:k_white_rus - scope:target_title = title:k_ruthenia - scope:target_title = title:e_russia - } - } - set_variable = { - name = mythical_founder - value = flag:rus - } - } - else_if = { # Arthur - limit = { - OR = { - scope:target_title = title:k_wales - scope:target_title = title:k_cornwall - scope:target_title = title:k_england - scope:target_title = title:e_britannia - } - } - set_variable = { - name = mythical_founder - value = flag:arthur - } - } - else_if = { # Belisarius - limit = { - OR = { - scope:target_title = title:k_italy - scope:target_title = title:k_romagna - scope:target_title = title:k_sardinia - scope:target_title = title:e_italy - scope:target_title = title:h_roman_empire - scope:target_title = title:h_eastern_roman_empire - } - faith = faith:orthodox - } - set_variable = { - name = mythical_founder - value = flag:belisarius - } - } - else_if = { # Romulus - limit = { - OR = { - scope:target_title = title:k_italy - scope:target_title = title:k_romagna - scope:target_title = title:k_sardinia - scope:target_title = title:e_italy - scope:target_title = title:h_roman_empire - scope:target_title = title:h_eastern_roman_empire - } - } - set_variable = { - name = mythical_founder - value = flag:romulus - } - } - else_if = { # Ardashir - limit = { - OR = { - scope:target_title = title:k_persia - scope:target_title = title:e_persia - } - } - set_variable = { - name = mythical_founder - value = flag:ardashir - } - } - else_if = { # The Pharaohs - limit = { - scope:target_title = title:k_egypt - NOT = { religion = religion:islam_religion } - } - set_variable = { - name = mythical_founder - value = flag:pharaohs - } - } - else_if = { # The Visigothic Kings - limit = { - OR = { - scope:target_title = title:k_castille - scope:target_title = title:k_aragon - scope:target_title = title:k_navarra - scope:target_title = title:k_andalusia - scope:target_title = title:k_portugal - scope:target_title = title:e_spain - } - NOT = { religion = religion:islam_religion } - } - set_variable = { - name = mythical_founder - value = flag:visigothic_kings - } - } - else_if = { # Abd al-Rahman - limit = { - OR = { - scope:target_title = title:k_castille - scope:target_title = title:k_aragon - scope:target_title = title:k_navarra - scope:target_title = title:k_andalusia - scope:target_title = title:k_portugal - scope:target_title = title:e_spain - } - religion = religion:islam_religion - } - set_variable = { - name = mythical_founder - value = flag:abd_al_rahman - } - } - else_if = { # Zenobia - limit = { - OR = { - scope:target_title = title:k_syria - scope:target_title = title:k_mesopotamia - } - NOT = { religion = religion:islam_religion } - } - set_variable = { - name = mythical_founder - value = flag:zenobia - } - } +# else_if = { # Alexander +# limit = { +# OR = { +# scope:target_title = title:k_thessalonika +# scope:target_title = title:k_hellas +# scope:target_title = title:k_egypt +# AND = { +# OR = { +# scope:target_title = title:k_persia +# scope:target_title = title:e_persia +# } +# NOR = { +# root.faith.religion = religion:islam_religion +# root.faith.religion = religion:zoroastrianism_religion +# } +# } +# scope:target_title = title:k_anatolia +# } +# } +# set_variable = { +# name = mythical_founder +# value = flag:alexander +# } +# } +# else_if = { # Lech +# limit = { +# scope:target_title = title:k_poland # Lech +# } +# set_variable = { +# name = mythical_founder +# value = flag:lech +# } +# } +# else_if = { # Czech +# limit = { +# scope:target_title = title:k_bohemia # Lech +# } +# set_variable = { +# name = mythical_founder +# value = flag:czech +# } +# } +# else_if = { # Rus +# limit = { +# OR = { # Rus +# scope:target_title = title:k_white_rus +# scope:target_title = title:k_ruthenia +# scope:target_title = title:e_russia +# } +# } +# set_variable = { +# name = mythical_founder +# value = flag:rus +# } +# } +# else_if = { # Arthur +# limit = { +# OR = { +# scope:target_title = title:k_wales +# scope:target_title = title:k_cornwall +# scope:target_title = title:k_england +# scope:target_title = title:e_britannia +# } +# } +# set_variable = { +# name = mythical_founder +# value = flag:arthur +# } +# } +# else_if = { # Belisarius +# limit = { +# OR = { +# scope:target_title = title:k_italy +# scope:target_title = title:k_romagna +# scope:target_title = title:k_sardinia +# scope:target_title = title:e_italy +# scope:target_title = title:h_roman_empire +# scope:target_title = title:h_eastern_roman_empire +# } +# faith = faith:orthodox +# } +# set_variable = { +# name = mythical_founder +# value = flag:belisarius +# } +# } +# else_if = { # Romulus +# limit = { +# OR = { +# scope:target_title = title:k_italy +# scope:target_title = title:k_romagna +# scope:target_title = title:k_sardinia +# scope:target_title = title:e_italy +# scope:target_title = title:h_roman_empire +# scope:target_title = title:h_eastern_roman_empire +# } +# } +# set_variable = { +# name = mythical_founder +# value = flag:romulus +# } +# } +# else_if = { # Ardashir +# limit = { +# OR = { +# scope:target_title = title:k_persia +# scope:target_title = title:e_persia +# } +# } +# set_variable = { +# name = mythical_founder +# value = flag:ardashir +# } +# } +# else_if = { # The Pharaohs +# limit = { +# scope:target_title = title:k_egypt +# NOT = { religion = religion:islam_religion } +# } +# set_variable = { +# name = mythical_founder +# value = flag:pharaohs +# } +# } +# else_if = { # The Visigothic Kings +# limit = { +# OR = { +# scope:target_title = title:k_castille +# scope:target_title = title:k_aragon +# scope:target_title = title:k_navarra +# scope:target_title = title:k_andalusia +# scope:target_title = title:k_portugal +# scope:target_title = title:e_spain +# } +# NOT = { religion = religion:islam_religion } +# } +# set_variable = { +# name = mythical_founder +# value = flag:visigothic_kings +# } +# } +# else_if = { # Abd al-Rahman +# limit = { +# OR = { +# scope:target_title = title:k_castille +# scope:target_title = title:k_aragon +# scope:target_title = title:k_navarra +# scope:target_title = title:k_andalusia +# scope:target_title = title:k_portugal +# scope:target_title = title:e_spain +# } +# religion = religion:islam_religion +# } +# set_variable = { +# name = mythical_founder +# value = flag:abd_al_rahman +# } +# } +# else_if = { # Zenobia +# limit = { +# OR = { +# scope:target_title = title:k_syria +# scope:target_title = title:k_mesopotamia +# } +# NOT = { religion = religion:islam_religion } +# } +# set_variable = { +# name = mythical_founder +# value = flag:zenobia +# } +# } else = { set_variable = { name = mythical_founder diff --git a/events/decisions_events/bp3_decisions_events.txt b/events/decisions_events/bp3_decisions_events.txt new file mode 100644 index 00000000..bef01c23 --- /dev/null +++ b/events/decisions_events/bp3_decisions_events.txt @@ -0,0 +1,42 @@ +namespace = bp3_decisions + +bp3_decisions.0100 = { + type = character_event + title = bp3_decisions.0100.t + desc = bp3_decisions.0100.desc + theme = realm + + left_portrait = { + character = root + animation = personality_honorable + } + + immediate = { + house = { + add_house_modifier = { + modifier = legacy_adventurer_house_modifier + } + } + } + + # Do some justicar contracts + option = { + name = bp3_decisions.0100.a + custom_tooltip = bp3_decisions.0100.a_tt + + hidden_effect = { + populate_task_contracts_for_area = { + location = root.location + amount = 3 + group = { laamp_contracts_justicar_group } + } + } + } + + # Become legitimists + option = { + name = bp3_decisions.0100.b + trigger = { NOT = { has_realm_law = camp_purpose_legitimists } } + add_realm_law_skip_effects = camp_purpose_legitimists + } +} \ No newline at end of file diff --git a/events/decisions_events/british_isles_events.txt b/events/decisions_events/british_isles_events.txt new file mode 100644 index 00000000..7381817e --- /dev/null +++ b/events/decisions_events/british_isles_events.txt @@ -0,0 +1,1282 @@ +namespace = british_isles + +################################################## + +### British Isles Major Decision Events + +# 0001 - Reclaiming Britannia +# 1001 - Restoring the Danelaw +# 2001 - Embrace English Culture +# 3001 - Request Laudabiliter + +################################################## + +################################################## +# Reclaim Britannia +# by Linnéa Thimrén +################################################## + +#british_isles.0001 = { +# type = character_event +# title = british_isles.0001.t +# desc = british_isles.0001.desc +# theme = realm +# left_portrait = { +# character = scope:reclaimer +# animation = personality_honorable +# } +# +# immediate = { +# play_music_cue = "mx_cue_epic_sacral_moment" +# save_scope_as = reclaimer +# reclaim_britannia_decision_effect = yes +# legend_seed_great_deed_region_effect = { +# REGION = geographical_region:world_europe_west_britannia +# } +# } +# +# option = { +# name = british_isles.0001.a +# } +#} +# +## Players informed +#british_isles.0002 = { +# type = character_event +# title = british_isles.0001.t +# desc = british_isles.0002.desc +# theme = realm +# left_portrait = { +# character = scope:reclaimer +# animation = personality_honorable +# } +# +# option = { # Not celtic +# name = british_isles.0002.a +# trigger = { +# NOR = { +# culture = { has_cultural_pillar = heritage_goidelic } +# culture = { has_cultural_pillar = heritage_brythonic } +# } +# } +# } +# option = { # Also celtic +# name = british_isles.0002.b +# trigger = { +# OR = { +# culture = { has_cultural_pillar = heritage_goidelic } +# culture = { has_cultural_pillar = heritage_brythonic } +# } +# } +# } +#} + +################################################## +# Restoring the Danelaw +# by Linnéa Thimrén +################################################## +# +#british_isles.1001 = { +# type = character_event +# title = british_isles.1001.t +# desc = british_isles.1001.desc +# theme = realm +# orphan = yes +# left_portrait = { +# character = scope:restorer +# animation = personality_honorable +# } +# +# immediate = { +# save_scope_as = restorer +# +# restore_the_danelaw_effect = yes +# } +# +# option = { +# name = british_isles.1001.a +# } +#} +# +## Players informed of the Danelaw being created +#british_isles.1002 = { +# type = character_event +# title = british_isles.1002.t +# orphan = yes +# desc = { +# first_valid = { +# triggered_desc = { +# trigger = { +# culture = { has_cultural_pillar = heritage_north_germanic } +# } +# desc = british_isles.1002.desc_same_culture +# } +# desc = british_isles.1002.desc +# } +# } +# theme = realm +# left_portrait = { +# character = scope:restorer +# animation = personality_honorable +# } +# override_background = { reference = farmland } +# +# option = { # Not Danish +# name = british_isles.1002.a +# trigger = { +# NOT = { culture = { has_cultural_pillar = heritage_north_germanic } } +# } +# } +# +# option = { # Also Danish +# name = british_isles.1002.b +# trigger = { +# culture = { has_cultural_pillar = heritage_north_germanic } +# } +# } +# +# option = { # Give players close to restorer a chance to convert +# name = british_isles.1002.c +# trigger = { +# root.culture != scope:restorer.culture +# OR = { +# is_close_family_of = scope:restorer +# is_vassal_of = scope:restorer +# } +# } +# set_culture = scope:restorer.culture +# hidden_effect = { +# if = { +# limit = { any_spouse = { is_landed = no } } +# every_spouse = { +# set_culture = scope:restorer.culture +# } +# } +# if = { +# limit = { +# any_close_family_member = { +# is_landed = no +# NOT = { is_spouse_of = prev } +# } +# } +# every_close_family_member = { +# limit = { +# is_landed = no +# NOT = { is_spouse_of = prev } +# } +# set_culture = scope:restorer.culture +# } +# } +# } +# } +#} +# +## You proposition a powerful opposing warlord about partitioning the nation. +## by Ewan Cowhig Croft +#british_isles.1011 = { +# type = character_event +# title = british_isles.1011.t +# desc = { +# first_valid = { +# triggered_desc = { +# trigger = { negotiate_the_danelaw_norse_side_trigger = yes } +# desc = british_isles.1011.nord +# } +# desc = british_isles.1011.brit +# } +# desc = british_isles.1011.outro +# } +# theme = crown +# left_portrait = { +# character = scope:ntd_actor +# animation = personality_rational +# } +# right_portrait = { +# character = scope:ntd_recipient +# animation = personality_bold +# } +# +# immediate = { +# # Grab actors. +# ## Root initially. +# save_scope_as = ntd_actor +# ## But also the best possible opposition. +# ### We start by grabbing all possible opposition. +# title:k_england = { +# every_in_de_jure_hierarchy = { +# limit = { +# holder ?= { negotiate_the_danelaw_valid_danelaw_opponent_trigger = yes } +# } +# holder = { add_to_list = possible_danelaw_partners_list } +# } +# } +# ### Then sort through those to find the best. +# ordered_in_list = { +# list = possible_danelaw_partners_list +# order_by = negotiate_the_danelaw_preferable_opponent_value +# save_scope_as = ntd_recipient +# } +# ## Now, let's figure out who's who. +# scope:ntd_actor = { +# if = { +# limit = { negotiate_the_danelaw_british_side_trigger = yes } +# save_scope_as = ntd_brit +# } +# else = { save_scope_as = ntd_nord } +# } +# scope:ntd_recipient = { +# if = { +# limit = { exists = scope:ntd_brit } +# save_scope_as = ntd_nord +# } +# else = { save_scope_as = ntd_brit } +# } +# } +# +# # Send the letter. +# option = { +# name = british_isles.1011.a +# +# # Scope:ntd_recipient will get to decide. +# custom_tooltip = british_isles.1011.a.tt +# scope:ntd_recipient = { trigger_event = british_isles.1021 } +# # Show the possible results. +# show_as_tooltip = { negotiate_the_danelaw_each_way_effect = yes } +# +# # No stress for the basic option. +# ai_chance = { +# # AI should always be fairly likely to pick this. +# base = 100 +# } +# } +# +# # Send the letter, and an open hand of friendship. +# option = { +# name = british_isles.1011.b +# trigger = { +# # Must be following a reformed faith. +# faith = { +# NOT = { has_doctrine_parameter = unreformed } +# } +# # And be able to accept them as a friend. +# can_set_relation_friend_trigger = { CHARACTER = scope:ntd_recipient } +# } +# +# # All of the above results apply. +# custom_tooltip = british_isles.1011.b.above_applies.tt +# # But also you'll take them into your faith & household. +# custom_tooltip = british_isles.1011.b.offer_faith.tt +# save_scope_value_as = { +# name = ntd_friendship_offered +# value = yes +# } +# scope:ntd_recipient = { trigger_event = british_isles.1021 } +# +# stress_impact = { +# gregarious = minor_stress_impact_loss +# zealous = medium_stress_impact_loss +# forgiving = major_stress_impact_loss +# trusting = major_stress_impact_loss +# shy = minor_stress_impact_gain +# cynical = medium_stress_impact_gain +# vengeful = major_stress_impact_gain +# paranoid = major_stress_impact_gain +# } +# ai_chance = { +# base = 100 +# ai_value_modifier = { +# ai_compassion = 1 +# ai_vengefulness = -1 +# } +# modifier = { # Weight up for stress. +# add = 10 +# has_trait = gregarious +# } +# modifier = { # Weight up for stress. +# add = 20 +# has_trait = zealous +# } +# modifier = { # Weight up for stress. +# add = 30 +# has_trait = forgiving +# } +# modifier = { # Weight up for stress. +# add = 30 +# has_trait = trusting +# } +# modifier = { # Weight down for stress. +# add = -10 +# has_trait = shy +# } +# modifier = { # Weight down for stress. +# add = -20 +# has_trait = cynical +# } +# modifier = { # Weight down for stress. +# add = -30 +# has_trait = vengeful +# } +# modifier = { # Weight down for stress. +# add = -30 +# has_trait = paranoid +# } +# } +# } +# +# # Diplomacy is the coward's way out! +# option = { +# name = british_isles.1011.c +# +# # The Danelaw may yet be negotiated by someone else. +# custom_tooltip = british_isles.1011.c.tt +# remove_list_global_variable = { +# name = unavailable_unique_decisions +# target = flag:negotiate_the_danelaw_decision +# } +# +# # No stress for cancelling out of a decision before it's started. +# ai_chance = { +# # If the AI has taken the decision, then they should always go through with it. +# base = 0 +# } +# } +#} +# +#scripted_effect british_isles_1021_notify_other_players_effect = { +# every_player = { +# limit = { +# NOR = { +# this = scope:ntd_actor +# this = scope:ntd_recipient +# } +# any_sub_realm_county = { +# title_province = { geographical_region = world_europe_west_britannia } +# } +# } +# trigger_event = british_isles.1022 +# } +#} +# +## An enemy ruler proposes that you and they partition k_england. +## by Ewan Cowhig Croft +#british_isles.1021 = { +# type = character_event +# title = british_isles.1021.t +# desc = { +# desc = british_isles.1021.intro +# first_valid = { +# triggered_desc = { +# trigger = { negotiate_the_danelaw_norse_side_trigger = yes } +# desc = british_isles.1021.nord +# } +# desc = british_isles.1021.brit +# } +# desc = british_isles.1021.outro +# } +# theme = crown +# left_portrait = { +# character = scope:ntd_recipient +# animation = personality_rational +# } +# right_portrait = { +# character = scope:ntd_actor +# animation = personality_bold +# } +# override_background = { reference = farmland } +# +# trigger = { negotiate_the_danelaw_basic_filter_trigger = yes } +# +# on_trigger_fail = { +# # Inform scope:ntd_actor that something has gone wrong. +# scope:ntd_actor = { +# send_interface_toast = { +# title = british_isles.1021.invalidation.t +# left_icon = scope:ntd_recipient +# custom_tooltip = british_isles.1021.invalidation.tt +# remove_list_global_variable = { +# name = unavailable_unique_decisions +# target = flag:negotiate_the_danelaw_decision +# } +# } +# } +# } +# +# # A crown that none can deny, you say? +# option = { +# name = british_isles.1021.a +# +# # Inform scope:ntd_actor. +# hidden_effect = { +# scope:ntd_actor = { +# send_interface_toast = { +# title = british_isles.1021.a.accepted +# left_icon = scope:ntd_recipient +# custom_tooltip = british_isles.1021.a.accepted.tt +# } +# } +# } +# # And inform other players. +# british_isles_1021_notify_other_players_effect = yes +# # Then apply effects. +# negotiate_the_danelaw_accept_effect = yes +# +# # No stress for the basic option. +# ai_chance = { +# # AI should always be fairly likely to pick this. +# base = 100 +# } +# } +# +# # Perhaps... perhaps it #EMP is#! time for a change... +# option = { +# name = british_isles.1021.b +# trigger = { exists = scope:ntd_friendship_offered } +# +# # Inform scope:ntd_actor. +# hidden_effect = { +# scope:ntd_actor = { +# send_interface_toast = { +# title = british_isles.1021.b.accepted.critical +# left_icon = scope:ntd_recipient +# custom_tooltip = british_isles.1021.b.accepted.critical.tt +# } +# } +# } +# # And inform other players. +# british_isles_1021_notify_other_players_effect = yes +# # All of the above results apply. +# custom_tooltip = british_isles.1021.b.above_applies.tt +# hidden_effect = { negotiate_the_danelaw_accept_effect = yes } +# # And _also_ you switch faith and are accepted as a friend of scope:ntd_actor. +# set_relation_friend = { reason = friend_partitioned_england target = scope:ntd_recipient } +# # If possible, switch to scope:ntd_actor's faith. +# ## Yeah, I realise that this is an easy way to skirt the restrictions from HumSac'ing a HoF. :) Benefits of having a godperson vouch for you. +# if = { +# limit = { +# scope:ntd_recipient.faith != scope:ntd_actor.faith +# } +# scope:ntd_recipient = { set_character_faith_with_conversion = scope:ntd_actor } +# } +# +# stress_impact = { +# gregarious = minor_stress_impact_loss +# cynical = medium_stress_impact_loss +# trusting = medium_stress_impact_loss +# shy = minor_stress_impact_gain +# zealous = major_stress_impact_gain +# paranoid = major_stress_impact_gain +# } +# ai_chance = { +# base = 100 +# ai_value_modifier = { +# ai_compassion = 0.5 +# ai_vengefulness = -0.25 +# ai_zeal = -1 +# } +# modifier = { # Weight up for stress. +# add = 10 +# has_trait = gregarious +# } +# modifier = { # Weight up for stress. +# add = 20 +# has_trait = cynical +# } +# modifier = { # Weight up for stress. +# add = 20 +# has_trait = trusting +# } +# modifier = { # Weight down for stress. +# add = -10 +# has_trait = shy +# } +# modifier = { # Weight down for stress. +# add = -30 +# has_trait = zealous +# } +# modifier = { # Weight down for stress. +# add = -30 +# has_trait = paranoid +# } +# } +# } +# +# # What rot! Let all the world see HerHis cowardice! +# option = { +# name = british_isles.1021.c +# +# # Inform scope:ntd_actor that their bargain has been rejected. +# hidden_effect = { +# scope:ntd_actor = { +# send_interface_toast = { +# title = british_isles.1021.c.rejected +# left_icon = scope:ntd_recipient +# custom_tooltip = british_isles.1021.c.rejected.tt +# } +# } +# } +# # Apply rejection effects. +# negotiate_the_danelaw_reject_effect = yes +# +# # No stress for not going in on the risky game-changing deal. +# ai_chance = { +# # We basically always want the AI to agree to this. +# base = 0 +# } +# } +#} +# +## Danelaw Negotiated, other POV. +## by Ewan Cowhig Croft +#british_isles.1022 = { +# type = character_event +# title = british_isles.1022.t +# desc = british_isles.1022.desc +# theme = crown +# left_portrait = { +# character = scope:ntd_actor +# animation = personality_honorable +# } +# right_portrait = { +# character = scope:ntd_recipient +# animation = personality_rational +# } +# override_background = { reference = farmland } +# +# immediate = { +# play_music_cue = "mx_cue_peace_ensues" +# # Show the effects playing out elsewhere. +# show_as_tooltip = { negotiate_the_danelaw_accept_effect = yes } +# # Save a dummy gender for loc. +# random_dummy_gender_soldier_effect = { SCOPE_NAME = dummy_gender } +# } +# +# # What brazen treachery of their countrywomenmen is this? +# option = { +# name = british_isles.1022.a +# +# # A partition is begun... +# custom_tooltip = british_isles.1022.a.tt +# +# # No stress for a simply notification event. +# ai_chance = { +# # No need for complex AI chance for single-option event. +# base = 100 +# } +# } +#} +# +## Partition Result - Destruction +#british_isles.1031 = { +# hidden = yes +# orphan = yes +# +# trigger = { +# # Partition must be active. +# exists = global_var:partition_active_danelaw +# # And the destroyed title must be one of the two partitioned entities. +# OR = { +# scope:landed_title = title:k_england +# scope:landed_title = title:k_danelaw +# } +# } +# +# immediate = { +# # If k_england has been destroyed, set k_danelaw as the de jure inheritor. +# if = { +# limit = { scope:landed_title = title:k_england } +# title:k_danelaw = { save_scope_as = partition_winner } +# # Try to grab the old holder for down the line. +# if = { +# limit = { +# exists = this +# is_alive = yes +# } +# save_scope_as = loser +# } +# } +# # If k_danelaw has been destroyed, set k_england as the de jure inheritor. +# if = { +# limit = { scope:landed_title = title:k_danelaw } +# title:k_england = { save_scope_as = partition_winner } +# if = { +# limit = { +# exists = this +# is_alive = yes +# } +# save_scope_as = loser +# } +# } +# # Either way, trigger the maintenance event. +# trigger_event = british_isles.1041 +# } +#} +# +## Partition Result - Gained Both +#british_isles.1032 = { +# hidden = yes +# +# trigger = { +# # Partition must be active. +# exists = global_var:partition_active_danelaw +# # The gained title must be one of the two partitioned entities. +# OR = { +# scope:title = title:k_england +# scope:title = title:k_danelaw +# } +# # And you must now hold both titles. +# this = title:k_england.holder +# this = title:k_danelaw.holder +# } +# +# immediate = { +# # If k_england has been inherited, set k_danelaw as the de jure inheritor. +# if = { +# limit = { scope:title = title:k_england } +# title:k_danelaw = { save_scope_as = partition_winner } +# # Try to grab the old holder for down the line. +# if = { +# limit = { exists = scope:previous_holder } +# scope:previous_holder = { save_scope_as = loser } +# } +# } +# # If k_danelaw has been inherited, set k_england as the de jure inheritor. +# if = { +# limit = { scope:title = title:k_danelaw } +# title:k_england = { save_scope_as = partition_winner } +# # Try to grab the old holder for down the line. +# if = { +# limit = { exists = scope:previous_holder } +# scope:previous_holder = { save_scope_as = loser } +# } +# } +# # Either way, trigger the maintenance event. +# trigger_event = british_isles.1041 +# } +#} +# +#scripted_trigger british_isles_1033_england_lost_last_de_jure_trigger = { +# AND = { +# this = title:k_england.holder +# title:k_england = { +# any_in_de_jure_hierarchy = { +# tier = tier_county +# count = 0 +# save_temporary_scope_as = county +# root = { +# any_sub_realm_county = { this = scope:county } +# } +# } +# } +# } +#} +# +#scripted_trigger british_isles_1033_danelaw_lost_last_de_jure_trigger = { +# AND = { +# this = title:k_danelaw.holder +# title:k_danelaw = { +# any_in_de_jure_hierarchy = { +# tier = tier_county +# count <= 0 +# save_temporary_scope_as = county +# root = { +# any_sub_realm_county = { this = scope:county } +# } +# } +# } +# } +#} +# +## Partition Result - Lost All De Jure +#british_isles.1033 = { +# hidden = yes +# +# trigger = { +# # Partition must be active. +# exists = global_var:partition_active_danelaw +# # Must hold one of the two partitioned titles. +# OR = { +# this = title:k_england.holder +# this = title:k_danelaw.holder +# } +# # But not any of the de jure land beneath them. +# OR = { +# # First the k_england check. +# british_isles_1033_england_lost_last_de_jure_trigger = yes +# # Then the k_danelaw check. +# british_isles_1033_danelaw_lost_last_de_jure_trigger = yes +# } +# } +# +# immediate = { +# # If k_england has lost its last de jure, set k_danelaw as the de jure inheritor. +# if = { +# limit = { british_isles_1033_england_lost_last_de_jure_trigger = yes } +# title:k_danelaw = { save_scope_as = partition_winner } +# # Try to grab the old holder for down the line. +# title:k_england = { +# if = { +# limit = { +# exists = this.holder +# holder = { is_alive = yes } +# } +# holder = { save_scope_as = loser } +# } +# } +# } +# # If k_danelaw has lost its last de jure, set k_england as the de jure inheritor. +# if = { +# limit = { british_isles_1033_danelaw_lost_last_de_jure_trigger = yes } +# title:k_england = { save_scope_as = partition_winner } +# # Try to grab the old holder for down the line. +# title:k_danelaw = { +# if = { +# limit = { +# exists = this.holder +# holder = { is_alive = yes } +# } +# holder = { save_scope_as = loser } +# } +# } +# } +# # Either way, trigger the maintenance event. +# trigger_event = british_isles.1041 +# } +#} +# +## Partition Result - Processing +#british_isles.1041 = { +# hidden = yes +# +# trigger = { +# # Prevent looping my ensuring that the partition is active... +# exists = global_var:partition_active_danelaw +# } +# +# immediate = { +# # ... & then immediately removing its active status. +# remove_global_variable = partition_active_danelaw +# # First, let's save some scopes for loc & general convenience. +# scope:partition_winner.holder = { save_scope_as = victor } +# if = { +# limit = { scope:partition_winner = title:k_england } +# title:k_danelaw = { save_scope_as = partition_loser } +# } +# else_if = { +# limit = { scope:partition_winner = title:k_danelaw } +# title:k_england = { save_scope_as = partition_loser } +# } +# title:k_england = { save_scope_as = england } +# # Send out result events. +# ## To the winner. +# scope:victor = { trigger_event = british_isles.1051 } +# ## If they're still alive, to the loser. +# if = { +# limit = { exists = scope:loser } +# scope:loser = { trigger_event = british_isles.1052 } +# } +# ## And any other players within the British Isles. +# every_player = { +# limit = { +# NOR = { +# this = scope:victor +# AND = { +# exists = scope:loser +# this = scope:loser +# } +# } +# any_sub_realm_county = { +# title_province = { geographical_region = world_europe_west_britannia } +# } +# } +# trigger_event = british_isles.1053 +# } +# # Process the actual results. +# ## We do this last so that we can show correct tooltips in the various preceding events. +# resolve_danelaw_partition_effect = yes +# } +#} +# +## Danelaw Partition Settled, Scope:victor POV. +## by Ewan Cowhig Croft +#british_isles.1051 = { +# type = character_event +# title = british_isles.1051.t +# desc = british_isles.1051.desc +# theme = crown +# left_portrait = { +# character = scope:victor +# animation = personality_honorable +# } +# right_portrait = { +# character = scope:loser +# animation = shame +# } +# override_background = { reference = farmland } +# +# immediate = { +# play_music_cue = "mx_cue_peace_ensues" +# # Show the effects playing out elsewhere. +# show_as_tooltip = { resolve_danelaw_partition_effect = yes } +# } +# +# # One realm, one GetTitleAsName! +# option = { +# name = british_isles.1051.a +# +# # Gain a hefty chunk of prestige. +# add_prestige = massive_prestige_gain +# # The partition is ended! +# custom_tooltip = british_isles.1051.a.tt +# +# # No stress for a simply notification event. +# ai_chance = { +# # No need for complex AI chance for single-option event. +# base = 100 +# } +# } +#} +# +## Danelaw Partition Settled, Scope:loser POV. +## by Ewan Cowhig Croft +#british_isles.1052 = { +# type = character_event +# title = british_isles.1052.t +# desc = british_isles.1052.desc +# theme = crown +# left_portrait = { +# character = scope:loser +# animation = shame +# } +# right_portrait = { +# character = scope:victor +# animation = schadenfreude +# } +# override_background = { reference = farmland } +# +# immediate = { +# play_music_cue = "mx_cue_murder" +# # Show the effects playing out elsewhere. +# show_as_tooltip = { resolve_danelaw_partition_effect = yes } +# } +# +# # There will be a reckoning for this slight. +# option = { +# name = british_isles.1052.a +# +# # Gain some penalty stress. +# add_stress = medium_stress_gain +# # The partition is ended! +# custom_tooltip = british_isles.1052.a.tt +# +# # No stress for a simply notification event. +# ai_chance = { +# # No need for complex AI chance for single-option event. +# base = 100 +# } +# } +#} +# +## Danelaw Partition Settled, other POV. +## by Ewan Cowhig Croft +#british_isles.1053 = { +# type = character_event +# title = british_isles.1053.t +# desc = british_isles.1053.desc +# theme = crown +# left_portrait = { +# character = scope:victor +# animation = personality_honorable +# } +# right_portrait = { +# character = scope:loser +# animation = shame +# } +# override_background = { reference = farmland } +# +# immediate = { +# play_music_cue = "mx_cue_peace_ensues" +# # Show the effects playing out elsewhere. +# show_as_tooltip = { resolve_danelaw_partition_effect = yes } +# } +# +# # Stability for England at last? +# option = { +# name = british_isles.1053.a +# +# # The partition is ended! +# custom_tooltip = british_isles.1053.a.tt +# +# # No stress for a simply notification event. +# ai_chance = { +# # No need for complex AI chance for single-option event. +# base = 100 +# } +# } +#} +# +## Daneland Formalised, Scope:founder POV. +## by Ewan Cowhig Croft +#british_isles.1061 = { +# type = character_event +# title = british_isles.1061.t +# desc = british_isles.1061.desc +# theme = crown +# left_portrait = { +# character = scope:founder +# animation = personality_honorable +# } +# right_portrait = { +# character = scope:england +# animation = rage +# } +# override_background = { reference = farmland } +# +# immediate = { +# play_music_cue = "mx_cue_peace_ensues" +# # Show the effects playing out elsewhere. +# formalise_the_daneland_effect = yes +# } +# +# # We shall find out together. +# option = { +# name = british_isles.1061.a +# +# # Gain a hefty chunk of prestige. +# add_prestige = major_prestige_gain +# +# # No stress for a simply notification event. +# ai_chance = { +# # No need for complex AI chance for single-option event. +# base = 100 +# } +# } +#} +# +## Daneland Formalised, Scope:england POV. +## by Ewan Cowhig Croft +#british_isles.1062 = { +# type = character_event +# title = british_isles.1062.t +# desc = british_isles.1062.desc +# theme = crown +# left_portrait = { +# character = scope:england +# animation = shame +# } +# right_portrait = { +# character = scope:founder +# animation = schadenfreude +# } +# override_background = { reference = farmland } +# +# immediate = { +# play_music_cue = "mx_cue_murder" +# # Show the effects playing out elsewhere. +# show_as_tooltip = { +# scope:founder = { formalise_the_daneland_effect = yes } +# } +# } +# +# # HerHis soil was English once, and will be English again. +# option = { +# name = british_isles.1062.a +# +# # Gain some penalty stress. +# add_stress = medium_stress_gain +# +# # No stress for a simply notification event. +# ai_chance = { +# # No need for complex AI chance for single-option event. +# base = 100 +# } +# } +#} +# +## Daneland Formalised, other POV. +## by Ewan Cowhig Croft +#british_isles.1063 = { +# type = character_event +# title = british_isles.1063.t +# desc = british_isles.1063.desc +# theme = crown +# left_portrait = { +# character = scope:founder +# animation = personality_honorable +# } +# right_portrait = { +# character = scope:england +# animation = shame +# } +# override_background = { reference = farmland } +# +# immediate = { +# play_music_cue = "mx_cue_peace_ensues" +# # Show the effects playing out elsewhere. +# show_as_tooltip = { +# scope:founder = { formalise_the_daneland_effect = yes } +# } +# } +# +# # Perhaps this will calm some tempers... +# option = { +# name = british_isles.1063.a +# +# # The partition is ended! +# custom_tooltip = british_isles.1063.a.tt +# +# # No stress for a simply notification event. +# ai_chance = { +# # No need for complex AI chance for single-option event. +# base = 100 +# } +# } +#} +# +################################################### +## Embrace English culture +## by Linnéa Thimrén +################################################### +# +#british_isles.2001 = { +# type = character_event +# title = british_isles.2001.t +# desc = british_isles.2001.desc +# theme = culture_change +# left_portrait = { +# character = scope:embracer +# animation = personality_bold +# } +# +# immediate = { +# save_scope_as = embracer +# culture = { save_scope_as = embracer_former_culture } +# } +# +# option = { +# name = british_isles.2001.a +# embrace_english_culture_effect = yes +# hidden_effect = { # Moved here from embrace_english_culture_decision +# # Send event to other players +# every_player = { +# limit = { +# this != root +# OR = { +# primary_title = { +# OR = { +# de_jure_liege = title:e_britannia +# de_jure_liege.de_jure_liege = title:e_britannia +# de_jure_liege.de_jure_liege.de_jure_liege = title:e_britannia +# } +# } +# culture = { has_cultural_pillar = heritage_north_germanic } +# culture = { has_cultural_pillar = heritage_central_germanic } +# culture = { has_cultural_pillar = heritage_west_germanic } +# culture = { has_cultural_pillar = heritage_goidelic } +# culture = { has_cultural_pillar = heritage_brythonic } +# } +# } +# trigger_event = british_isles.2002 +# } +# } +# } +#} +# +## Players informed +#british_isles.2002 = { +# type = character_event +# title = british_isles.2001.t +# desc = british_isles.2002.desc +# theme = culture_change +# left_portrait = { +# character = scope:embracer +# animation = personality_bold +# } +# +# option = { # Not norman +# name = british_isles.2002.a +# trigger = { +# NOT = { has_culture = scope:embracer.culture } +# } +# } +# option = { # Also norman +# name = british_isles.2002.b +# trigger = { +# has_culture = scope:embracer.culture +# } +# } +#} + +################################################## +# Laudabiliter +# by Flavio Verna +################################################## + +british_isles.3001 = { + type = letter_event + opening = { + desc = british_isles.3001.t + } + desc = british_isles.3001.desc + sender = { + character = scope:scoped_pope + animation = personality_zealous + } + + immediate = { + save_scope_as = scoped_ruler + root.faith.religious_head = { + save_scope_as = scoped_pope + } + house = { + add_house_modifier = { + modifier = ireland_laudabiliter_modifier + years = 100 + } + } + } + + option = { #Inform relevant players. + name = british_isles.3001.a + every_player = { + limit = { + this != root + OR = { + culture = { has_cultural_pillar = heritage_west_germanic } + culture = { has_cultural_pillar = heritage_goidelic } + } + } + trigger_event = british_isles.3002 + } + } +} + +british_isles.3002 = { + type = character_event + title = british_isles.3002.t + desc = british_isles.3002.desc.irish + theme = war + left_portrait = { + character = scope:scoped_pope + animation = personality_zealous + } + right_portrait = { + character = scope:scoped_ruler + animation = scheme + } + + option = { + name = { + trigger = { + capital_province = { + geographical_region = custom_roman_hibernia + } + NOT = { target_is_liege_or_above = scope:scoped_ruler } + } + text = british_isles.3002.a + } + name = { + trigger = { + OR = { + target_is_liege_or_above = scope:scoped_ruler + NOT = { + capital_province = { + geographical_region = custom_roman_hibernia + } + } + } + } + text = british_isles.3002.b + } + if = { + limit = { + capital_province = { + geographical_region = custom_roman_hibernia + } + NOT = { target_is_liege_or_above = scope:scoped_ruler } + } + add_opinion = { + target = scope:scoped_ruler + modifier = treacherous_invader_opinion + } + } + } +} + +################ +# Restore Dumnonia +# by Ewan Cowhig Croft +################ + +#The kingdom revived. +british_isles.4001 = { + type = character_event + title = british_isles.4001.t + desc = british_isles.4001.desc + theme = realm + left_portrait = { + character = scope:founder + animation = personality_honorable + } + + immediate = { + play_music_cue = "mx_cue_positive_effect" + restore_dumnonia_decision_scripted_effect = yes + } + + #Take the nickname. + option = { + name = british_isles.4001.a + give_nickname = nick_the_trojan + add_prestige = minor_prestige_gain + } + #No thanks on the nickname, more prestige instead please. + option = { + name = british_isles.4001.b + add_prestige = medium_prestige_gain + } +} + + +#Inform any players. +british_isles.4002 = { + type = character_event + title = british_isles.4001.t + desc = british_isles.4002.desc + theme = realm + theme = diplomacy + left_portrait = { + character = scope:founder + animation = personality_honorable + } + + option = { + name = { #Brythonic peoples are happy. + trigger = { + culture = { has_cultural_pillar = heritage_brythonic } + NOT = { has_title = title:k_england } + } + text = british_isles.4002.a + } + name = { #Anglo-Saxons, the English, & the monarch of England are outraged. + trigger = { + OR = { + has_culture = culture:anglo_saxon + has_culture = culture:english + has_title = title:k_england + } + } + text = british_isles.4002.b + } + name = { #Noone else especially cares. + trigger = { + NOR = { + culture = { has_cultural_pillar = heritage_brythonic } + has_culture = culture:anglo_saxon + has_culture = culture:english + has_title = title:k_england + } + } + text = british_isles.4002.c + } + } +} diff --git a/events/dlc/ep3/ep3_emperor_yearly_8.txt b/events/dlc/ep3/ep3_emperor_yearly_8.txt index 27e1b17f..399449ba 100644 --- a/events/dlc/ep3/ep3_emperor_yearly_8.txt +++ b/events/dlc/ep3/ep3_emperor_yearly_8.txt @@ -1228,314 +1228,314 @@ ep3_emperor_yearly.8030 = { } # Iconoclasm - -ep3_emperor_yearly.8040 = { - type = character_event - title = ep3_emperor_yearly.8040.t - desc = { - desc = ep3_emperor_yearly.8040.intro - first_valid = { - triggered_desc = { - trigger = { exists = scope:truce_target } - desc = ep3_emperor_yearly.8040.truce_target - } - triggered_desc = { - trigger = { exists = scope:truce_holder } - desc = ep3_emperor_yearly.8040.truce_holder - } - triggered_desc = { - trigger = { exists = scope:epidemic } - desc = ep3_emperor_yearly.8040.plague - } - triggered_desc = { - trigger = { - any_in_list = { - variable = formerly_infected_counties - this = title:c_byzantion - } - } - desc = ep3_emperor_yearly.8040.past_plague - } - desc = ep3_emperor_yearly.8040.debt - } - desc = ep3_emperor_yearly.8040.desc - first_valid = { - triggered_desc = { - trigger = { exists = scope:family } - desc = ep3_emperor_yearly.8040.family - } - triggered_desc = { - trigger = { exists = scope:predecessor } - desc = ep3_emperor_yearly.8040.predecessor - } - desc = ep3_emperor_yearly.8040.leo - } - } - theme = emperor - override_background = { reference = ep3_hagia_sophia } - left_portrait = { - character = root - animation = worry - } - right_portrait = { - character = scope:priest - triggered_animation = { - trigger = { faith = faith:iconoclast } - animation = admiration - } - animation = disapproval - } - lower_right_portrait = scope:leo - cooldown = { years = 50 } - - trigger = { - OR = { - static_group_filter = { - group = ep3_emperor_yearly.8040 - match = 0.2 - } - has_trait = cynical - } - has_ep3_dlc_trigger = yes - # Ensure you are l'empereur - has_title = title:e_byzantium - # You are not an Iconoclast - faith = faith:orthodox - # Something bad has happened - OR = { - # Won war recently to powerful enemy - any_truce_holder = { highest_held_title_tier >= tier_kingdom } - # Lost war recently to powerful enemy - any_truce_target = { highest_held_title_tier >= tier_kingdom } - # In debt - gold < -100 - # Epidemic - capital_province = { - any_province_epidemic = { } - } - any_in_list = { - variable = formerly_infected_counties - title_province = root.capital_province - } - } - # Never twice - NOT = { has_character_flag = ep3_iconoclast_cooldown } - } - - weight_multiplier = { - base = 1 - modifier = { - factor = 2 - # Constantinopolis is Iconoclast - capital_province.faith = faith:iconoclast - } - modifier = { - factor = 2 - # Iconoclasm is about - any_sub_realm_county = { faith = faith:iconoclast } - } - modifier = { - factor = 2 - # Won war recently to powerful enemy - any_truce_holder = { highest_held_title_tier >= tier_kingdom } - } - modifier = { - factor = 2 - # Lost war recently to powerful enemy - any_truce_target = { highest_held_title_tier >= tier_kingdom } - } - modifier = { - factor = 2 - # In debt - gold < -100 - } - modifier = { - factor = 2 - capital_province = { - any_province_epidemic = { } - } - } - modifier = { - factor = 2 - any_in_list = { - variable = formerly_infected_counties - title_province = root.capital_province - } - } - } - - immediate = { - add_character_flag = ep3_iconoclast_cooldown - capital_province = { save_scope_as = constantinople } - character:70502 = { save_scope_as = leo } - title:e_byzantium.previous_holder ?= { - if = { - limit = { faith = faith:iconoclast } - save_scope_as = predecessor - } - } - if = { - limit = { - any_close_family_member = { - faith = faith:iconoclast - OR = { - is_parent_of = root - is_grandparent_of = root - } - } - } - random_close_family_member = { - limit = { - sex_same_as = root - is_parent_of = root - faith = faith:iconoclast - } - alternative_limit = { - is_parent_of = root - faith = faith:iconoclast - } - alternative_limit = { - sex_same_as = root - is_grandparent_of = root - faith = faith:iconoclast - } - alternative_limit = { - is_grandparent_of = root - faith = faith:iconoclast - } - save_scope_as = family - } - } - if = { - limit = { - title:k_orthodox.holder = { is_vassal_of = root } - } - title:k_orthodox.holder = { save_scope_as = priest } - } - else = { - ordered_vassal = { - limit = { - OR = { - is_clergy = yes - is_theocratic_lessee = yes - government_has_flag = government_is_theocracy - } - } - order_by = highest_held_title_tier - save_scope_as = priest - } - } - # Fallback - if = { - limit = { NOT = { exists = scope:priest } } - cp:councillor_court_chaplain ?= { save_scope_as = priest } - } - if = { - limit = { - # Lost war recently to powerful enemy - any_truce_target = { highest_held_title_tier >= tier_kingdom } - } - ordered_truce_target = { - order_by = max_military_strength - save_scope_as = truce_target - } - } - if = { - limit = { - # Won war recently to powerful enemy - any_truce_holder = { highest_held_title_tier >= tier_kingdom } - } - ordered_truce_holder = { - order_by = max_military_strength - save_scope_as = truce_holder - } - } - scope:constantinople = { - if = { - limit = { - any_province_epidemic = { } - } - random_province_epidemic = { - limit = { outbreak_intensity = apocalyptic } - alternative_limit = { outbreak_intensity = major } - alternative_limit = { outbreak_intensity = minor } - save_scope_as = epidemic - } - } - } - } - - option = { # Convert - name = ep3_emperor_yearly.8040.a - add_piety = major_piety_gain - set_character_faith_with_conversion = faith:iconoclast - if = { - limit = { - faith:iconoclast = { has_doctrine = doctrine_monotheist } - } - custom_description_no_bullet = { text = mandala_monotheist_warning_tt } - } - add_character_modifier = { - modifier = ep3_iconoclast_modifier - years = 15 - } - if = { - limit = { ep3_iconoclast_vassal_count > 0 } - change_influence = { - value = 25 - multiply = ep3_iconoclast_vassal_count - } - } - scope:priest = { - if = { - limit = { faith != faith:iconoclast } - add_opinion = { - target = root - modifier = angry_opinion - opinion = -30 - } - } - else = { - add_opinion = { - target = root - modifier = pleased_opinion - opinion = 15 - } - } - } - stress_impact = { - stubborn = medium_stress_impact_gain - lazy = medium_stress_impact_gain - arrogant = medium_stress_impact_gain - brave = medium_stress_impact_gain - } - ai_chance = { - base = 1 - ai_value_modifier = { - ai_boldness = 0.5 - ai_zeal = 0.5 - } - } - } - - option = { # Stay the course - name = ep3_emperor_yearly.8040.b - change_influence = medium_influence_gain - stress_impact = { - fickle = medium_stress_impact_gain - zealous = medium_stress_impact_gain - humble = medium_stress_impact_gain - craven = medium_stress_impact_gain - } - ai_chance = { - base = 2 - ai_value_modifier = { - ai_energy = -0.5 - ai_rationality = 0.5 - } - } - } -} +# +#ep3_emperor_yearly.8040 = { +# type = character_event +# title = ep3_emperor_yearly.8040.t +# desc = { +# desc = ep3_emperor_yearly.8040.intro +# first_valid = { +# triggered_desc = { +# trigger = { exists = scope:truce_target } +# desc = ep3_emperor_yearly.8040.truce_target +# } +# triggered_desc = { +# trigger = { exists = scope:truce_holder } +# desc = ep3_emperor_yearly.8040.truce_holder +# } +# triggered_desc = { +# trigger = { exists = scope:epidemic } +# desc = ep3_emperor_yearly.8040.plague +# } +# triggered_desc = { +# trigger = { +# any_in_list = { +# variable = formerly_infected_counties +# this = title:c_byzantion +# } +# } +# desc = ep3_emperor_yearly.8040.past_plague +# } +# desc = ep3_emperor_yearly.8040.debt +# } +# desc = ep3_emperor_yearly.8040.desc +# first_valid = { +# triggered_desc = { +# trigger = { exists = scope:family } +# desc = ep3_emperor_yearly.8040.family +# } +# triggered_desc = { +# trigger = { exists = scope:predecessor } +# desc = ep3_emperor_yearly.8040.predecessor +# } +# desc = ep3_emperor_yearly.8040.leo +# } +# } +# theme = emperor +# override_background = { reference = ep3_hagia_sophia } +# left_portrait = { +# character = root +# animation = worry +# } +# right_portrait = { +# character = scope:priest +# triggered_animation = { +# trigger = { faith = faith:iconoclast } +# animation = admiration +# } +# animation = disapproval +# } +# lower_right_portrait = scope:leo +# cooldown = { years = 50 } +# +# trigger = { +# OR = { +# static_group_filter = { +# group = ep3_emperor_yearly.8040 +# match = 0.2 +# } +# has_trait = cynical +# } +# has_ep3_dlc_trigger = yes +# # Ensure you are l'empereur +# has_title = title:e_byzantium +# # You are not an Iconoclast +# faith = faith:orthodox +# # Something bad has happened +# OR = { +# # Won war recently to powerful enemy +# any_truce_holder = { highest_held_title_tier >= tier_kingdom } +# # Lost war recently to powerful enemy +# any_truce_target = { highest_held_title_tier >= tier_kingdom } +# # In debt +# gold < -100 +# # Epidemic +# capital_province = { +# any_province_epidemic = { } +# } +# any_in_list = { +# variable = formerly_infected_counties +# title_province = root.capital_province +# } +# } +# # Never twice +# NOT = { has_character_flag = ep3_iconoclast_cooldown } +# } +# +# weight_multiplier = { +# base = 1 +# modifier = { +# factor = 2 +# # Constantinopolis is Iconoclast +# capital_province.faith = faith:iconoclast +# } +# modifier = { +# factor = 2 +# # Iconoclasm is about +# any_sub_realm_county = { faith = faith:iconoclast } +# } +# modifier = { +# factor = 2 +# # Won war recently to powerful enemy +# any_truce_holder = { highest_held_title_tier >= tier_kingdom } +# } +# modifier = { +# factor = 2 +# # Lost war recently to powerful enemy +# any_truce_target = { highest_held_title_tier >= tier_kingdom } +# } +# modifier = { +# factor = 2 +# # In debt +# gold < -100 +# } +# modifier = { +# factor = 2 +# capital_province = { +# any_province_epidemic = { } +# } +# } +# modifier = { +# factor = 2 +# any_in_list = { +# variable = formerly_infected_counties +# title_province = root.capital_province +# } +# } +# } +# +# immediate = { +# add_character_flag = ep3_iconoclast_cooldown +# capital_province = { save_scope_as = constantinople } +# character:70502 = { save_scope_as = leo } +# title:e_byzantium.previous_holder ?= { +# if = { +# limit = { faith = faith:iconoclast } +# save_scope_as = predecessor +# } +# } +# if = { +# limit = { +# any_close_family_member = { +# faith = faith:iconoclast +# OR = { +# is_parent_of = root +# is_grandparent_of = root +# } +# } +# } +# random_close_family_member = { +# limit = { +# sex_same_as = root +# is_parent_of = root +# faith = faith:iconoclast +# } +# alternative_limit = { +# is_parent_of = root +# faith = faith:iconoclast +# } +# alternative_limit = { +# sex_same_as = root +# is_grandparent_of = root +# faith = faith:iconoclast +# } +# alternative_limit = { +# is_grandparent_of = root +# faith = faith:iconoclast +# } +# save_scope_as = family +# } +# } +# if = { +# limit = { +# title:k_orthodox.holder = { is_vassal_of = root } +# } +# title:k_orthodox.holder = { save_scope_as = priest } +# } +# else = { +# ordered_vassal = { +# limit = { +# OR = { +# is_clergy = yes +# is_theocratic_lessee = yes +# government_has_flag = government_is_theocracy +# } +# } +# order_by = highest_held_title_tier +# save_scope_as = priest +# } +# } +# # Fallback +# if = { +# limit = { NOT = { exists = scope:priest } } +# cp:councillor_court_chaplain ?= { save_scope_as = priest } +# } +# if = { +# limit = { +# # Lost war recently to powerful enemy +# any_truce_target = { highest_held_title_tier >= tier_kingdom } +# } +# ordered_truce_target = { +# order_by = max_military_strength +# save_scope_as = truce_target +# } +# } +# if = { +# limit = { +# # Won war recently to powerful enemy +# any_truce_holder = { highest_held_title_tier >= tier_kingdom } +# } +# ordered_truce_holder = { +# order_by = max_military_strength +# save_scope_as = truce_holder +# } +# } +# scope:constantinople = { +# if = { +# limit = { +# any_province_epidemic = { } +# } +# random_province_epidemic = { +# limit = { outbreak_intensity = apocalyptic } +# alternative_limit = { outbreak_intensity = major } +# alternative_limit = { outbreak_intensity = minor } +# save_scope_as = epidemic +# } +# } +# } +# } +# +# option = { # Convert +# name = ep3_emperor_yearly.8040.a +# add_piety = major_piety_gain +# set_character_faith_with_conversion = faith:iconoclast +# if = { +# limit = { +# faith:iconoclast = { has_doctrine = doctrine_monotheist } +# } +# custom_description_no_bullet = { text = mandala_monotheist_warning_tt } +# } +# add_character_modifier = { +# modifier = ep3_iconoclast_modifier +# years = 15 +# } +# if = { +# limit = { ep3_iconoclast_vassal_count > 0 } +# change_influence = { +# value = 25 +# multiply = ep3_iconoclast_vassal_count +# } +# } +# scope:priest = { +# if = { +# limit = { faith != faith:iconoclast } +# add_opinion = { +# target = root +# modifier = angry_opinion +# opinion = -30 +# } +# } +# else = { +# add_opinion = { +# target = root +# modifier = pleased_opinion +# opinion = 15 +# } +# } +# } +# stress_impact = { +# stubborn = medium_stress_impact_gain +# lazy = medium_stress_impact_gain +# arrogant = medium_stress_impact_gain +# brave = medium_stress_impact_gain +# } +# ai_chance = { +# base = 1 +# ai_value_modifier = { +# ai_boldness = 0.5 +# ai_zeal = 0.5 +# } +# } +# } +# +# option = { # Stay the course +# name = ep3_emperor_yearly.8040.b +# change_influence = medium_influence_gain +# stress_impact = { +# fickle = medium_stress_impact_gain +# zealous = medium_stress_impact_gain +# humble = medium_stress_impact_gain +# craven = medium_stress_impact_gain +# } +# ai_chance = { +# base = 2 +# ai_value_modifier = { +# ai_energy = -0.5 +# ai_rationality = 0.5 +# } +# } +# } +#} # Norse raiders