From 5ef785271fd74dc2dea1064943ec79b09c33764b Mon Sep 17 00:00:00 2001 From: Smekens <168235727+Smekens20@users.noreply.github.com> Date: Sun, 25 Aug 2024 13:55:56 +0200 Subject: [PATCH 1/3] added accept anglo-dane decision --- .../decisions/br_adopt_culture_decisions.txt | 33 +++++++++++++++++++ .../english/br_decisions_l_english.yml | 2 ++ 2 files changed, 35 insertions(+) diff --git a/common/decisions/br_adopt_culture_decisions.txt b/common/decisions/br_adopt_culture_decisions.txt index a5ed5339..922dedc7 100644 --- a/common/decisions/br_adopt_culture_decisions.txt +++ b/common/decisions/br_adopt_culture_decisions.txt @@ -166,6 +166,39 @@ accept_english_decision = { } } +accept_anglo_dane_decision = { + is_shown = { + OR = { + country_has_primary_culture = cu:danish + } + NOT = { country_has_primary_culture = cu:anglo_dane } + } + + possible = { + OR = { + country_has_primary_culture = cu:danish + } + NOT = { + has_law = law_type:law_national_supremacy + has_law = law_type:law_ethnostate + country_has_primary_culture = cu:anglo_dane + } + } + + when_taken = { + add_primary_culture = cu:anglo_dane + + add_loyalists = { + culture = cu:anglo_dane + value = 0.1 + } + } + + ai_chance = { + base = 1 + } +} + azerbaijani_decision = { is_shown = { country_has_primary_culture = cu:persian diff --git a/localization/english/br_decisions_l_english.yml b/localization/english/br_decisions_l_english.yml index 6b1a05fd..ddac648a 100644 --- a/localization/english/br_decisions_l_english.yml +++ b/localization/english/br_decisions_l_english.yml @@ -34,6 +34,8 @@ mashriqi_decision_desc: "Mashriqi have proven themselves as loyal subjects of Persia, it's time we give them the same rights as Persians." accept_english_decision: "Accept English" accept_english_decision_desc: "It's time we accept the English and give them the same rights as Danes." + accept_anglo_dane_decision: "Accept Anglo-Dane" + accept_anglo_dane_decision_desc: "It's time we accept the Anglo-Dane and give them the same rights as Danes." br_end_slavic_oppression_decision: "End the oppression of the Balkan Slavs" br_end_slavic_oppression_decision_desc: "End the oppression of the Balkan Slavs" From 6dd1fded87fd2b492ce62ca011095747f056581f Mon Sep 17 00:00:00 2001 From: Smekens <168235727+Smekens20@users.noreply.github.com> Date: Sun, 25 Aug 2024 14:55:32 +0200 Subject: [PATCH 2/3] added accept_baltic_german_decision added accept_baltic_german_decision (anyone how has owns a homeland of the culture and has a common heritage can take the decision) and its loc aswel as a new scripted_trigger to check if you own states in the baltic area. --- .../decisions/br_adopt_culture_decisions.txt | 42 +++++++++++++++++++ .../scripted_triggers/br_state_triggers.txt | 35 ++++++++++++++++ .../braz_por/br_decisions_l_braz_por.yml | 4 ++ .../english/br_decisions_l_english.yml | 2 + localization/french/br_decisions_l_french.yml | 4 ++ localization/german/br_decisions_l_german.yml | 4 ++ .../japanese/br_decisions_l_japanese.yml | 4 ++ localization/korean/br_decisions_l_korean.yml | 4 ++ localization/polish/br_decisions_l_polish.yml | 4 ++ .../russian/br_decisions_l_russian.yml | 4 ++ .../br_decisions_l_simp_chinese.yml | 4 ++ .../spanish/br_decisions_l_spanish.yml | 4 ++ .../turkish/br_decisions_l_turkish.yml | 4 ++ 13 files changed, 119 insertions(+) create mode 100644 common/scripted_triggers/br_state_triggers.txt diff --git a/common/decisions/br_adopt_culture_decisions.txt b/common/decisions/br_adopt_culture_decisions.txt index 922dedc7..533e66ec 100644 --- a/common/decisions/br_adopt_culture_decisions.txt +++ b/common/decisions/br_adopt_culture_decisions.txt @@ -226,3 +226,45 @@ azerbaijani_decision = { base = 5 } } + +accept_baltic_german_decision = { + is_shown = { + OR = { + # country_has_primary_culture = cu:swedish + root = { + owned_any_baltic_states_region_states = yes + } + } + NOT = { country_has_primary_culture = cu:baltic_german } + } + + possible = { + OR = { + # country_has_primary_culture = cu:swedish + cu:baltic_german = { + shares_trait_with_any_primary_culture = root + } + } + # root = { + # owned_any_baltic_states_region_states = yes + # } + NOT = { + has_law = law_type:law_national_supremacy + has_law = law_type:law_ethnostate + country_has_primary_culture = cu:baltic_german + } + } + + when_taken = { + add_primary_culture = cu:baltic_german + + add_loyalists = { + culture = cu:baltic_german + value = 0.1 + } + } + + ai_chance = { + base = 1 + } +} \ No newline at end of file diff --git a/common/scripted_triggers/br_state_triggers.txt b/common/scripted_triggers/br_state_triggers.txt new file mode 100644 index 00000000..97dc0219 --- /dev/null +++ b/common/scripted_triggers/br_state_triggers.txt @@ -0,0 +1,35 @@ +# Example: +# +# example_trigger = { +# x = 100 +# y = 50 +# } +# +# +# In a script file: +# +# effect = { +# example_trigger = yes +# } +# + +#these are grouped following the strategic_regions +owned_baltic_states_region_states = { + owns_entire_state_region = STATE_VILNIUS + owns_entire_state_region = STATE_COURLAND + owns_entire_state_region = STATE_TARTU + owns_entire_state_region = STATE_KAUNAS + owns_entire_state_region = STATE_RIGA + owns_entire_state_region = STATE_TALINN +} + +owned_any_baltic_states_region_states = { + or = { + owns_entire_state_region = STATE_VILNIUS + owns_entire_state_region = STATE_COURLAND + owns_entire_state_region = STATE_TARTU + owns_entire_state_region = STATE_KAUNAS + owns_entire_state_region = STATE_RIGA + owns_entire_state_region = STATE_TALINN + } +} \ No newline at end of file diff --git a/localization/braz_por/br_decisions_l_braz_por.yml b/localization/braz_por/br_decisions_l_braz_por.yml index 0059bbc5..4b321516 100644 --- a/localization/braz_por/br_decisions_l_braz_por.yml +++ b/localization/braz_por/br_decisions_l_braz_por.yml @@ -34,6 +34,10 @@ mashriqi_decision_desc: "Mashriqi have proven themselves as loyal subjects of Persia, it's time we give them the same rights as Persians." accept_english_decision: "Accept English" accept_english_decision_desc: "It's time we accept the English and give them the same rights as Danes." + accept_anglo_dane_decision: "Accept Anglo-Dane" + accept_anglo_dane_decision_desc: "It's time we accept the Anglo-Dane and give them the same rights as Danes." + accept_baltic_german_decision: "Accept Baltic" + accept_baltic_german_decision_desc: "It's time we accept the Baltic and give them the same rights as Primary Cultures." br_end_slavic_oppression_decision: "End the oppression of the Balkan Slavs" br_end_slavic_oppression_decision_desc: "End the oppression of the Balkan Slavs" diff --git a/localization/english/br_decisions_l_english.yml b/localization/english/br_decisions_l_english.yml index ddac648a..fbd3534b 100644 --- a/localization/english/br_decisions_l_english.yml +++ b/localization/english/br_decisions_l_english.yml @@ -36,6 +36,8 @@ accept_english_decision_desc: "It's time we accept the English and give them the same rights as Danes." accept_anglo_dane_decision: "Accept Anglo-Dane" accept_anglo_dane_decision_desc: "It's time we accept the Anglo-Dane and give them the same rights as Danes." + accept_baltic_german_decision: "Accept Baltic" + accept_baltic_german_decision_desc: "It's time we accept the Baltic and give them the same rights as Primary Cultures." br_end_slavic_oppression_decision: "End the oppression of the Balkan Slavs" br_end_slavic_oppression_decision_desc: "End the oppression of the Balkan Slavs" diff --git a/localization/french/br_decisions_l_french.yml b/localization/french/br_decisions_l_french.yml index 51743d83..e01700a2 100644 --- a/localization/french/br_decisions_l_french.yml +++ b/localization/french/br_decisions_l_french.yml @@ -34,6 +34,10 @@ mashriqi_decision_desc: "Mashriqi have proven themselves as loyal subjects of Persia, it's time we give them the same rights as Persians." accept_english_decision: "Accept English" accept_english_decision_desc: "It's time we accept the English and give them the same rights as Danes." + accept_anglo_dane_decision: "Accept Anglo-Dane" + accept_anglo_dane_decision_desc: "It's time we accept the Anglo-Dane and give them the same rights as Danes." + accept_baltic_german_decision: "Accept Baltic" + accept_baltic_german_decision_desc: "It's time we accept the Baltic and give them the same rights as Primary Cultures." br_end_slavic_oppression_decision: "End the oppression of the Balkan Slavs" br_end_slavic_oppression_decision_desc: "End the oppression of the Balkan Slavs" diff --git a/localization/german/br_decisions_l_german.yml b/localization/german/br_decisions_l_german.yml index 1874012a..0ff040e0 100644 --- a/localization/german/br_decisions_l_german.yml +++ b/localization/german/br_decisions_l_german.yml @@ -34,6 +34,10 @@ mashriqi_decision_desc: "Mashriqi have proven themselves as loyal subjects of Persia, it's time we give them the same rights as Persians." accept_english_decision: "Accept English" accept_english_decision_desc: "It's time we accept the English and give them the same rights as Danes." + accept_anglo_dane_decision: "Accept Anglo-Dane" + accept_anglo_dane_decision_desc: "It's time we accept the Anglo-Dane and give them the same rights as Danes." + accept_baltic_german_decision: "Accept Baltic" + accept_baltic_german_decision_desc: "It's time we accept the Baltic and give them the same rights as Primary Cultures." br_end_slavic_oppression_decision: "End the oppression of the Balkan Slavs" br_end_slavic_oppression_decision_desc: "End the oppression of the Balkan Slavs" diff --git a/localization/japanese/br_decisions_l_japanese.yml b/localization/japanese/br_decisions_l_japanese.yml index b23a4010..3f3493a4 100644 --- a/localization/japanese/br_decisions_l_japanese.yml +++ b/localization/japanese/br_decisions_l_japanese.yml @@ -34,6 +34,10 @@ mashriqi_decision_desc: "Mashriqi have proven themselves as loyal subjects of Persia, it's time we give them the same rights as Persians." accept_english_decision: "Accept English" accept_english_decision_desc: "It's time we accept the English and give them the same rights as Danes." + accept_anglo_dane_decision: "Accept Anglo-Dane" + accept_anglo_dane_decision_desc: "It's time we accept the Anglo-Dane and give them the same rights as Danes." + accept_baltic_german_decision: "Accept Baltic" + accept_baltic_german_decision_desc: "It's time we accept the Baltic and give them the same rights as Primary Cultures." br_end_slavic_oppression_decision: "End the oppression of the Balkan Slavs" br_end_slavic_oppression_decision_desc: "End the oppression of the Balkan Slavs" diff --git a/localization/korean/br_decisions_l_korean.yml b/localization/korean/br_decisions_l_korean.yml index 9d90d62f..48c362c7 100644 --- a/localization/korean/br_decisions_l_korean.yml +++ b/localization/korean/br_decisions_l_korean.yml @@ -34,6 +34,10 @@ mashriqi_decision_desc: "Mashriqi have proven themselves as loyal subjects of Persia, it's time we give them the same rights as Persians." accept_english_decision: "Accept English" accept_english_decision_desc: "It's time we accept the English and give them the same rights as Danes." + accept_anglo_dane_decision: "Accept Anglo-Dane" + accept_anglo_dane_decision_desc: "It's time we accept the Anglo-Dane and give them the same rights as Danes." + accept_baltic_german_decision: "Accept Baltic" + accept_baltic_german_decision_desc: "It's time we accept the Baltic and give them the same rights as Primary Cultures." br_end_slavic_oppression_decision: "End the oppression of the Balkan Slavs" br_end_slavic_oppression_decision_desc: "End the oppression of the Balkan Slavs" diff --git a/localization/polish/br_decisions_l_polish.yml b/localization/polish/br_decisions_l_polish.yml index 12dfd50f..f463d92a 100644 --- a/localization/polish/br_decisions_l_polish.yml +++ b/localization/polish/br_decisions_l_polish.yml @@ -34,6 +34,10 @@ mashriqi_decision_desc: "Mashriqi have proven themselves as loyal subjects of Persia, it's time we give them the same rights as Persians." accept_english_decision: "Accept English" accept_english_decision_desc: "It's time we accept the English and give them the same rights as Danes." + accept_anglo_dane_decision: "Accept Anglo-Dane" + accept_anglo_dane_decision_desc: "It's time we accept the Anglo-Dane and give them the same rights as Danes." + accept_baltic_german_decision: "Accept Baltic" + accept_baltic_german_decision_desc: "It's time we accept the Baltic and give them the same rights as Primary Cultures." br_end_slavic_oppression_decision: "End the oppression of the Balkan Slavs" br_end_slavic_oppression_decision_desc: "End the oppression of the Balkan Slavs" diff --git a/localization/russian/br_decisions_l_russian.yml b/localization/russian/br_decisions_l_russian.yml index a0db5240..9fc82bd0 100644 --- a/localization/russian/br_decisions_l_russian.yml +++ b/localization/russian/br_decisions_l_russian.yml @@ -34,6 +34,10 @@ mashriqi_decision_desc: "Mashriqi have proven themselves as loyal subjects of Persia, it's time we give them the same rights as Persians." accept_english_decision: "Accept English" accept_english_decision_desc: "It's time we accept the English and give them the same rights as Danes." + accept_anglo_dane_decision: "Accept Anglo-Dane" + accept_anglo_dane_decision_desc: "It's time we accept the Anglo-Dane and give them the same rights as Danes." + accept_baltic_german_decision: "Accept Baltic" + accept_baltic_german_decision_desc: "It's time we accept the Baltic and give them the same rights as Primary Cultures." br_end_slavic_oppression_decision: "End the oppression of the Balkan Slavs" br_end_slavic_oppression_decision_desc: "End the oppression of the Balkan Slavs" diff --git a/localization/simp_chinese/br_decisions_l_simp_chinese.yml b/localization/simp_chinese/br_decisions_l_simp_chinese.yml index 908f28da..42f25472 100644 --- a/localization/simp_chinese/br_decisions_l_simp_chinese.yml +++ b/localization/simp_chinese/br_decisions_l_simp_chinese.yml @@ -34,6 +34,10 @@ mashriqi_decision_desc: "Mashriqi have proven themselves as loyal subjects of Persia, it's time we give them the same rights as Persians." accept_english_decision: "Accept English" accept_english_decision_desc: "It's time we accept the English and give them the same rights as Danes." + accept_anglo_dane_decision: "Accept Anglo-Dane" + accept_anglo_dane_decision_desc: "It's time we accept the Anglo-Dane and give them the same rights as Danes." + accept_baltic_german_decision: "Accept Baltic" + accept_baltic_german_decision_desc: "It's time we accept the Baltic and give them the same rights as Primary Cultures." br_end_slavic_oppression_decision: "End the oppression of the Balkan Slavs" br_end_slavic_oppression_decision_desc: "End the oppression of the Balkan Slavs" diff --git a/localization/spanish/br_decisions_l_spanish.yml b/localization/spanish/br_decisions_l_spanish.yml index 4799323e..21f640cf 100644 --- a/localization/spanish/br_decisions_l_spanish.yml +++ b/localization/spanish/br_decisions_l_spanish.yml @@ -34,6 +34,10 @@ mashriqi_decision_desc: "Mashriqi have proven themselves as loyal subjects of Persia, it's time we give them the same rights as Persians." accept_english_decision: "Accept English" accept_english_decision_desc: "It's time we accept the English and give them the same rights as Danes." + accept_anglo_dane_decision: "Accept Anglo-Dane" + accept_anglo_dane_decision_desc: "It's time we accept the Anglo-Dane and give them the same rights as Danes." + accept_baltic_german_decision: "Accept Baltic" + accept_baltic_german_decision_desc: "It's time we accept the Baltic and give them the same rights as Primary Cultures." br_end_slavic_oppression_decision: "End the oppression of the Balkan Slavs" br_end_slavic_oppression_decision_desc: "End the oppression of the Balkan Slavs" diff --git a/localization/turkish/br_decisions_l_turkish.yml b/localization/turkish/br_decisions_l_turkish.yml index 4ea48747..d7540087 100644 --- a/localization/turkish/br_decisions_l_turkish.yml +++ b/localization/turkish/br_decisions_l_turkish.yml @@ -34,6 +34,10 @@ mashriqi_decision_desc: "Mashriqi have proven themselves as loyal subjects of Persia, it's time we give them the same rights as Persians." accept_english_decision: "Accept English" accept_english_decision_desc: "It's time we accept the English and give them the same rights as Danes." + accept_anglo_dane_decision: "Accept Anglo-Dane" + accept_anglo_dane_decision_desc: "It's time we accept the Anglo-Dane and give them the same rights as Danes." + accept_baltic_german_decision: "Accept Baltic" + accept_baltic_german_decision_desc: "It's time we accept the Baltic and give them the same rights as Primary Cultures." br_end_slavic_oppression_decision: "End the oppression of the Balkan Slavs" br_end_slavic_oppression_decision_desc: "End the oppression of the Balkan Slavs" From 5837cbbe1e13b636f07eea5a743eb69090769029 Mon Sep 17 00:00:00 2001 From: Smekens <168235727+Smekens20@users.noreply.github.com> Date: Tue, 27 Aug 2024 18:10:27 +0200 Subject: [PATCH 3/3] todo file update --- to-do.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/to-do.txt b/to-do.txt index 35b8877c..35d2a56d 100644 --- a/to-do.txt +++ b/to-do.txt @@ -5,14 +5,14 @@ updated 8/2/24 - reogranize modifiers by catagory/type instead of country. ###Content - - Add events to Aegypt and Afrika for their cultures to change to African and Aegyptian if they are not a subject of br after 50 years. + - Add events to Aegypt and Afrika for their cultures to change to African and Aegyptian if they are not a subject of br after 50 years. - done - Create unqiue mechanics for HRE power bloc. - Goal would be to make a way to have it replace the vassal with indepdent countries that could not leave the power bloc at least not the way it currently works. - More unique flags for countries based on government type. - More unique names for countries based on government type - - Make accept Baltic German decision for Sweden perhaps make it available to anyone who owns a Baltic homeland - - Accept Anglo-Dane for DEN decision + - Make accept Baltic German decision for Sweden perhaps make it available to anyone who owns a Baltic homeland - done + - Accept Anglo-Dane for DEN decision - done - Add modifiers to Bohemia, Hussite legacy or something - -