Skip to content

Commit

Permalink
Merge pull request #75 from AndHope/accept-cultures
Browse files Browse the repository at this point in the history
Accept cultures
  • Loading branch information
Smekens20 authored Sep 1, 2024
2 parents 1093fa5 + 5837cbb commit ab42902
Show file tree
Hide file tree
Showing 14 changed files with 157 additions and 3 deletions.
75 changes: 75 additions & 0 deletions common/decisions/br_adopt_culture_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -193,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
}
}
35 changes: 35 additions & 0 deletions common/scripted_triggers/br_state_triggers.txt
Original file line number Diff line number Diff line change
@@ -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
}
}
4 changes: 4 additions & 0 deletions localization/braz_por/br_decisions_l_braz_por.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions localization/english/br_decisions_l_english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions localization/french/br_decisions_l_french.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions localization/german/br_decisions_l_german.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions localization/japanese/br_decisions_l_japanese.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions localization/korean/br_decisions_l_korean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions localization/polish/br_decisions_l_polish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions localization/russian/br_decisions_l_russian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions localization/simp_chinese/br_decisions_l_simp_chinese.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions localization/spanish/br_decisions_l_spanish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions localization/turkish/br_decisions_l_turkish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions to-do.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
-
-
Expand Down

0 comments on commit ab42902

Please sign in to comment.