From 5b1716c3ae51a4f01c1b529313a76c23e25e55e8 Mon Sep 17 00:00:00 2001 From: Fishedotjpg Date: Wed, 4 Mar 2026 15:19:41 +0000 Subject: [PATCH] and fixed effects related to minority communities --- .../00_religious_interactions.txt | 21 + .../07_dlc_ep3_scripted_effects.txt | 527 +++++++++++++++++- .../replace/NEOW_Domicile_l_english.yml | 2 +- 3 files changed, 534 insertions(+), 16 deletions(-) diff --git a/common/character_interactions/00_religious_interactions.txt b/common/character_interactions/00_religious_interactions.txt index f401cd66..cd98c0a4 100644 --- a/common/character_interactions/00_religious_interactions.txt +++ b/common/character_interactions/00_religious_interactions.txt @@ -12,6 +12,7 @@ ask_for_conversion_interaction = { scope:actor.faith != scope:recipient.faith scope:recipient.liege = scope:actor NOT = { scope:recipient = { government_has_flag = government_is_landless_minority } } + NOT = { scope:recipient = { culture = { has_cultural_tradition = tradition_diasporic } } } } is_valid_showing_failures_only = { @@ -524,6 +525,8 @@ demand_conversion_interaction = { is_ruler = yes } NOT = { scope:recipient = { government_has_flag = government_is_landless_minority } } + + NOT = { scope:recipient = { culture = { has_cultural_tradition = tradition_diasporic } } } } cooldown_against_recipient = { years = 15 } @@ -807,6 +810,7 @@ demand_conversion_vassal_ruler_interaction = { is_ruler = yes } NOT = { scope:recipient = { government_has_flag = government_is_landless_minority } } + NOT = { scope:recipient = { culture = { has_cultural_tradition = tradition_diasporic } } } } cooldown_against_recipient = { years = 15 } @@ -1260,6 +1264,7 @@ demand_conversion_player_ruler_interaction = { faith != scope:actor.faith } NOT = { scope:recipient = { government_has_flag = government_is_landless_minority } } + NOT = { scope:recipient = { culture = { has_cultural_tradition = tradition_diasporic } } } } cooldown_against_recipient = { years = 15 } @@ -1869,6 +1874,10 @@ convert_to_religion_interaction = { } } NOT = { scope:actor = { government_has_flag = government_is_landless_minority } } + OR = { + is_ai = no + NOT = { scope:actor = { culture = { has_cultural_tradition = tradition_diasporic } } } + } } is_valid_showing_failures_only = { @@ -1957,6 +1966,10 @@ convert_to_religion_adventurer_interaction = { } } NOT = { scope:actor = { government_has_flag = government_is_landless_minority } } + OR = { + is_ai = no + NOT = { scope:actor = { culture = { has_cultural_tradition = tradition_diasporic } } } + } } is_valid_showing_failures_only = { @@ -7104,6 +7117,14 @@ attempt_conversion_of_local_ruler_interaction = { is_ruler = yes is_landed = yes } + OR = { + is_ai = no + NOT = { scope:actor = { government_has_flag = government_is_landless_minority } } + } + OR = { + is_ai = no + NOT = { scope:actor = { culture = { has_cultural_tradition = tradition_diasporic } } } + } } is_highlighted = { diff --git a/common/scripted_effects/07_dlc_ep3_scripted_effects.txt b/common/scripted_effects/07_dlc_ep3_scripted_effects.txt index acac0ca9..114f6a28 100644 --- a/common/scripted_effects/07_dlc_ep3_scripted_effects.txt +++ b/common/scripted_effects/07_dlc_ep3_scripted_effects.txt @@ -717,19 +717,516 @@ create_landless_minority_title_effect = { } } else = { - ep3_laamps_1001_generate_martial_char_effect = yes - ep3_laamps_1001_add_courtiers_effect = { SKILL = martial } - ep3_laamps_1001_generate_stewardship_char_effect = yes - ep3_laamps_1001_add_courtiers_effect = { SKILL = stewardship } - ep3_laamps_1001_generate_diplomacy_char_effect = yes - ep3_laamps_1001_add_courtiers_effect = { SKILL = diplomacy } - ep3_laamps_1001_boost_courtier_opinion_effect = { SKILL = diplomacy } - ep3_laamps_1001_generate_learning_char_effect = yes - ep3_laamps_1001_add_courtiers_effect = { SKILL = learning } - ep3_laamps_1001_generate_intrigue_char_effect = yes - ep3_laamps_1001_add_courtiers_effect = { SKILL = intrigue } - ep3_laamps_1001_generate_prowess_char_effect = yes - ep3_laamps_1001_add_courtiers_effect = { SKILL = prowess } + create_character = { + template = pool_repopulate_diplomacy + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = diplomacy_1 + diplomacy = { + min_template_high_skill + max_template_high_skill + } + martial = { + min_template_average_skill + max_template_average_skill + } + stewardship = { + min_template_average_skill + max_template_average_skill + } + intrigue = { + min_template_average_skill + max_template_average_skill + } + learning = { + min_template_average_skill + max_template_average_skill + } + prowess = { + min_template_average_skill + max_template_average_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_diplomacy + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = diplomacy_2 + diplomacy = { + min_template_high_skill + max_template_high_skill + } + martial = { + min_template_average_skill + max_template_average_skill + } + stewardship = { + min_template_average_skill + max_template_average_skill + } + intrigue = { + min_template_average_skill + max_template_average_skill + } + learning = { + min_template_average_skill + max_template_average_skill + } + prowess = { + min_template_average_skill + max_template_average_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_martial + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = martial_1 + diplomacy = { + min_template_average_skill + max_template_average_skill + } + martial = { + min_template_high_skill + max_template_high_skill + } + stewardship = { + min_template_average_skill + max_template_average_skill + } + intrigue = { + min_template_average_skill + max_template_average_skill + } + learning = { + min_template_average_skill + max_template_average_skill + } + prowess = { + min_template_average_skill + max_template_average_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_martial + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = martial_2 + diplomacy = { + min_template_average_skill + max_template_average_skill + } + martial = { + min_template_high_skill + max_template_high_skill + } + stewardship = { + min_template_average_skill + max_template_average_skill + } + intrigue = { + min_template_average_skill + max_template_average_skill + } + learning = { + min_template_average_skill + max_template_average_skill + } + prowess = { + min_template_average_skill + max_template_average_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_stewardship + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = stewardship_1 + diplomacy = { + min_template_average_skill + max_template_average_skill + } + martial = { + min_template_average_skill + max_template_average_skill + } + stewardship = { + min_template_high_skill + max_template_high_skill + } + intrigue = { + min_template_average_skill + max_template_average_skill + } + learning = { + min_template_average_skill + max_template_average_skill + } + prowess = { + min_template_average_skill + max_template_average_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_stewardship + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = stewardship_2 + diplomacy = { + min_template_average_skill + max_template_average_skill + } + martial = { + min_template_average_skill + max_template_average_skill + } + stewardship = { + min_template_high_skill + max_template_high_skill + } + intrigue = { + min_template_average_skill + max_template_average_skill + } + learning = { + min_template_average_skill + max_template_average_skill + } + prowess = { + min_template_average_skill + max_template_average_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_intrigue + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = intrigue_1 + diplomacy = { + min_template_average_skill + max_template_average_skill + } + martial = { + min_template_average_skill + max_template_average_skill + } + stewardship = { + min_template_average_skill + max_template_average_skill + } + intrigue = { + min_template_high_skill + max_template_high_skill + } + learning = { + min_template_average_skill + max_template_average_skill + } + prowess = { + min_template_average_skill + max_template_average_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_intrigue + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = intrigue_2 + diplomacy = { + min_template_average_skill + max_template_average_skill + } + martial = { + min_template_average_skill + max_template_average_skill + } + stewardship = { + min_template_average_skill + max_template_average_skill + } + intrigue = { + min_template_high_skill + max_template_high_skill + } + learning = { + min_template_average_skill + max_template_average_skill + } + prowess = { + min_template_average_skill + max_template_average_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_learning + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = learning_1 + diplomacy = { + min_template_average_skill + max_template_average_skill + } + martial = { + min_template_average_skill + max_template_average_skill + } + stewardship = { + min_template_average_skill + max_template_average_skill + } + intrigue = { + min_template_average_skill + max_template_average_skill + } + learning = { + min_template_high_skill + max_template_high_skill + } + prowess = { + min_template_average_skill + max_template_average_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_learning + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = learning_2 + diplomacy = { + min_template_average_skill + max_template_average_skill + } + martial = { + min_template_average_skill + max_template_average_skill + } + stewardship = { + min_template_average_skill + max_template_average_skill + } + intrigue = { + min_template_average_skill + max_template_average_skill + } + learning = { + min_template_high_skill + max_template_high_skill + } + prowess = { + min_template_average_skill + max_template_average_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_prowess + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = prowess_1 + diplomacy = { + min_template_average_skill + max_template_average_skill + } + martial = { + min_template_average_skill + max_template_average_skill + } + stewardship = { + min_template_average_skill + max_template_average_skill + } + intrigue = { + min_template_average_skill + max_template_average_skill + } + learning = { + min_template_average_skill + max_template_average_skill + } + prowess = { + min_template_high_skill + max_template_high_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_prowess + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = prowess_2 + diplomacy = { + min_template_average_skill + max_template_average_skill + } + martial = { + min_template_average_skill + max_template_average_skill + } + stewardship = { + min_template_average_skill + max_template_average_skill + } + intrigue = { + min_template_average_skill + max_template_average_skill + } + learning = { + min_template_average_skill + max_template_average_skill + } + prowess = { + min_template_high_skill + max_template_high_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_local_flavor + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = women_1 + diplomacy = { + min_template_average_skill + max_template_average_skill + } + martial = { + min_template_average_skill + max_template_average_skill + } + stewardship = { + min_template_average_skill + max_template_average_skill + } + intrigue = { + min_template_average_skill + max_template_average_skill + } + learning = { + min_template_average_skill + max_template_average_skill + } + prowess = { + min_template_average_skill + max_template_average_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_local_flavor + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = women_2 + diplomacy = { + min_template_average_skill + max_template_average_skill + } + martial = { + min_template_average_skill + max_template_average_skill + } + stewardship = { + min_template_average_skill + max_template_average_skill + } + intrigue = { + min_template_average_skill + max_template_average_skill + } + learning = { + min_template_average_skill + max_template_average_skill + } + prowess = { + min_template_average_skill + max_template_average_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + create_character = { + template = pool_repopulate_local_flavor + dynasty = none + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith + location = root.location + save_scope_as = women_3 + diplomacy = { + min_template_average_skill + max_template_average_skill + } + martial = { + min_template_average_skill + max_template_average_skill + } + stewardship = { + min_template_average_skill + max_template_average_skill + } + intrigue = { + min_template_average_skill + max_template_average_skill + } + learning = { + min_template_average_skill + max_template_average_skill + } + prowess = { + min_template_average_skill + max_template_average_skill + } + after_creation = { add_to_list = spawned_chars_list } + } + add_courtier = scope:women_1 + add_courtier = scope:women_2 + add_courtier = scope:women_3 + add_courtier = scope:martial_1 + add_courtier = scope:martial_2 + add_courtier = scope:diplomacy_1 + add_courtier = scope:diplomacy_2 + add_courtier = scope:stewardship_1 + add_courtier = scope:stewardship_2 + add_courtier = scope:learning_1 + add_courtier = scope:learning_2 + add_courtier = scope:intrigue_1 + add_courtier = scope:intrigue_2 + add_courtier = scope:prowess_1 + add_courtier = scope:prowess_2 } } trigger_event = { id = misc.0001 days = 1 } @@ -10200,8 +10697,8 @@ create_basic_peasant_effect = { template = peasant_character location = root.location dynasty = none - culture = root.location.culture - faith = root.location.faith + culture = scope:new_landless_minority.culture + faith = scope:new_landless_minority.faith gender_female_chance = 50 after_creation = { set_to_lowborn = yes diff --git a/localization/english/replace/NEOW_Domicile_l_english.yml b/localization/english/replace/NEOW_Domicile_l_english.yml index c3440e1e..aaeab5cb 100644 --- a/localization/english/replace/NEOW_Domicile_l_english.yml +++ b/localization/english/replace/NEOW_Domicile_l_english.yml @@ -31,7 +31,7 @@ duke_landless_minority_community_female_minority_community: "Mistress" spouse_landless_minority_community_male: "Master" spouse_landless_minority_community_holder_female: "Mistress" - d_laamp_test_jewish:0 "[THIS.TITLE.GetHolder.GetCulture.GetName] Community of the [THIS.TITLE.GetHolder.GetHouse.GetName]'s" + d_laamp_test_jewish:0 "$ashkenazi$ Community of the $dynn_britannia_kohn$'s" d_laamp_test_jewish_adj:0 "Jewish" d_laamp_test_jewish_article:0 "The " minority_community_domicile_title: "[CHARACTER.GetFirstNamePossessiveNoTooltip] [minority_community_i|E][minority_community|E]"