From 807eea64772f783da3173bfeeba5569c311f4251 Mon Sep 17 00:00:00 2001 From: Heidesommer Date: Tue, 26 May 2026 20:19:17 -0400 Subject: [PATCH] fixes --- .../09_mpo_interactions.txt | 16 +- .../80_major_decisions_south_asia.txt | 1377 +++++++++-------- common/decisions/90_minor_decisions.txt | 32 +- .../dlc_decisions/03_fp2_decisions.txt | 614 ++++---- .../fp_3/fp3_zoroastrian_decisions.txt | 48 +- .../dlc_decisions/mpo/mpo_decisions.txt | 161 +- .../dlc_decisions/tgp/tgp_korea_decisions.txt | 263 ++-- .../NEOW_minority_community_buildings.txt | 6 + .../domiciles/types/NEOW_domicile_types.txt | 8 +- .../00_invader_templates.txt | 189 +-- .../00_mongol_templates.txt | 881 +++++------ 11 files changed, 1803 insertions(+), 1792 deletions(-) diff --git a/common/character_interactions/09_mpo_interactions.txt b/common/character_interactions/09_mpo_interactions.txt index 2f8ec521..7c074f91 100644 --- a/common/character_interactions/09_mpo_interactions.txt +++ b/common/character_interactions/09_mpo_interactions.txt @@ -7060,14 +7060,14 @@ mpo_make_blood_brother = { } } - # Jamukha offers Temujin via Event - modifier = { - trigger = { - scope:actor = { this = character:mpo_mongol_1 } - scope:recipient = { this = character:125501 } - } - factor = 0 - } +# # Jamukha offers Temujin via Event +# modifier = { +# trigger = { +# scope:actor = { this = character:mpo_mongol_1 } +# scope:recipient = { this = character:125501 } +# } +# factor = 0 +# } } } diff --git a/common/decisions/80_major_decisions_south_asia.txt b/common/decisions/80_major_decisions_south_asia.txt index b060baac..582b9284 100644 --- a/common/decisions/80_major_decisions_south_asia.txt +++ b/common/decisions/80_major_decisions_south_asia.txt @@ -8,691 +8,692 @@ ## -########## -#Become Chakravarti -# by Petter Vilberg -### Become Chakravarti ### -become_chakravarti_decision = { - picture = { - reference = "gfx/interface/illustrations/decisions/hindu_ruler.dds" - } - decision_group_type = major - desc = become_chakravarti_decision_desc - - ai_check_interval_by_tier = { - barony = 0 - county = 0 - duchy = 0 - kingdom = 120 - empire = 120 - hegemony = 120 - } - - is_shown = { - OR = { - religion = religion:hinduism_religion - religion = religion:buddhism_religion - religion = religion:jainism_religion - } - highest_held_title_tier >= tier_kingdom - capital_province = { - geographical_region = world_india - } - - NOT = { - is_target_in_global_variable_list = { - name = unavailable_unique_decisions - target = flag:become_chakravarti_decision - } - } - } - - is_valid = { - completely_controls = title:e_rajastan - completely_controls = title:e_deccan - completely_controls = title:e_bengal - piety_level >= 5 - } - - is_valid_showing_failures_only = { - is_landed = yes - is_adult = yes - is_available = yes - top_liege = this - } - - cost = { - piety = { - value = massive_piety_value - } - gold = { - value = 0 - if = { - limit = { - has_treasury = no - } - add = massive_gold_value - } - } - treasury = { - value = 0 - if = { - limit = { - has_treasury = yes - } - add = massive_gold_value - } - } - } - - effect = { - gain_heroic_legend_seed_tooltip_effect = yes - #Can only happen once - add_to_global_variable_list = { - name = unavailable_unique_decisions - target = flag:become_chakravarti_decision - } - - custom_tooltip = become_chakravarti_decision_indian_empires_unite_effect - custom_tooltip = become_chakravarti_decision_new_primary_title_effect - show_as_tooltip = { - add_trait = chakravarti - add_prestige = massive_prestige_value - add_prestige_level = 2 - faith = { - add_doctrine = divine_destiny_doctrine - change_fervor = { - value = major_fervor_gain - desc = fervor_gain_chakravarti - } - } - } - - save_scope_as = chakravarti - - trigger_event = south_asia.0001 #I became the Chakravarti - add_to_temporary_list = received_notification - - every_vassal_or_below = { - if = { - limit = { - OR = { - faith.religion = faith:vaishnavism.religion - faith.religion = faith:theravada.religion - faith.religion = faith:digambara.religion - } - } - trigger_event = south_asia.0002 #My ruler became the Chakravarti - } - else = { - trigger_event = south_asia.0003 #My ruler became the Chakravarti - convert? - } - add_to_temporary_list = received_notification - } - - every_ruler = { - limit = { - NOT = { - is_in_list = received_notification - } - } - - trigger_event = south_asia.0004 #Someone has become the Chakravarti - } - } - - ai_will_do = { - base = 100 - } -} - -########## -#Become Lord/Lady of the Sacred River -# by Petter Vilberg -### Take Stewardship of the Sacred River ### -take_stewardship_of_the_sacred_river_decision = { - picture = { - reference = "gfx/interface/illustrations/decisions/hindu_religious.dds" - } - decision_group_type = major - ai_check_interval_by_tier = { - barony = 0 - county = 0 - duchy = 120 - kingdom = 120 - empire = 120 - hegemony = 120 - } - - desc = take_stewardship_of_the_sacred_river_decision_desc - - is_shown = { - religion = religion:hinduism_religion - highest_held_title_tier >= tier_duchy - NOT = { has_character_modifier = ruler_of_the_ganges_modifier } - #Only if the Hindu Mandala already has their capital in the area - trigger_if = { - limit = { government_has_flag = government_is_mandala } - capital_province = { geographical_region = custom_ganges_plain } - } - } - - is_valid = { - completely_controls_region = custom_ganges_plain - custom_description = { - text = capital_province_in_ganges_region - capital_province = { geographical_region = custom_ganges_plain } - } - prestige_level >= 3 - piety_level >= 1 - } - - is_valid_showing_failures_only = { - is_landed = yes - is_adult = yes - is_available = yes - trigger_if = { - limit = { has_global_variable = ruler_of_ganges } - custom_description = { - text = capital_province_in_ganges_region - NOR = { - global_var:ruler_of_ganges = { - is_alive = yes - target_is_liege_or_above = root - } - AND = { - global_var:ruler_of_ganges = { is_alive = yes } - target_is_liege_or_above = global_var:ruler_of_ganges - } - } - } - } - } - - cost = { - piety = { - value = major_prestige_value - } - gold = { - value = 0 - if = { - limit = { - has_treasury = no - } - add = major_gold_value - } - } - treasury = { - value = 0 - if = { - limit = { - has_treasury = yes - } - add = major_gold_value - } - } - } - - effect = { - gain_heroic_legend_seed_tooltip_effect = yes - show_as_tooltip = { - take_stewardship_of_the_sacred_river_effect = yes - } - - save_scope_as = ruler_of_ganges - - trigger_event = south_asia.0011 - add_to_temporary_list = ruler_of_ganges_notification_sent - - if = { - limit = { - exists = global_var:ruler_of_ganges - global_var:ruler_of_ganges = { - is_alive = yes - } - } - global_var:ruler_of_ganges = { - trigger_event = { - id = south_asia.0013 #Someone else has taken my title - days = 3 - } - add_to_temporary_list = ruler_of_ganges_notification_sent - } - } - - if = { #Only send notification the first time the decision is taken - limit = { - NOT = { has_global_variable = ruler_of_ganges_notification_sent } - } - every_independent_ruler = { - limit = { - religion = religion:hinduism_religion - } - trigger_event = { - id = south_asia.0012 - days = 3 - } - add_to_temporary_list = ruler_of_ganges_notification_sent - } - set_global_variable = { - name = ruler_of_ganges_notification_sent - value = yes - } - } - } - - ai_will_do = { - base = 100 - } -} - -########## -#Declare Bene Israel -# by James Beaumont -### Consolidate Bene Israel ### -form_bene_israel_decision = { - picture = { - reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds" - } - decision_group_type = major - - desc = form_bene_israel_decision_desc - selection_tooltip = form_bene_israel_decision_tooltip - - ai_check_interval_by_tier = { - barony = 0 - county = 0 - duchy = 120 - kingdom = 120 - empire = 120 - hegemony = 120 - } - - is_shown = { - is_ruler = yes - is_playable_character = yes - faith = faith:malabarism - highest_held_title_tier = tier_duchy - capital_province = { geographical_region = world_india } - - NOT = { - is_target_in_global_variable_list = { - name = unavailable_unique_decisions - target = flag:form_bene_israel_decision - } - } - } - - is_valid = { - has_title = title:d_chera_nadu - has_title = title:d_konkana - completely_controls = title:d_chera_nadu - completely_controls = title:d_konkana - custom_description = { - text = malabarism_religious_head_exists_tt - subject = this - faith = { exists = religious_head } - } - piety_level >= 3 - } - - is_valid_showing_failures_only = { - is_landed = yes - is_adult = yes - is_available = yes - top_liege = this - } - - cost = { - piety = { - value = medium_piety_value - } - gold = { - value = 0 - if = { - limit = { - has_treasury = no - } - add = medium_gold_value - } - } - treasury = { - value = 0 - if = { - limit = { - has_treasury = yes - } - add = medium_gold_value - } - } - } - - effect = { - #Can only happen once - add_to_global_variable_list = { - name = unavailable_unique_decisions - target = flag:form_bene_israel_decision - } - - save_scope_as = founder - - show_as_tooltip = { - unite_bene_israel_effect = yes - } - - trigger_event = south_asia.0021 #I formed Bene Israel - - every_player = { - limit = { - this != scope:founder - top_liege = { - OR = { - this = scope:founder - any_neighboring_and_across_water_top_liege_realm_owner = { this = scope:founder } - } - } - } - trigger_event = south_asia.0022 - } - } - - ai_will_do = { - base = 100 - } -} - -###################################### -## Establish the Theravada Faith ## -## ## -## by Nick Meredith ## -## in memory of RDH ## -###################################### - -### Spread the [ROOT.Char.GetFaith.GetNameNoTooltip] Faith ### -spread_theravada_faith_decision = { - picture = { - reference = "gfx/interface/illustrations/decisions/hindu_religious.dds" - } - decision_group_type = major - title = spread_theravada_faith_decision - desc = spread_theravada_faith_decision_desc - confirm_text = spread_theravada_faith_decision_confirm # had to use an override for some reason - selection_tooltip = spread_theravada_faith_decision_tooltip # same here - - ai_check_interval_by_tier = { - barony = 0 - county = 0 - duchy = 0 - kingdom = 120 - empire = 120 - hegemony = 120 - } - cooldown = { days = 365 } - - is_shown = { - highest_held_title_tier >= tier_kingdom - faith = faith:theravada - - OR = { - culture = culture:burmese - culture = culture:mon - } - NOT = { - is_target_in_global_variable_list = { - name = unavailable_unique_decisions - target = flag:spread_theravada_faith_flag - } - } - any_vassal = { #so that potential later events don't break - has_faith = faith:ari - is_powerful_vassal = yes - } - exists = cp:councillor_court_chaplain - } - - is_valid = { - highest_held_title_tier >= tier_kingdom - faith = faith:theravada - - OR = { - culture = culture:burmese - culture = culture:mon - } - prestige_level >= 3 - piety_level >= 2 - } - - is_valid_showing_failures_only = { - is_landed = yes - } - - cost = { - piety = { - value = major_piety_value - } - gold = { - value = 0 - if = { - limit = { - has_treasury = no - } - add = medium_gold_value - } - } - treasury = { - value = 0 - if = { - limit = { - has_treasury = yes - } - add = medium_gold_value - } - } - prestige = { - value = massive_prestige_value - } - } - - effect = { - - show_as_tooltip = { - custom_tooltip = spread_theravada_faith_decision_cus_tt - } - - trigger_event = { - id = south_asia.0030 - } - } - - ai_will_do = { - base = 100 - } -} - -###################################### -## Found the empire of Hindustan ## -## ## -## by Henrik Lohmander ## -###################################### - -### Found the Empire of Hindustan ### -found_the_empire_of_hindustan_decision = { - picture = { - reference = "gfx/interface/illustrations/decisions/fp3/fp3_decision_sunder.dds" - } - decision_group_type = major - - ai_check_interval_by_tier = { - barony = 0 - county = 0 - duchy = 0 - kingdom = 12 - empire = 12 - hegemony = 0 - } - - is_shown = { - is_landed_or_landless_administrative = yes - exists = dynasty # Everyone should have a dynasty, but in case they don't... - NOT = { #Title existance conditions. - exists = title:e_hindustan.holder #Empire of Hindustan - } - capital_province = { - OR = { - geographical_region = world_khorasan - geographical_region = world_transoxiana - geographical_region = world_makran - geographical_region = world_kabulistan - geographical_region = world_india - geographical_region = world_burma - } - } - NOT = { #You can only do it once. - is_target_in_global_variable_list = { - name = unavailable_unique_decisions - target = flag:flag_founded_hindustan - } - } - faith = { - religion_tag = islam_religion - } - OR = { #Government conditions. - government_has_flag = government_is_feudal - government_has_flag = government_is_clan - government_allows = administrative - government_has_flag = government_is_landless_adventurer - } - OR = { - highest_held_title_tier <= tier_kingdom - has_title = title:e_bengal - has_title = title:e_deccan - has_title = title:e_rajastan - } - } - - is_valid = { - #Standard requirements. - is_independent_ruler = yes - prestige_level >= very_high_prestige_level - piety_level >= high_piety_level - #Title ownership conditions. - #This is currently significantly easier for AI to get the ball rolling - trigger_if = { - limit = { - is_ai = yes - } - OR = { - completely_controls = title:k_punjab - has_title = title:k_punjab - } - OR = { - completely_controls = title:k_delhi - has_title = title:k_delhi - } - } - trigger_if = { - limit = { - is_ai = no - } #And have some additional royal dignity for good measure. - has_title = title:k_punjab - has_title = title:k_delhi - completely_controls = title:d_kuru - OR = { - has_title = title:k_kosala - has_title = title:k_malwa - has_title = title:k_rajputana - } - } - sub_realm_size >= 40 #This is roughly equal to Punjab, Delhi and Kosala. - - #HoF preference conditions. - trigger_if = { - limit = { - is_ai = no - exists = faith.religious_head - } - OR = { - faith.religious_head = { #And they have to actually like you enough to want to invest you. - opinion = { - target = root - value >= high_positive_opinion - } - } - root = { has_strong_usable_hook = faith.religious_head } #Or you have a strong hook on them that you can actually use. - root = { has_weak_hook = faith.religious_head } #Or a regular hook, to be fair, provided you meet the other criteria. - } - } - } - - is_valid_showing_failures_only = { - is_available_adult = yes - } - - effect = { - save_scope_as = founder - show_as_tooltip = { - found_empire_of_hindustan_scripted_effect = yes - } - gain_heroic_legend_seed_tooltip_effect = yes - if = { - limit = { - faith.religious_head ?= { is_playable_character = yes } - } - faith.religious_head = { save_scope_as = founder_hof } - faith.religious_head.capital_province = { save_scope_as = ceremony_locale } - } - else = { - capital_province = { save_scope_as = ceremony_locale } - } - trigger_event = { - id = south_asia.0050 - } - #Notify other players. - every_player = { - limit = { - is_ai = no - NOT = { this = root } - is_within_diplo_range = { CHARACTER = root } - } - trigger_event = south_asia.0051 - } - hidden_effect = { - add_to_global_variable_list = { - name = unavailable_unique_decisions - target = flag:flag_founded_hindustan - } - } - } - - cost = { - gold = { - value = 0 - if = { - limit = { - has_treasury = no - is_ai = no - } - add = 500 - } - } - treasury = { - value = 0 - if = { - limit = { - has_treasury = yes - is_ai = no - } - add = 500 - } - } - piety = 200 - } - - ai_potential = { - is_independent_ruler = yes - } - - ai_will_do = { - base = 100 - } -} +########### +##Become Chakravarti +## by Petter Vilberg +#### Become Chakravarti ### +#become_chakravarti_decision = { +# picture = { +# reference = "gfx/interface/illustrations/decisions/hindu_ruler.dds" +# } +# decision_group_type = major +# desc = become_chakravarti_decision_desc +# +# ai_check_interval_by_tier = { +# barony = 0 +# county = 0 +# duchy = 0 +# kingdom = 120 +# empire = 120 +# hegemony = 120 +# } +# +# is_shown = { +# OR = { +# religion = religion:hinduism_religion +# religion = religion:buddhism_religion +# religion = religion:jainism_religion +# } +# highest_held_title_tier >= tier_kingdom +# capital_province = { +# geographical_region = world_india +# } +# +# NOT = { +# is_target_in_global_variable_list = { +# name = unavailable_unique_decisions +# target = flag:become_chakravarti_decision +# } +# } +# } +# +# is_valid = { +# completely_controls = title:e_rajastan +# completely_controls = title:e_deccan +# completely_controls = title:e_bengal +# piety_level >= 5 +# } +# +# is_valid_showing_failures_only = { +# is_landed = yes +# is_adult = yes +# is_available = yes +# top_liege = this +# } +# +# cost = { +# piety = { +# value = massive_piety_value +# } +# gold = { +# value = 0 +# if = { +# limit = { +# has_treasury = no +# } +# add = massive_gold_value +# } +# } +# treasury = { +# value = 0 +# if = { +# limit = { +# has_treasury = yes +# } +# add = massive_gold_value +# } +# } +# } +# +# effect = { +# gain_heroic_legend_seed_tooltip_effect = yes +# #Can only happen once +# add_to_global_variable_list = { +# name = unavailable_unique_decisions +# target = flag:become_chakravarti_decision +# } +# +# custom_tooltip = become_chakravarti_decision_indian_empires_unite_effect +# custom_tooltip = become_chakravarti_decision_new_primary_title_effect +# show_as_tooltip = { +# add_trait = chakravarti +# add_prestige = massive_prestige_value +# add_prestige_level = 2 +# faith = { +# add_doctrine = divine_destiny_doctrine +# change_fervor = { +# value = major_fervor_gain +# desc = fervor_gain_chakravarti +# } +# } +# } +# +# save_scope_as = chakravarti +# +# trigger_event = south_asia.0001 #I became the Chakravarti +# add_to_temporary_list = received_notification +# +# every_vassal_or_below = { +# if = { +# limit = { +# OR = { +# faith.religion = faith:vaishnavism.religion +# faith.religion = faith:theravada.religion +# faith.religion = faith:digambara.religion +# } +# } +# trigger_event = south_asia.0002 #My ruler became the Chakravarti +# } +# else = { +# trigger_event = south_asia.0003 #My ruler became the Chakravarti - convert? +# } +# add_to_temporary_list = received_notification +# } +# +# every_ruler = { +# limit = { +# NOT = { +# is_in_list = received_notification +# } +# } +# +# trigger_event = south_asia.0004 #Someone has become the Chakravarti +# } +# } +# +# ai_will_do = { +# base = 100 +# } +#} +# +########### +##Become Lord/Lady of the Sacred River +## by Petter Vilberg +#### Take Stewardship of the Sacred River ### +#take_stewardship_of_the_sacred_river_decision = { +# picture = { +# reference = "gfx/interface/illustrations/decisions/hindu_religious.dds" +# } +# decision_group_type = major +# ai_check_interval_by_tier = { +# barony = 0 +# county = 0 +# duchy = 120 +# kingdom = 120 +# empire = 120 +# hegemony = 120 +# } +# +# desc = take_stewardship_of_the_sacred_river_decision_desc +# +# is_shown = { +# religion = religion:hinduism_religion +# highest_held_title_tier >= tier_duchy +# NOT = { has_character_modifier = ruler_of_the_ganges_modifier } +# #Only if the Hindu Mandala already has their capital in the area +# trigger_if = { +# limit = { government_has_flag = government_is_mandala } +# capital_province = { geographical_region = custom_ganges_plain } +# } +# } +# +# is_valid = { +# completely_controls_region = custom_ganges_plain +# custom_description = { +# text = capital_province_in_ganges_region +# capital_province = { geographical_region = custom_ganges_plain } +# } +# prestige_level >= 3 +# piety_level >= 1 +# } +# +# is_valid_showing_failures_only = { +# is_landed = yes +# is_adult = yes +# is_available = yes +# trigger_if = { +# limit = { has_global_variable = ruler_of_ganges } +# custom_description = { +# text = capital_province_in_ganges_region +# NOR = { +# global_var:ruler_of_ganges = { +# is_alive = yes +# target_is_liege_or_above = root +# } +# AND = { +# global_var:ruler_of_ganges = { is_alive = yes } +# target_is_liege_or_above = global_var:ruler_of_ganges +# } +# } +# } +# } +# } +# +# cost = { +# piety = { +# value = major_prestige_value +# } +# gold = { +# value = 0 +# if = { +# limit = { +# has_treasury = no +# } +# add = major_gold_value +# } +# } +# treasury = { +# value = 0 +# if = { +# limit = { +# has_treasury = yes +# } +# add = major_gold_value +# } +# } +# } +# +# effect = { +# gain_heroic_legend_seed_tooltip_effect = yes +# show_as_tooltip = { +# take_stewardship_of_the_sacred_river_effect = yes +# } +# +# save_scope_as = ruler_of_ganges +# +# trigger_event = south_asia.0011 +# add_to_temporary_list = ruler_of_ganges_notification_sent +# +# if = { +# limit = { +# exists = global_var:ruler_of_ganges +# global_var:ruler_of_ganges = { +# is_alive = yes +# } +# } +# global_var:ruler_of_ganges = { +# trigger_event = { +# id = south_asia.0013 #Someone else has taken my title +# days = 3 +# } +# add_to_temporary_list = ruler_of_ganges_notification_sent +# } +# } +# +# if = { #Only send notification the first time the decision is taken +# limit = { +# NOT = { has_global_variable = ruler_of_ganges_notification_sent } +# } +# every_independent_ruler = { +# limit = { +# religion = religion:hinduism_religion +# } +# trigger_event = { +# id = south_asia.0012 +# days = 3 +# } +# add_to_temporary_list = ruler_of_ganges_notification_sent +# } +# set_global_variable = { +# name = ruler_of_ganges_notification_sent +# value = yes +# } +# } +# } +# +# ai_will_do = { +# base = 100 +# } +#} +# +########### +##Declare Bene Israel +## by James Beaumont +#### Consolidate Bene Israel ### +#form_bene_israel_decision = { +# picture = { +# reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds" +# } +# decision_group_type = major +# +# desc = form_bene_israel_decision_desc +# selection_tooltip = form_bene_israel_decision_tooltip +# +# ai_check_interval_by_tier = { +# barony = 0 +# county = 0 +# duchy = 120 +# kingdom = 120 +# empire = 120 +# hegemony = 120 +# } +# +# is_shown = { +# is_ruler = yes +# is_playable_character = yes +# faith = faith:malabarism +# highest_held_title_tier = tier_duchy +# capital_province = { geographical_region = world_india } +# +# NOT = { +# is_target_in_global_variable_list = { +# name = unavailable_unique_decisions +# target = flag:form_bene_israel_decision +# } +# } +# } +# +# is_valid = { +# has_title = title:d_chera_nadu +# has_title = title:d_konkana +# completely_controls = title:d_chera_nadu +# completely_controls = title:d_konkana +# custom_description = { +# text = malabarism_religious_head_exists_tt +# subject = this +# faith = { exists = religious_head } +# } +# piety_level >= 3 +# } +# +# is_valid_showing_failures_only = { +# is_landed = yes +# is_adult = yes +# is_available = yes +# top_liege = this +# } +# +# cost = { +# piety = { +# value = medium_piety_value +# } +# gold = { +# value = 0 +# if = { +# limit = { +# has_treasury = no +# } +# add = medium_gold_value +# } +# } +# treasury = { +# value = 0 +# if = { +# limit = { +# has_treasury = yes +# } +# add = medium_gold_value +# } +# } +# } +# +# effect = { +# #Can only happen once +# add_to_global_variable_list = { +# name = unavailable_unique_decisions +# target = flag:form_bene_israel_decision +# } +# +# save_scope_as = founder +# +# show_as_tooltip = { +# unite_bene_israel_effect = yes +# } +# +# trigger_event = south_asia.0021 #I formed Bene Israel +# +# every_player = { +# limit = { +# this != scope:founder +# top_liege = { +# OR = { +# this = scope:founder +# any_neighboring_and_across_water_top_liege_realm_owner = { this = scope:founder } +# } +# } +# } +# trigger_event = south_asia.0022 +# } +# } +# +# ai_will_do = { +# base = 100 +# } +#} +# +####################################### +### Establish the Theravada Faith ## +### ## +### by Nick Meredith ## +### in memory of RDH ## +####################################### +# +#### Spread the [ROOT.Char.GetFaith.GetNameNoTooltip] Faith ### +#spread_theravada_faith_decision = { +# picture = { +# reference = "gfx/interface/illustrations/decisions/hindu_religious.dds" +# } +# decision_group_type = major +# title = spread_theravada_faith_decision +# desc = spread_theravada_faith_decision_desc +# confirm_text = spread_theravada_faith_decision_confirm # had to use an override for some reason +# selection_tooltip = spread_theravada_faith_decision_tooltip # same here +# +# ai_check_interval_by_tier = { +# barony = 0 +# county = 0 +# duchy = 0 +# kingdom = 120 +# empire = 120 +# hegemony = 120 +# } +# cooldown = { days = 365 } +# +# is_shown = { +# highest_held_title_tier >= tier_kingdom +# faith = faith:theravada +# +# OR = { +# culture = culture:burmese +# culture = culture:mon +# } +# NOT = { +# is_target_in_global_variable_list = { +# name = unavailable_unique_decisions +# target = flag:spread_theravada_faith_flag +# } +# } +# any_vassal = { #so that potential later events don't break +# has_faith = faith:ari +# is_powerful_vassal = yes +# } +# exists = cp:councillor_court_chaplain +# } +# +# is_valid = { +# highest_held_title_tier >= tier_kingdom +# faith = faith:theravada +# +# OR = { +# culture = culture:burmese +# culture = culture:mon +# } +# prestige_level >= 3 +# piety_level >= 2 +# } +# +# is_valid_showing_failures_only = { +# is_landed = yes +# } +# +# cost = { +# piety = { +# value = major_piety_value +# } +# gold = { +# value = 0 +# if = { +# limit = { +# has_treasury = no +# } +# add = medium_gold_value +# } +# } +# treasury = { +# value = 0 +# if = { +# limit = { +# has_treasury = yes +# } +# add = medium_gold_value +# } +# } +# prestige = { +# value = massive_prestige_value +# } +# } +# +# effect = { +# +# show_as_tooltip = { +# custom_tooltip = spread_theravada_faith_decision_cus_tt +# } +# +# trigger_event = { +# id = south_asia.0030 +# } +# } +# +# ai_will_do = { +# base = 100 +# } +#} +# +####################################### +### Found the empire of Hindustan ## +### ## +### by Henrik Lohmander ## +####################################### +# +#### Found the Empire of Hindustan ### +#found_the_empire_of_hindustan_decision = { +# picture = { +# reference = "gfx/interface/illustrations/decisions/fp3/fp3_decision_sunder.dds" +# } +# decision_group_type = major +# +# ai_check_interval_by_tier = { +# barony = 0 +# county = 0 +# duchy = 0 +# kingdom = 12 +# empire = 12 +# hegemony = 0 +# } +# +# is_shown = { +# is_landed_or_landless_administrative = yes +# exists = dynasty # Everyone should have a dynasty, but in case they don't... +# NOT = { #Title existance conditions. +# exists = title:e_hindustan.holder #Empire of Hindustan +# } +# capital_province = { +# OR = { +# geographical_region = world_khorasan +# geographical_region = world_transoxiana +# geographical_region = world_makran +# geographical_region = world_kabulistan +# geographical_region = world_india +# geographical_region = world_burma +# } +# } +# NOT = { #You can only do it once. +# is_target_in_global_variable_list = { +# name = unavailable_unique_decisions +# target = flag:flag_founded_hindustan +# } +# } +# faith = { +# religion_tag = islam_religion +# } +# OR = { #Government conditions. +# government_has_flag = government_is_feudal +# government_has_flag = government_is_clan +# government_allows = administrative +# government_has_flag = government_is_landless_adventurer +# } +# OR = { +# highest_held_title_tier <= tier_kingdom +# has_title = title:e_bengal +# has_title = title:e_deccan +# has_title = title:e_rajastan +# } +# } +# +# is_valid = { +# #Standard requirements. +# is_independent_ruler = yes +# prestige_level >= very_high_prestige_level +# piety_level >= high_piety_level +# #Title ownership conditions. +# #This is currently significantly easier for AI to get the ball rolling +# trigger_if = { +# limit = { +# is_ai = yes +# } +# OR = { +# completely_controls = title:k_punjab +# has_title = title:k_punjab +# } +# OR = { +# completely_controls = title:k_delhi +# has_title = title:k_delhi +# } +# } +# trigger_if = { +# limit = { +# is_ai = no +# } #And have some additional royal dignity for good measure. +# has_title = title:k_punjab +# has_title = title:k_delhi +# completely_controls = title:d_kuru +# OR = { +# has_title = title:k_kosala +# has_title = title:k_malwa +# has_title = title:k_rajputana +# } +# } +# sub_realm_size >= 40 #This is roughly equal to Punjab, Delhi and Kosala. +# +# #HoF preference conditions. +# trigger_if = { +# limit = { +# is_ai = no +# exists = faith.religious_head +# } +# OR = { +# faith.religious_head = { #And they have to actually like you enough to want to invest you. +# opinion = { +# target = root +# value >= high_positive_opinion +# } +# } +# root = { has_strong_usable_hook = faith.religious_head } #Or you have a strong hook on them that you can actually use. +# root = { has_weak_hook = faith.religious_head } #Or a regular hook, to be fair, provided you meet the other criteria. +# } +# } +# } +# +# is_valid_showing_failures_only = { +# is_available_adult = yes +# } +# +# effect = { +# save_scope_as = founder +# show_as_tooltip = { +# found_empire_of_hindustan_scripted_effect = yes +# } +# gain_heroic_legend_seed_tooltip_effect = yes +# if = { +# limit = { +# faith.religious_head ?= { is_playable_character = yes } +# } +# faith.religious_head = { save_scope_as = founder_hof } +# faith.religious_head.capital_province = { save_scope_as = ceremony_locale } +# } +# else = { +# capital_province = { save_scope_as = ceremony_locale } +# } +# trigger_event = { +# id = south_asia.0050 +# } +# #Notify other players. +# every_player = { +# limit = { +# is_ai = no +# NOT = { this = root } +# is_within_diplo_range = { CHARACTER = root } +# } +# trigger_event = south_asia.0051 +# } +# hidden_effect = { +# add_to_global_variable_list = { +# name = unavailable_unique_decisions +# target = flag:flag_founded_hindustan +# } +# } +# } +# +# cost = { +# gold = { +# value = 0 +# if = { +# limit = { +# has_treasury = no +# is_ai = no +# } +# add = 500 +# } +# } +# treasury = { +# value = 0 +# if = { +# limit = { +# has_treasury = yes +# is_ai = no +# } +# add = 500 +# } +# } +# piety = 200 +# } +# +# ai_potential = { +# is_independent_ruler = yes +# } +# +# ai_will_do = { +# base = 100 +# } +#} +# \ No newline at end of file diff --git a/common/decisions/90_minor_decisions.txt b/common/decisions/90_minor_decisions.txt index 53ea3720..a0d687be 100644 --- a/common/decisions/90_minor_decisions.txt +++ b/common/decisions/90_minor_decisions.txt @@ -1313,23 +1313,23 @@ secede_from_empire_decision = { #by Sean Hughes highest_held_title_tier = tier_kingdom } - modifier = { - add = -35 - # Electors in the HRE are far less likely to seceede. - liege.primary_title = title:e_hre - title:e_hre = { - has_title_law = princely_elective_succession_law - any_elector = { - this = root - } - } - } +# modifier = { +# add = -35 +# # Electors in the HRE are far less likely to seceede. +# liege.primary_title = title:e_hre +# title:e_hre = { +# has_title_law = princely_elective_succession_law +# any_elector = { +# this = root +# } +# } +# } - modifier = { - add = -60 - # Satraps of the Mongol Empire should (almost) never seceede. - liege.primary_title = title:e_mongolia - } +# modifier = { +# add = -60 +# # Satraps of the Mongol Empire should (almost) never seceede. +# liege.primary_title = title:e_mongolia +# } # 'Soft' Modifiers, e.g., Opinion and Personality ai_value_modifier = { diff --git a/common/decisions/dlc_decisions/03_fp2_decisions.txt b/common/decisions/dlc_decisions/03_fp2_decisions.txt index 763612f6..5f75ebc8 100644 --- a/common/decisions/dlc_decisions/03_fp2_decisions.txt +++ b/common/decisions/dlc_decisions/03_fp2_decisions.txt @@ -1268,313 +1268,313 @@ # } #} # -################################### -# Build Pilgrim Roads -# By Hugo Cortell -################################### -### Build Pilgrim Roads ### -build_holy_pilgrim_roads_decision = { - picture = { - reference = "gfx/interface/illustrations/decisions/fp2_decision_struggle_opening.dds" - } - sort_order = 300 - decision_group_type = struggle - - is_shown = { - faith = { - any_holy_site = { - holder.top_liege = root - count > 0 - } - } - any_character_struggle = { - involvement = involved - has_struggle_phase_parameter = unlocks_build_pilgrim_roads_decision - } - } - - is_valid = { - custom_tooltip = { - text = build_holy_pilgrim_roads_decision_hardcoded_trigger_text.a - faith = { - any_holy_site = { - holder.top_liege = root - NOT = { county = { has_county_modifier = fp2_pilgrim_roads_modifier } } - count > 0 - } - } - } - } - - effect = { - hidden_effect = { - faith = { - random_holy_site = { - limit = { - holder.top_liege = root - NOT = { county = { has_county_modifier = fp2_pilgrim_roads_modifier } } - } - save_scope_as = chosen_holy_site_for_pilgrim_roads - county = { - save_scope_as = chosen_location_for_pilgrim_roads - add_county_modifier = { - modifier = fp2_pilgrim_roads_modifier - years = 50 - } - } - } - } - } - send_interface_toast = { - type = event_toast_effect_good - title = build_holy_pilgrim_roads_decision_construction_notif.t - desc = build_holy_pilgrim_roads_decision_construction_notif.desc - - add_piety = major_piety_gain - show_as_tooltip = { - scope:chosen_location_for_pilgrim_roads = { - add_county_modifier = { - modifier = fp2_pilgrim_roads_modifier - years = 50 - } - } - } - } - - if = { # QA QoL - limit = { debug_only = yes } - custom_tooltip = debug_generic_option_shortened_trigger_can_disable - hidden_effect = { - random_list = { - 1 = { - trigger_event = { - id = iberia_north_africa.2011 - days = 4 - } - } - 1 = { - trigger_event = { - id = iberia_north_africa.2012 - days = 4 - } - } - 1 = { - trigger_event = { - id = iberia_north_africa.2013 - days = 4 - } - } - } - } - } - else = { - hidden_effect = { - random_list = { - 1 = { - trigger_event = { - id = iberia_north_africa.2011 - days = { 32 2048 } - } - } - 1 = { - trigger_event = { - id = iberia_north_africa.2012 - days = { 32 2048 } - } - } - 1 = { - trigger_event = { - id = iberia_north_africa.2013 - days = { 32 2048 } - } - } - } - } - } - } - - cost = { - gold = { - value = 0 - if = { - limit = { - has_treasury = no - } - add = massive_gold_value - } - } - treasury = { - value = 0 - if = { - limit = { - has_treasury = yes - } - add = massive_gold_value - } - } - } - - ai_check_interval_by_tier = { - barony = 0 - county = 730 - duchy = 730 - kingdom = 730 - empire = 730 - hegemony = 730 - } - ai_potential = {} - ai_will_do = { - base = 50 - modifier = { - add = learning - always = yes - } - modifier = { - add = -50 - has_trait = cynical - } - modifier = { - add = 10 - has_trait = zealous - } - modifier = { - add = -40 - short_term_gold < massive_gold_value - } - } -} - -############################################# -# Found Kingdom of Toledo -# by Joe Parkin -############################################# -### Found Kingdom Toledo Decision ### -found_kingdom_toledo_decision = { - title = found_kingdom_toledo_decision_title - picture = { - reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds" - } - desc = found_kingdom_toledo_decision_desc - selection_tooltip = found_kingdom_toledo_decision_tooltip - sort_order = 80 - - decision_group_type = major - - is_shown = { - # DLC check - has_fp2_dlc_trigger = yes - culture = { has_cultural_pillar = heritage_iberian } - faith = { - portrait_religious_faith_or_foundational_trigger = { FAITH = faith:mozarabic_church } - } - NOT = { - is_target_in_global_variable_list = { - name = unavailable_unique_decisions - target = flag:form_toledo_decision - } - } - title:e_spain = { - any_in_de_jure_hierarchy = { - any_title_to_title_neighboring_and_across_water_duchy = { this = title:d_toledo } - de_jure_liege = { - any_in_de_jure_hierarchy = { - count > 2 - tier = tier_duchy - } - } - } - } - } - - is_valid = { - top_liege = this - custom_tooltip = { - text = found_kingdom_toledo_capital_tt - capital_county = title:c_toledo - } - custom_tooltip = { - text = found_kingdom_toledo_culture_tt - culture = { has_cultural_pillar = heritage_iberian } - } - custom_tooltip = { - text = found_kingdom_toledo_faith_tt - faith = { - portrait_religious_faith_or_foundational_trigger = { FAITH = faith:mozarabic_church } - } - } - completely_controls = title:d_toledo - custom_tooltip = { - text = found_kingdom_toledo_duchy_tt - any_held_title = { - title_tier = duchy - is_titular = no - NOT = { this = title:d_toledo } - root = { completely_controls = prev } - any_title_to_title_neighboring_and_across_water_duchy = { this = title:d_toledo } - } - } - } - - is_valid_showing_failures_only = { - is_landed = yes - } - - cost = { - gold = { - value = 0 - if = { - limit = { - has_treasury = no - } - add = 250 - } - } - treasury = { - value = 0 - if = { - limit = { - has_treasury = yes - } - add = 250 - } - } - } - - effect = { - save_scope_as = toledo_former - gain_heroic_legend_seed_tooltip_effect = yes - fp2_struggle_found_kingdom_toledo_empire_effect = yes - save_scope_value_as = { - name = has_kingdom_toledo_absorb_list_been_created - value = yes - } - trigger_event = fp2_other_decisions.1100 - #Can only happen once - add_to_global_variable_list = { - name = unavailable_unique_decisions - target = flag:form_toledo_decision - } - set_global_variable = { - name = form_toledo_decision - value = scope:toledo_former - } - } - ai_check_interval_by_tier = { - barony = 0 - county = 0 - duchy = 120 - kingdom = 120 - empire = 120 - hegemony = 120 - } - - ai_potential = {} - - ai_will_do = { - base = 100 - } -} - +#################################### +## Build Pilgrim Roads +## By Hugo Cortell +#################################### +#### Build Pilgrim Roads ### +#build_holy_pilgrim_roads_decision = { +# picture = { +# reference = "gfx/interface/illustrations/decisions/fp2_decision_struggle_opening.dds" +# } +# sort_order = 300 +# decision_group_type = struggle +# +# is_shown = { +# faith = { +# any_holy_site = { +# holder.top_liege = root +# count > 0 +# } +# } +# any_character_struggle = { +# involvement = involved +# has_struggle_phase_parameter = unlocks_build_pilgrim_roads_decision +# } +# } +# +# is_valid = { +# custom_tooltip = { +# text = build_holy_pilgrim_roads_decision_hardcoded_trigger_text.a +# faith = { +# any_holy_site = { +# holder.top_liege = root +# NOT = { county = { has_county_modifier = fp2_pilgrim_roads_modifier } } +# count > 0 +# } +# } +# } +# } +# +# effect = { +# hidden_effect = { +# faith = { +# random_holy_site = { +# limit = { +# holder.top_liege = root +# NOT = { county = { has_county_modifier = fp2_pilgrim_roads_modifier } } +# } +# save_scope_as = chosen_holy_site_for_pilgrim_roads +# county = { +# save_scope_as = chosen_location_for_pilgrim_roads +# add_county_modifier = { +# modifier = fp2_pilgrim_roads_modifier +# years = 50 +# } +# } +# } +# } +# } +# send_interface_toast = { +# type = event_toast_effect_good +# title = build_holy_pilgrim_roads_decision_construction_notif.t +# desc = build_holy_pilgrim_roads_decision_construction_notif.desc +# +# add_piety = major_piety_gain +# show_as_tooltip = { +# scope:chosen_location_for_pilgrim_roads = { +# add_county_modifier = { +# modifier = fp2_pilgrim_roads_modifier +# years = 50 +# } +# } +# } +# } +# +# if = { # QA QoL +# limit = { debug_only = yes } +# custom_tooltip = debug_generic_option_shortened_trigger_can_disable +# hidden_effect = { +# random_list = { +# 1 = { +# trigger_event = { +# id = iberia_north_africa.2011 +# days = 4 +# } +# } +# 1 = { +# trigger_event = { +# id = iberia_north_africa.2012 +# days = 4 +# } +# } +# 1 = { +# trigger_event = { +# id = iberia_north_africa.2013 +# days = 4 +# } +# } +# } +# } +# } +# else = { +# hidden_effect = { +# random_list = { +# 1 = { +# trigger_event = { +# id = iberia_north_africa.2011 +# days = { 32 2048 } +# } +# } +# 1 = { +# trigger_event = { +# id = iberia_north_africa.2012 +# days = { 32 2048 } +# } +# } +# 1 = { +# trigger_event = { +# id = iberia_north_africa.2013 +# days = { 32 2048 } +# } +# } +# } +# } +# } +# } +# +# cost = { +# gold = { +# value = 0 +# if = { +# limit = { +# has_treasury = no +# } +# add = massive_gold_value +# } +# } +# treasury = { +# value = 0 +# if = { +# limit = { +# has_treasury = yes +# } +# add = massive_gold_value +# } +# } +# } +# +# ai_check_interval_by_tier = { +# barony = 0 +# county = 730 +# duchy = 730 +# kingdom = 730 +# empire = 730 +# hegemony = 730 +# } +# ai_potential = {} +# ai_will_do = { +# base = 50 +# modifier = { +# add = learning +# always = yes +# } +# modifier = { +# add = -50 +# has_trait = cynical +# } +# modifier = { +# add = 10 +# has_trait = zealous +# } +# modifier = { +# add = -40 +# short_term_gold < massive_gold_value +# } +# } +#} +# +############################################## +## Found Kingdom of Toledo +## by Joe Parkin +############################################## +#### Found Kingdom Toledo Decision ### +#found_kingdom_toledo_decision = { +# title = found_kingdom_toledo_decision_title +# picture = { +# reference = "gfx/interface/illustrations/decisions/decision_found_kingdom.dds" +# } +# desc = found_kingdom_toledo_decision_desc +# selection_tooltip = found_kingdom_toledo_decision_tooltip +# sort_order = 80 +# +# decision_group_type = major +# +# is_shown = { +# # DLC check +# has_fp2_dlc_trigger = yes +# culture = { has_cultural_pillar = heritage_iberian } +# faith = { +# portrait_religious_faith_or_foundational_trigger = { FAITH = faith:mozarabic_church } +# } +# NOT = { +# is_target_in_global_variable_list = { +# name = unavailable_unique_decisions +# target = flag:form_toledo_decision +# } +# } +# title:e_spain = { +# any_in_de_jure_hierarchy = { +# any_title_to_title_neighboring_and_across_water_duchy = { this = title:d_toledo } +# de_jure_liege = { +# any_in_de_jure_hierarchy = { +# count > 2 +# tier = tier_duchy +# } +# } +# } +# } +# } +# +# is_valid = { +# top_liege = this +# custom_tooltip = { +# text = found_kingdom_toledo_capital_tt +# capital_county = title:c_toledo +# } +# custom_tooltip = { +# text = found_kingdom_toledo_culture_tt +# culture = { has_cultural_pillar = heritage_iberian } +# } +# custom_tooltip = { +# text = found_kingdom_toledo_faith_tt +# faith = { +# portrait_religious_faith_or_foundational_trigger = { FAITH = faith:mozarabic_church } +# } +# } +# completely_controls = title:d_toledo +# custom_tooltip = { +# text = found_kingdom_toledo_duchy_tt +# any_held_title = { +# title_tier = duchy +# is_titular = no +# NOT = { this = title:d_toledo } +# root = { completely_controls = prev } +# any_title_to_title_neighboring_and_across_water_duchy = { this = title:d_toledo } +# } +# } +# } +# +# is_valid_showing_failures_only = { +# is_landed = yes +# } +# +# cost = { +# gold = { +# value = 0 +# if = { +# limit = { +# has_treasury = no +# } +# add = 250 +# } +# } +# treasury = { +# value = 0 +# if = { +# limit = { +# has_treasury = yes +# } +# add = 250 +# } +# } +# } +# +# effect = { +# save_scope_as = toledo_former +# gain_heroic_legend_seed_tooltip_effect = yes +# fp2_struggle_found_kingdom_toledo_empire_effect = yes +# save_scope_value_as = { +# name = has_kingdom_toledo_absorb_list_been_created +# value = yes +# } +# trigger_event = fp2_other_decisions.1100 +# #Can only happen once +# add_to_global_variable_list = { +# name = unavailable_unique_decisions +# target = flag:form_toledo_decision +# } +# set_global_variable = { +# name = form_toledo_decision +# value = scope:toledo_former +# } +# } +# ai_check_interval_by_tier = { +# barony = 0 +# county = 0 +# duchy = 120 +# kingdom = 120 +# empire = 120 +# hegemony = 120 +# } +# +# ai_potential = {} +# +# ai_will_do = { +# base = 100 +# } +#} +# ############################################# # Develop a city # by Maxence Voleau diff --git a/common/decisions/dlc_decisions/fp_3/fp3_zoroastrian_decisions.txt b/common/decisions/dlc_decisions/fp_3/fp3_zoroastrian_decisions.txt index ff13ad2f..e7557648 100644 --- a/common/decisions/dlc_decisions/fp_3/fp3_zoroastrian_decisions.txt +++ b/common/decisions/dlc_decisions/fp_3/fp3_zoroastrian_decisions.txt @@ -134,35 +134,35 @@ destroy_the_magi_decision = { #This allows a ruler with sufficient piety and con } title = { first_valid = { - triggered_desc = { - trigger = { - AND = { - religion = religion:zoroastrianism_religion - OR = { - has_faith = faith:mazdakism - has_faith = faith:zurvanism - } - } - } - desc = destroy_the_magi_decision_alternate - } +# triggered_desc = { +# trigger = { +# AND = { +# religion = religion:zoroastrianism_religion +# OR = { +# has_faith = faith:mazdakism +# has_faith = faith:zurvanism +# } +# } +# } +# desc = destroy_the_magi_decision_alternate +# } desc = destroy_the_magi_decision } } desc = { first_valid = { - triggered_desc = { - trigger = { - AND = { - religion = religion:zoroastrianism_religion - OR = { - has_faith = faith:mazdakism - has_faith = faith:zurvanism - } - } - } - desc = destroy_the_magi_decision_alternate_desc - } +# triggered_desc = { +# trigger = { +# AND = { +# religion = religion:zoroastrianism_religion +# OR = { +# has_faith = faith:mazdakism +# has_faith = faith:zurvanism +# } +# } +# } +# desc = destroy_the_magi_decision_alternate_desc +# } desc = destroy_the_magi_decision_desc } } diff --git a/common/decisions/dlc_decisions/mpo/mpo_decisions.txt b/common/decisions/dlc_decisions/mpo/mpo_decisions.txt index 75792d69..4606f99c 100644 --- a/common/decisions/dlc_decisions/mpo/mpo_decisions.txt +++ b/common/decisions/dlc_decisions/mpo/mpo_decisions.txt @@ -3151,18 +3151,18 @@ mpo_become_greatest_of_khans_decision = { desc = { desc = mpo_become_greatest_of_khans_decision_desc - triggered_desc = { - trigger = { - NOR = { - #Playing as Genghis - this = character:125501 - #He came and went without becoming Genghis - exists = global_var:genghis_died - has_game_rule = never_mongol_invasion - } - } - desc = mpo_become_greatest_of_khans_decision_genghis_warning - } +# triggered_desc = { +# trigger = { +# NOR = { +# #Playing as Genghis +# this = character:125501 +# #He came and went without becoming Genghis +# exists = global_var:genghis_died +# has_game_rule = never_mongol_invasion +# } +# } +# desc = mpo_become_greatest_of_khans_decision_genghis_warning +# } } cooldown = { @@ -3227,7 +3227,8 @@ mpo_become_greatest_of_khans_decision = { highest_held_title_tier = tier_empire trigger_if = { # If you are player Temüjin we waive this requirements limit = { - NOT = { this = character:125501 } +# NOT = { this = character:125501 } + always = yes } OR = { sub_realm_size >= mpo_greatest_of_khans_target_counties @@ -3391,19 +3392,19 @@ mpo_become_greatest_of_khans_decision = { } } } - trigger_if = { - limit = { - is_ai = no - this = character:125501 # Temüjin - has_variable = had_mpo_temujin_flavor_0020 - } - custom_tooltip = { - text = temujin_jamukha_gok_requirement - character:mpo_mongol_1 = { # Jamukha - is_alive = no - } - } - } +# trigger_if = { +# limit = { +# is_ai = no +# this = character:125501 # Temüjin +# has_variable = had_mpo_temujin_flavor_0020 +# } +# custom_tooltip = { +# text = temujin_jamukha_gok_requirement +# character:mpo_mongol_1 = { # Jamukha +# is_alive = no +# } +# } +# } } is_valid_showing_failures_only = { @@ -5223,13 +5224,13 @@ settle_people_decision = { has_trait = content domicile.herd <= 500 is_independent_ruler = no - AND = { - culture = { has_cultural_pillar = heritage_magyar } - OR = { - has_title = title:k_hungary - has_title = title:e_carpathia - } - } +# AND = { +# culture = { has_cultural_pillar = heritage_magyar } +# OR = { +# has_title = title:k_hungary +# has_title = title:e_carpathia +# } +# } NOT = { any_sub_realm_county = { title_province = { @@ -5330,15 +5331,15 @@ settle_people_decision = { has_trait = ambitious } - # Hungarians want to settle - modifier = { - add = 1000 - culture = { has_cultural_pillar = heritage_magyar } - OR = { - has_title = title:k_hungary - has_title = title:e_carpathia - } - } +# # Hungarians want to settle +# modifier = { +# add = 1000 +# culture = { has_cultural_pillar = heritage_magyar } +# OR = { +# has_title = title:k_hungary +# has_title = title:e_carpathia +# } +# } # Nomadic Vassals of non-Nomads want to settle down modifier = { @@ -5367,8 +5368,8 @@ settle_people_decision = { } highest_held_title_tier >= tier_kingdom NOR = { - has_title = title:k_hungary - has_title = title:e_carpathia +# has_title = title:k_hungary +# has_title = title:e_carpathia any_sub_realm_county = { count >= 10 title_province = { @@ -5994,13 +5995,13 @@ step_away_from_the_steppe_decision = { has_trait = content domicile.herd <= 500 is_independent_ruler = no - AND = { - culture = { has_cultural_pillar = heritage_magyar } - OR = { - has_title = title:k_hungary - has_title = title:e_carpathia - } - } +# AND = { +# culture = { has_cultural_pillar = heritage_magyar } +# OR = { +# has_title = title:k_hungary +# has_title = title:e_carpathia +## } +## } NOT = { any_sub_realm_county = { title_province = { @@ -6101,15 +6102,15 @@ step_away_from_the_steppe_decision = { has_trait = ambitious } - # Hungarians want to settle - modifier = { - add = 1000 - culture = { has_cultural_pillar = heritage_magyar } - OR = { - has_title = title:k_hungary - has_title = title:e_carpathia - } - } +# # Hungarians want to settle +# modifier = { +# add = 1000 +# culture = { has_cultural_pillar = heritage_magyar } +# OR = { +# has_title = title:k_hungary +# has_title = title:e_carpathia +# } +# } # Nomadic Vassals of non-Nomads want to settle down modifier = { @@ -6131,26 +6132,26 @@ step_away_from_the_steppe_decision = { } } - modifier = { - factor = 0 - top_liege = { - government_has_flag = government_is_nomadic - } - highest_held_title_tier >= tier_kingdom - NOR = { - has_title = title:k_hungary - has_title = title:e_carpathia - any_sub_realm_county = { - count >= 10 - title_province = { - OR = { - has_holding_type = castle_holding - has_holding_type = tribal_holding - } - } - } - } - } +# modifier = { +# factor = 0 +# top_liege = { +# government_has_flag = government_is_nomadic +# } +# highest_held_title_tier >= tier_kingdom +# NOR = { +# has_title = title:k_hungary +# has_title = title:e_carpathia +# any_sub_realm_county = { +# count >= 10 +# title_province = { +# OR = { +# has_holding_type = castle_holding +# has_holding_type = tribal_holding +# } +# } +# } +# } +# } } } diff --git a/common/decisions/dlc_decisions/tgp/tgp_korea_decisions.txt b/common/decisions/dlc_decisions/tgp/tgp_korea_decisions.txt index 7e14d775..4279a97e 100644 --- a/common/decisions/dlc_decisions/tgp/tgp_korea_decisions.txt +++ b/common/decisions/dlc_decisions/tgp/tgp_korea_decisions.txt @@ -1,131 +1,132 @@ -########## -#Unify Samhan/Goryeo -### Unite the Husamguk ### -tgp_korea_unify_goryeo_decision = { - picture = { - reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_asia_welcome.dds" - } - desc = tgp_korea_unify_goryeo_decision_desc - selection_tooltip = tgp_korea_unify_goryeo_decision_tooltip - decision_group_type = major - - ai_check_interval_by_tier = { - barony = 0 - county = 0 - duchy = 0 - kingdom = 36 - empire = 0 - hegemony = 0 - } - - is_shown = { - has_tgp_dlc_trigger = yes - NOR = { - exists = title:e_goryeo.holder - exists = title:k_yongson_throne.holder - } - culture = { - OR = { - has_cultural_pillar = heritage_korean - has_cultural_pillar = heritage_buyeo - any_parent_culture = { - OR = { - has_cultural_pillar = heritage_korean - has_cultural_pillar = heritage_buyeo - } - } - } - } - NOT = { - is_target_in_global_variable_list = { - name = unavailable_unique_decisions - target = flag:unify_goryeo_decision - } - } - } - - is_valid = { - government_allows = administrative - highest_held_title_tier < tier_empire - OR = { - has_title = title:k_silla - has_title = title:k_goguryeo - has_title = title:k_baekje - } - custom_tooltip = { - text = tgp_korea_unify_goryeo_decision_no_other_korean_kingdoms_tt - trigger_if = { - limit = { exists = title:k_silla.holder } - title:k_silla.holder = root - } - trigger_if = { - limit = { exists = title:k_goguryeo.holder } - title:k_goguryeo.holder = root - } - trigger_if = { - limit = { exists = title:k_baekje.holder } - title:k_baekje.holder = root - } - } - completely_controls = title:d_bukgye - completely_controls = title:d_gaeseong - completely_controls = title:d_gyeongju - completely_controls = title:d_chungju - realm_size >= 50 - } - - is_valid_showing_failures_only = { - is_landed = yes - is_adult = yes - is_available = yes - is_independent_ruler = yes - } - - cost = { - piety = { - value = massive_piety_value - } - gold = { - value = 0 - if = { - limit = { - has_treasury = no - } - add = massive_gold_value - } - } - treasury = { - value = 0 - if = { - limit = { - has_treasury = yes - } - add = massive_gold_value - } - } - } - - effect = { - if = { - limit = { - is_ai = no - } - add_achievement_global_variable_effect = { - VARIABLE = achieved_ep4_13_how_its_done_done_done_achievement - VALUE = yes - } - } - #Can only happen once - add_to_global_variable_list = { - name = unavailable_unique_decisions - target = flag:unify_goryeo_decision - } - save_scope_as = king_of_goryeo - show_as_tooltip = { korea_unify_goryeo_reward_effect = yes } - trigger_event = tgp_korea_decision.9101 - } - - ai_will_do = { - base = 100 - } -} +########### +##Unify Samhan/Goryeo +#### Unite the Husamguk ### +#tgp_korea_unify_goryeo_decision = { +# picture = { +# reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_asia_welcome.dds" +# } +# desc = tgp_korea_unify_goryeo_decision_desc +# selection_tooltip = tgp_korea_unify_goryeo_decision_tooltip +# decision_group_type = major +# +# ai_check_interval_by_tier = { +# barony = 0 +# county = 0 +# duchy = 0 +# kingdom = 36 +# empire = 0 +# hegemony = 0 +# } +# +# is_shown = { +# has_tgp_dlc_trigger = yes +# NOR = { +# exists = title:e_goryeo.holder +# exists = title:k_yongson_throne.holder +# } +# culture = { +# OR = { +# has_cultural_pillar = heritage_korean +# has_cultural_pillar = heritage_buyeo +# any_parent_culture = { +# OR = { +# has_cultural_pillar = heritage_korean +# has_cultural_pillar = heritage_buyeo +# } +# } +# } +# } +# NOT = { +# is_target_in_global_variable_list = { +# name = unavailable_unique_decisions +# target = flag:unify_goryeo_decision +# } +# } +# } +# +# is_valid = { +# government_allows = administrative +# highest_held_title_tier < tier_empire +# OR = { +# has_title = title:k_silla +# has_title = title:k_goguryeo +# has_title = title:k_baekje +# } +# custom_tooltip = { +# text = tgp_korea_unify_goryeo_decision_no_other_korean_kingdoms_tt +# trigger_if = { +# limit = { exists = title:k_silla.holder } +# title:k_silla.holder = root +# } +# trigger_if = { +# limit = { exists = title:k_goguryeo.holder } +# title:k_goguryeo.holder = root +# } +# trigger_if = { +# limit = { exists = title:k_baekje.holder } +# title:k_baekje.holder = root +# } +# } +# completely_controls = title:d_bukgye +# completely_controls = title:d_gaeseong +# completely_controls = title:d_gyeongju +# completely_controls = title:d_chungju +# realm_size >= 50 +# } +# +# is_valid_showing_failures_only = { +# is_landed = yes +# is_adult = yes +# is_available = yes +# is_independent_ruler = yes +# } +# +# cost = { +# piety = { +# value = massive_piety_value +# } +# gold = { +# value = 0 +# if = { +# limit = { +# has_treasury = no +# } +# add = massive_gold_value +# } +# } +# treasury = { +# value = 0 +# if = { +# limit = { +# has_treasury = yes +# } +# add = massive_gold_value +# } +# } +# } +# +# effect = { +# if = { +# limit = { +# is_ai = no +# } +# add_achievement_global_variable_effect = { +# VARIABLE = achieved_ep4_13_how_its_done_done_done_achievement +# VALUE = yes +# } +# } +# #Can only happen once +# add_to_global_variable_list = { +# name = unavailable_unique_decisions +# target = flag:unify_goryeo_decision +# } +# save_scope_as = king_of_goryeo +# show_as_tooltip = { korea_unify_goryeo_reward_effect = yes } +# trigger_event = tgp_korea_decision.9101 +# } +# +# ai_will_do = { +# base = 100 +# } +#} +# \ No newline at end of file diff --git a/common/domiciles/buildings/NEOW_minority_community_buildings.txt b/common/domiciles/buildings/NEOW_minority_community_buildings.txt index 8fd4fff6..066e3b9d 100644 --- a/common/domiciles/buildings/NEOW_minority_community_buildings.txt +++ b/common/domiciles/buildings/NEOW_minority_community_buildings.txt @@ -7988,6 +7988,7 @@ village_grazing_land_01 = { } parameters = { minority_comm_contributes_provisions = yes + cheaper_grain_fields_buildings_1 = yes } on_complete = { if = { @@ -8110,6 +8111,7 @@ village_grazing_land_02 = { parameters = { minority_comm_contributes_provisions = yes + cheaper_grain_fields_buildings_2 = yes } on_complete = { if = { @@ -8223,6 +8225,7 @@ village_grazing_land_03 = { } parameters = { + cheaper_grain_fields_buildings_2 = yes minority_comm_contributes_provisions = yes } character_modifier = { @@ -8365,6 +8368,7 @@ village_grazing_land_04 = { parameters = { minority_comm_contributes_provisions = yes + cheaper_grain_fields_buildings_2 = yes } on_complete = { @@ -8482,6 +8486,7 @@ grazing_land_05 = { parameters = { minority_comm_contributes_provisions = yes + cheaper_grain_fields_buildings_3 = yes } on_complete = { @@ -8599,6 +8604,7 @@ grazing_land_06 = { parameters = { minority_comm_contributes_provisions = yes + cheaper_grain_fields_buildings_3 = yes } on_complete = { diff --git a/common/domiciles/types/NEOW_domicile_types.txt b/common/domiciles/types/NEOW_domicile_types.txt index 4b96f765..768e9dc0 100644 --- a/common/domiciles/types/NEOW_domicile_types.txt +++ b/common/domiciles/types/NEOW_domicile_types.txt @@ -942,25 +942,25 @@ minority_community = { } if = { limit = { - domicile ?= { has_domicile_building_or_higher = minority_community_05 } + domicile ?= { has_domicile_building_or_higher = minority_community_main_05 } } add = 800 } else_if = { limit = { - domicile ?= { has_domicile_building_or_higher = minority_community_04 } + domicile ?= { has_domicile_building_or_higher = minority_community_main_04 } } add = 600 } else_if = { limit = { - domicile ?= { has_domicile_building_or_higher = minority_community_03 } + domicile ?= { has_domicile_building_or_higher = minority_community_main_03 } } add = 400 } else_if = { limit = { - domicile ?= { has_domicile_building_or_higher = minority_community_02 } + domicile ?= { has_domicile_building_or_higher = minority_community_main_02 } } add = 200 } diff --git a/common/scripted_character_templates/00_invader_templates.txt b/common/scripted_character_templates/00_invader_templates.txt index 408df5fe..9903bcc3 100644 --- a/common/scripted_character_templates/00_invader_templates.txt +++ b/common/scripted_character_templates/00_invader_templates.txt @@ -1,94 +1,95 @@ -################################ -# Almohads -################################ -### Ibn Tumart -ibn_tumart_character_template = { # (history database char id 125501) - age = 49 # Around 50 when the attack on the Almoravids proper began - gender = male - martial = 8 - diplomacy = 14 - intrigue = 10 - stewardship = 10 - learning = 12 - faith = faith:masmudi - culture = culture:baranis - trait = zealous - trait = stubborn - trait = vengeful - trait = scholar - trait = education_learning_4 - trait = reckless - random_traits = no -} - -### Abd al-Mu'min -abd_al_mumin_character_template = { - age = 35 # Around 15 years younger than Ibn Tumart - gender = male - martial = 14 - diplomacy = 10 - intrigue = 14 - stewardship = 6 - learning = 10 - faith = faith:masmudi - culture = culture:baranis - trait = ambitious - trait = diligent - trait = zealous - trait = diplomat - trait = education_learning_3 - trait = holy_warrior - random_traits = no -} - -################################ -# Hungarian Migration -################################ -### Local Warlords -post_migration_local_warlord_template = { - age = { 20 40 } - random_traits = yes - culture = scope:seceding_duchy.title_capital_county.title_province.culture - faith = scope:seceding_duchy.title_capital_county.title_province.faith - gender_female_chance = { - if = { - limit = { scope:seceding_duchy.title_capital_county.title_province.faith = { has_doctrine = doctrine_gender_male_dominated } } - add = 0 - } - else_if = { - limit = { scope:seceding_duchy.title_capital_county.title_province.faith = { has_doctrine = doctrine_gender_female_dominated } } - add = 100 - } - else = { - add = 50 - } - } - martial = { - min_template_decent_skill - max_template_decent_skill - } -} - -post_migration_minor_warlord_template = { - age = { 20 40 } - random_traits = yes - culture = scope:seceding_county.title_capital_county.title_province.culture - faith = scope:seceding_county.title_capital_county.title_province.faith - gender_female_chance = { - if = { - limit = { scope:seceding_county.title_capital_county.title_province.faith = { has_doctrine = doctrine_gender_male_dominated } } - add = 0 - } - else_if = { - limit = { scope:seceding_county.title_capital_county.title_province.faith = { has_doctrine = doctrine_gender_female_dominated } } - add = 100 - } - else = { - add = 50 - } - } - martial = { - min_template_decent_skill - max_template_decent_skill - } -} +################################# +## Almohads +################################# +#### Ibn Tumart +#ibn_tumart_character_template = { # (history database char id 125501) +# age = 49 # Around 50 when the attack on the Almoravids proper began +# gender = male +# martial = 8 +# diplomacy = 14 +# intrigue = 10 +# stewardship = 10 +# learning = 12 +# faith = faith:masmudi +# culture = culture:baranis +# trait = zealous +# trait = stubborn +# trait = vengeful +# trait = scholar +# trait = education_learning_4 +# trait = reckless +# random_traits = no +#} +# +#### Abd al-Mu'min +#abd_al_mumin_character_template = { +# age = 35 # Around 15 years younger than Ibn Tumart +# gender = male +# martial = 14 +# diplomacy = 10 +# intrigue = 14 +# stewardship = 6 +# learning = 10 +# faith = faith:masmudi +# culture = culture:baranis +# trait = ambitious +# trait = diligent +# trait = zealous +# trait = diplomat +# trait = education_learning_3 +# trait = holy_warrior +# random_traits = no +#} +# +################################# +## Hungarian Migration +################################# +#### Local Warlords +#post_migration_local_warlord_template = { +# age = { 20 40 } +# random_traits = yes +# culture = scope:seceding_duchy.title_capital_county.title_province.culture +# faith = scope:seceding_duchy.title_capital_county.title_province.faith +# gender_female_chance = { +# if = { +# limit = { scope:seceding_duchy.title_capital_county.title_province.faith = { has_doctrine = doctrine_gender_male_dominated } } +# add = 0 +# } +# else_if = { +# limit = { scope:seceding_duchy.title_capital_county.title_province.faith = { has_doctrine = doctrine_gender_female_dominated } } +# add = 100 +# } +# else = { +# add = 50 +# } +# } +# martial = { +# min_template_decent_skill +# max_template_decent_skill +# } +#} +# +#post_migration_minor_warlord_template = { +# age = { 20 40 } +# random_traits = yes +# culture = scope:seceding_county.title_capital_county.title_province.culture +# faith = scope:seceding_county.title_capital_county.title_province.faith +# gender_female_chance = { +# if = { +# limit = { scope:seceding_county.title_capital_county.title_province.faith = { has_doctrine = doctrine_gender_male_dominated } } +# add = 0 +# } +# else_if = { +# limit = { scope:seceding_county.title_capital_county.title_province.faith = { has_doctrine = doctrine_gender_female_dominated } } +# add = 100 +# } +# else = { +# add = 50 +# } +# } +# martial = { +# min_template_decent_skill +# max_template_decent_skill +# } +#} +# \ No newline at end of file diff --git a/common/scripted_character_templates/00_mongol_templates.txt b/common/scripted_character_templates/00_mongol_templates.txt index c91bd692..0b4803dd 100644 --- a/common/scripted_character_templates/00_mongol_templates.txt +++ b/common/scripted_character_templates/00_mongol_templates.txt @@ -1,440 +1,441 @@ - -genghis_khan_character_template = { # (history database char id 125501) - age = 36 # Temujin's age around 1198 - gender = male - dynasty_house = house:house_borjigin - martial = 15 - diplomacy = 12 - intrigue = 9 - stewardship = 12 - prowess = 20 - faith = faith:tengri_pagan - culture = culture:mongol - trait = ambitious - trait = diligent - trait = vengeful - trait = lifestyle_hunter - trait = education_martial_5 - trait = flexible_leader - trait = open_terrain_expert - trait = shrewd - random_traits = no - after_creation = { - copy_inheritable_appearance_from = character:dynamic_mongol_1 - - if = { - limit = { has_dlc_feature = tours_and_tournaments } - add_trait = tourney_participant - add_random_tiered_trait_track_xp_effect = { - TRAIT = lifestyle_hunter - TRACK = hunter - LEVEL_1 = yes - LEVEL_3 = no - } - add_random_tiered_trait_track_xp_effect = { - TRAIT = tourney_participant - TRACK = horse - LEVEL_1 = yes - LEVEL_3 = yes - } - add_random_tiered_trait_track_xp_effect = { - TRAIT = tourney_participant - TRACK = bow - LEVEL_1 = yes - LEVEL_3 = yes - } - } - } -} - -borte_character_template = { # (history database char id 172004) - age = 37 - gender = female - dynasty_house = house:house_onggirat - faith = faith:tengri_pagan - culture = culture:mongol - trait = calm - trait = callous - trait = gregarious - trait = education_martial_3 - martial = { - min_template_high_skill - max_template_high_skill - } - prowess = 15 - diplomacy = 9 - intrigue = 12 - stewardship = 10 - random_traits = no - after_creation = { - copy_inheritable_appearance_from = character:dynamic_mongol_2 - } -} - -jochi_character_template = { # (history database char id 125502) - age = 17 - gender = male - dynasty_house = house:house_borjigin - faith = faith:tengri_pagan - culture = culture:mongol - trait = calm - trait = callous - trait = vengeful - trait = education_martial_3 - trait = lifestyle_hunter - random_traits = no - prowess = 20 - after_creation = { - if = { - limit = { has_dlc_feature = tours_and_tournaments } - add_trait = tourney_participant - add_random_tiered_trait_track_xp_effect = { - TRAIT = lifestyle_hunter - TRACK = hunter - LEVEL_1 = yes - LEVEL_3 = no - } - add_random_tiered_trait_track_xp_effect = { - TRAIT = tourney_participant - TRACK = horse - LEVEL_1 = yes - LEVEL_3 = no - } - add_random_tiered_trait_track_xp_effect = { - TRAIT = tourney_participant - TRACK = bow - LEVEL_1 = yes - LEVEL_3 = no - } - } - } -} - -tolui_character_template = { # (history database char id 125520) - age = 6 - gender = male - dynasty_house = house:house_borjigin - faith = faith:tengri_pagan - culture = culture:mongol - trait = rowdy - random_traits = no - prowess = 20 -} - -chagatai_character_template = { # (history database char id 93062) - age = 15 - gender = male - dynasty_house = house:house_borjigin - faith = faith:tengri_pagan - culture = culture:mongol - trait = wrathful - trait = impatient - trait = just - trait = rowdy - random_traits = no - prowess = 20 - after_creation = { - if = { - limit = { has_dlc_feature = tours_and_tournaments } - add_trait = tourney_participant - add_random_tiered_trait_track_xp_effect = { - TRAIT = tourney_participant - TRACK = horse - LEVEL_1 = yes - LEVEL_3 = no - } - add_random_tiered_trait_track_xp_effect = { - TRAIT = tourney_participant - TRACK = bow - LEVEL_1 = yes - LEVEL_3 = no - } - } - } -} - -ogodei_character_template = { # (history database char id 172005) - age = 12 - gender = male - dynasty_house = house:house_borjigin - faith = faith:tengri_pagan - culture = culture:mongol - trait = gregarious - trait = just - trait = rowdy - random_traits = no - martial = 14 - diplomacy = 12 - intrigue = 10 - stewardship = 16 - prowess = 20 -} - -altun_begi_character_template = { # (history database char id 217227) - age = 7 - gender = female - dynasty_house = house:house_borjigin - faith = faith:tengri_pagan - culture = culture:mongol - trait = curious - random_traits = no -} - - -subutai_character_template = { # (history database char id 34850 - age = 23 - gender = male - dynasty_house = house:house_uriankhai - faith = faith:tengri_pagan - culture = culture:mongol - martial = 17 - diplomacy = 6 - intrigue = 9 - stewardship = 9 - prowess = 30 - trait = brave - trait = diligent - trait = patient - trait = strong - trait = intellect_good_2 - trait = education_martial_4 - trait = organizer - trait = flexible_leader - trait = loyal - random_traits = no - after_creation = { - if = { - limit = { has_dlc_feature = tours_and_tournaments } - add_trait = tourney_participant - add_random_tiered_trait_track_xp_effect = { - TRAIT = tourney_participant - TRACK = horse - LEVEL_1 = yes - LEVEL_3 = yes - } - add_random_tiered_trait_track_xp_effect = { - TRAIT = tourney_participant - TRACK = bow - LEVEL_1 = yes - LEVEL_3 = yes - } - add_random_tiered_trait_track_xp_effect = { - TRAIT = tourney_participant - TRACK = wit - LEVEL_1 = yes - LEVEL_3 = yes - } - } - } -} - - -### Temujin's PARENTS (currently not in use) -hoelun_character_template = { # (history database char id 172003) - name = "Hoelun" # Mother of Genghis Khan - age = 59 - gender = female - dynasty_house = house:house_olkhunut - faith = faith:tengri_pagan - culture = culture:mongol - martial = 8 - diplomacy = 10 - intrigue = 12 - stewardship = 10 - trait = compassionate - trait = patient - trait = diligent - trait = education_intrigue_4 -} - - -yesu_gei_character_template = { # (history database char id 93055) - name = "YesU_gei" # Father of Genghis Khan - age = 88 # if alive at the spawning of 36 year old Temujin - gender = female - dynasty_house = house:house_borjigin - faith = faith:tengri_pagan - culture = culture:mongol - martial = 9 - diplomacy = 6 - intrigue = 6 - stewardship = 6 - trait = stubborn - trait = diligent - trait = wrathful - trait = education_martial_1 -} - -dynamic_genghis_character_template = { - age = { 30 42 } # Temujin's age around 1198 - gender_female_chance = { - if = { - limit = { faith:tengri_pagan = { has_doctrine = doctrine_gender_male_dominated } } - add = 0 - } - else_if = { - limit = { faith:tengri_pagan = { has_doctrine = doctrine_gender_female_dominated } } - add = 100 - } - else = { - add = 50 - } - } - martial = { 10 20 } - diplomacy = { 8 16 } - intrigue = { 4 14 } - stewardship = { 8 16 } - prowess = { 15 25 } - faith = faith:tengri_pagan - culture = culture:mongol - random_traits = no - random_traits_list = { - count = 3 - # Personality traits - lustful = {} - gluttonous = {} - greedy = {} - diligent = {} - wrathful = {} - impatient = {} - arrogant = {} - deceitful = {} - brave = {} - gregarious = {} - ambitious = {} - arbitrary = {} - zealous = {} - callous = {} - sadistic = {} - stubborn = {} - vengeful = {} - just = {} - honest = {} - } - random_traits_list = { - count = 1 - # Commander traits - logistician = {} - aggressive_attacker = {} - unyielding_defender = {} - forder = {} - flexible_leader = {} - desert_warrior = {} - reckless = {} - organizer = {} - } - trait = lifestyle_hunter - trait = education_martial_5 - trait = open_terrain_expert - after_creation = { - set_interesting_traits_and_modifiers_effect = yes - if = { - limit = { has_dlc_feature = tours_and_tournaments } - add_trait = tourney_participant - add_random_tiered_trait_track_xp_effect = { - TRAIT = lifestyle_hunter - TRACK = hunter - LEVEL_1 = yes - LEVEL_3 = no - } - add_random_tiered_trait_track_xp_effect = { - TRAIT = tourney_participant - TRACK = horse - LEVEL_1 = yes - LEVEL_3 = yes - } - add_random_tiered_trait_track_xp_effect = { - TRAIT = tourney_participant - TRACK = bow - LEVEL_1 = yes - LEVEL_3 = yes - } - } - change_current_weight = 25 - } -} - -dynamic_genghis_spouse_template = { - age = { 26 42 } - faith = faith:tengri_pagan - culture = culture:mongol - random_traits = no - random_traits_list = { - count = 3 - # Personality traits - lustful = {} - gluttonous = {} - greedy = {} - diligent = {} - wrathful = {} - impatient = {} - arrogant = {} - deceitful = {} - brave = {} - gregarious = {} - ambitious = {} - arbitrary = {} - zealous = {} - callous = {} - sadistic = {} - stubborn = {} - vengeful = {} - calm = {} - patient = {} - cynical = {} - just = {} - honest = {} - } - random_traits_list = { - count = 1 - education_learning_4 = {} - education_learning_3 = {} - education_diplomacy_4 = {} - education_diplomacy_3 = {} - education_stewardship_4 = {} - education_stewardship_3 = {} - education_intrigue_4 = {} - education_intrigue_3 = {} - education_martial_4 = {} - education_martial_3 = {} - } - martial = { - min_template_decent_skill - max_template_decent_skill - } - stewardship = { - min_template_decent_skill - max_template_decent_skill - } - diplomacy = { - 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 = { 8 16 } -} - -dynamic_genghis_child_template = { - age = { 2 14 } - gender_female_chance = { - add = 50 - } - faith = faith:tengri_pagan - culture = culture:mongol - dynasty_house = scope:temujin.house - random_traits = yes - intrigue = { - min_template_decent_skill - max_template_decent_skill - } - after_creation = { - set_interesting_traits_and_modifiers_effect = yes - } -} +# +#genghis_khan_character_template = { # (history database char id 125501) +# age = 36 # Temujin's age around 1198 +# gender = male +# dynasty_house = house:house_borjigin +# martial = 15 +# diplomacy = 12 +# intrigue = 9 +# stewardship = 12 +# prowess = 20 +# faith = faith:tengri_pagan +# culture = culture:mongol +# trait = ambitious +# trait = diligent +# trait = vengeful +# trait = lifestyle_hunter +# trait = education_martial_5 +# trait = flexible_leader +# trait = open_terrain_expert +# trait = shrewd +# random_traits = no +# after_creation = { +# copy_inheritable_appearance_from = character:dynamic_mongol_1 +# +# if = { +# limit = { has_dlc_feature = tours_and_tournaments } +# add_trait = tourney_participant +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = lifestyle_hunter +# TRACK = hunter +# LEVEL_1 = yes +# LEVEL_3 = no +# } +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = tourney_participant +# TRACK = horse +# LEVEL_1 = yes +# LEVEL_3 = yes +# } +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = tourney_participant +# TRACK = bow +# LEVEL_1 = yes +# LEVEL_3 = yes +# } +# } +# } +#} +# +#borte_character_template = { # (history database char id 172004) +# age = 37 +# gender = female +# dynasty_house = house:house_onggirat +# faith = faith:tengri_pagan +# culture = culture:mongol +# trait = calm +# trait = callous +# trait = gregarious +# trait = education_martial_3 +# martial = { +# min_template_high_skill +# max_template_high_skill +# } +# prowess = 15 +# diplomacy = 9 +# intrigue = 12 +# stewardship = 10 +# random_traits = no +# after_creation = { +# copy_inheritable_appearance_from = character:dynamic_mongol_2 +# } +#} +# +#jochi_character_template = { # (history database char id 125502) +# age = 17 +# gender = male +# dynasty_house = house:house_borjigin +# faith = faith:tengri_pagan +# culture = culture:mongol +# trait = calm +# trait = callous +# trait = vengeful +# trait = education_martial_3 +# trait = lifestyle_hunter +# random_traits = no +# prowess = 20 +# after_creation = { +# if = { +# limit = { has_dlc_feature = tours_and_tournaments } +# add_trait = tourney_participant +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = lifestyle_hunter +# TRACK = hunter +# LEVEL_1 = yes +# LEVEL_3 = no +# } +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = tourney_participant +# TRACK = horse +# LEVEL_1 = yes +# LEVEL_3 = no +# } +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = tourney_participant +# TRACK = bow +# LEVEL_1 = yes +# LEVEL_3 = no +# } +# } +# } +#} +# +#tolui_character_template = { # (history database char id 125520) +# age = 6 +# gender = male +# dynasty_house = house:house_borjigin +# faith = faith:tengri_pagan +# culture = culture:mongol +# trait = rowdy +# random_traits = no +# prowess = 20 +#} +# +#chagatai_character_template = { # (history database char id 93062) +# age = 15 +# gender = male +# dynasty_house = house:house_borjigin +# faith = faith:tengri_pagan +# culture = culture:mongol +# trait = wrathful +# trait = impatient +# trait = just +# trait = rowdy +# random_traits = no +# prowess = 20 +# after_creation = { +# if = { +# limit = { has_dlc_feature = tours_and_tournaments } +# add_trait = tourney_participant +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = tourney_participant +# TRACK = horse +# LEVEL_1 = yes +# LEVEL_3 = no +# } +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = tourney_participant +# TRACK = bow +# LEVEL_1 = yes +# LEVEL_3 = no +# } +# } +# } +#} +# +#ogodei_character_template = { # (history database char id 172005) +# age = 12 +# gender = male +# dynasty_house = house:house_borjigin +# faith = faith:tengri_pagan +# culture = culture:mongol +# trait = gregarious +# trait = just +# trait = rowdy +# random_traits = no +# martial = 14 +# diplomacy = 12 +# intrigue = 10 +# stewardship = 16 +# prowess = 20 +#} +# +#altun_begi_character_template = { # (history database char id 217227) +# age = 7 +# gender = female +# dynasty_house = house:house_borjigin +# faith = faith:tengri_pagan +# culture = culture:mongol +# trait = curious +# random_traits = no +#} +# +# +#subutai_character_template = { # (history database char id 34850 +# age = 23 +# gender = male +# dynasty_house = house:house_uriankhai +# faith = faith:tengri_pagan +# culture = culture:mongol +# martial = 17 +# diplomacy = 6 +# intrigue = 9 +# stewardship = 9 +# prowess = 30 +# trait = brave +# trait = diligent +# trait = patient +# trait = strong +# trait = intellect_good_2 +# trait = education_martial_4 +# trait = organizer +# trait = flexible_leader +# trait = loyal +# random_traits = no +# after_creation = { +# if = { +# limit = { has_dlc_feature = tours_and_tournaments } +# add_trait = tourney_participant +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = tourney_participant +# TRACK = horse +# LEVEL_1 = yes +# LEVEL_3 = yes +# } +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = tourney_participant +# TRACK = bow +# LEVEL_1 = yes +# LEVEL_3 = yes +# } +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = tourney_participant +# TRACK = wit +# LEVEL_1 = yes +# LEVEL_3 = yes +# } +# } +# } +#} +# +# +#### Temujin's PARENTS (currently not in use) +#hoelun_character_template = { # (history database char id 172003) +# name = "Hoelun" # Mother of Genghis Khan +# age = 59 +# gender = female +# dynasty_house = house:house_olkhunut +# faith = faith:tengri_pagan +# culture = culture:mongol +# martial = 8 +# diplomacy = 10 +# intrigue = 12 +# stewardship = 10 +# trait = compassionate +# trait = patient +# trait = diligent +# trait = education_intrigue_4 +#} +# +# +#yesu_gei_character_template = { # (history database char id 93055) +# name = "YesU_gei" # Father of Genghis Khan +# age = 88 # if alive at the spawning of 36 year old Temujin +# gender = female +# dynasty_house = house:house_borjigin +# faith = faith:tengri_pagan +# culture = culture:mongol +# martial = 9 +# diplomacy = 6 +# intrigue = 6 +# stewardship = 6 +# trait = stubborn +# trait = diligent +# trait = wrathful +# trait = education_martial_1 +#} +# +#dynamic_genghis_character_template = { +# age = { 30 42 } # Temujin's age around 1198 +# gender_female_chance = { +# if = { +# limit = { faith:tengri_pagan = { has_doctrine = doctrine_gender_male_dominated } } +# add = 0 +# } +# else_if = { +# limit = { faith:tengri_pagan = { has_doctrine = doctrine_gender_female_dominated } } +# add = 100 +# } +# else = { +# add = 50 +# } +# } +# martial = { 10 20 } +# diplomacy = { 8 16 } +# intrigue = { 4 14 } +# stewardship = { 8 16 } +# prowess = { 15 25 } +# faith = faith:tengri_pagan +# culture = culture:mongol +# random_traits = no +# random_traits_list = { +# count = 3 +# # Personality traits +# lustful = {} +# gluttonous = {} +# greedy = {} +# diligent = {} +# wrathful = {} +# impatient = {} +# arrogant = {} +# deceitful = {} +# brave = {} +# gregarious = {} +# ambitious = {} +# arbitrary = {} +# zealous = {} +# callous = {} +# sadistic = {} +# stubborn = {} +# vengeful = {} +# just = {} +# honest = {} +# } +# random_traits_list = { +# count = 1 +# # Commander traits +# logistician = {} +# aggressive_attacker = {} +# unyielding_defender = {} +# forder = {} +# flexible_leader = {} +# desert_warrior = {} +# reckless = {} +# organizer = {} +# } +# trait = lifestyle_hunter +# trait = education_martial_5 +# trait = open_terrain_expert +# after_creation = { +# set_interesting_traits_and_modifiers_effect = yes +# if = { +# limit = { has_dlc_feature = tours_and_tournaments } +# add_trait = tourney_participant +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = lifestyle_hunter +# TRACK = hunter +# LEVEL_1 = yes +# LEVEL_3 = no +# } +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = tourney_participant +# TRACK = horse +# LEVEL_1 = yes +# LEVEL_3 = yes +# } +# add_random_tiered_trait_track_xp_effect = { +# TRAIT = tourney_participant +# TRACK = bow +# LEVEL_1 = yes +# LEVEL_3 = yes +# } +# } +# change_current_weight = 25 +# } +#} +# +#dynamic_genghis_spouse_template = { +# age = { 26 42 } +# faith = faith:tengri_pagan +# culture = culture:mongol +# random_traits = no +# random_traits_list = { +# count = 3 +# # Personality traits +# lustful = {} +# gluttonous = {} +# greedy = {} +# diligent = {} +# wrathful = {} +# impatient = {} +# arrogant = {} +# deceitful = {} +# brave = {} +# gregarious = {} +# ambitious = {} +# arbitrary = {} +# zealous = {} +# callous = {} +# sadistic = {} +# stubborn = {} +# vengeful = {} +# calm = {} +# patient = {} +# cynical = {} +# just = {} +# honest = {} +# } +# random_traits_list = { +# count = 1 +# education_learning_4 = {} +# education_learning_3 = {} +# education_diplomacy_4 = {} +# education_diplomacy_3 = {} +# education_stewardship_4 = {} +# education_stewardship_3 = {} +# education_intrigue_4 = {} +# education_intrigue_3 = {} +# education_martial_4 = {} +# education_martial_3 = {} +# } +# martial = { +# min_template_decent_skill +# max_template_decent_skill +# } +# stewardship = { +# min_template_decent_skill +# max_template_decent_skill +# } +# diplomacy = { +# 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 = { 8 16 } +#} +# +#dynamic_genghis_child_template = { +# age = { 2 14 } +# gender_female_chance = { +# add = 50 +# } +# faith = faith:tengri_pagan +# culture = culture:mongol +# dynasty_house = scope:temujin.house +# random_traits = yes +# intrigue = { +# min_template_decent_skill +# max_template_decent_skill +# } +# after_creation = { +# set_interesting_traits_and_modifiers_effect = yes +# } +#} +# \ No newline at end of file