Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- country_decisions = {
- totemism_to_overlord_religion = {
- major = yes
- potential = {
- OR = {
- religion = totemism
- religion = dreamtime
- religion = nahuatl
- government = native
- }
- OR = {
- technology_group = north_american
- technology_group = mesoamerican
- technology_group = andean
- technology_group = south_american
- religion = dreamtime
- has_country_flag = was_native_country
- governemnt = native
- }
- OR = {
- is_subject = yes
- NOT = { is_free_or_tributary_trigger = yes }
- }
- NOT = { is_subject_of_type = tributary_state }
- NOT = {
- religion = tengri_pagan_reformed
- religion = norse_pagan_reformed
- }
- overlord = {
- NOT = {
- religion = totemism
- religion = dreamtime
- }
- }
- }
- allow = {
- stability = 0
- NOT = {
- # has_country_flag = totemism_forever
- has_country_modifier = totemism_stubborn
- }
- NOT = {
- ruler_has_personality = zealot_personality
- heir_has_personality = zealot_personality
- }
- }
- effect = {
- change_religion = overlord
- change_government_reform_progress = 400
- }
- ai_will_do = {
- factor = 1
- modifier = {
- factor = 0
- NOT = { religion = totemism }
- }
- modifier = {
- factor = 0
- is_subject_of_type = tributary_state
- }
- modifier = {
- factor = 0
- full_idea_group = religious_ideas
- }
- modifier = {
- factor = 0
- OR = {
- ruler_has_personality = zealot_personality
- heir_has_personality = zealot_personality
- }
- }
- modifier = {
- factor = 0
- overlord = {
- religion_group = pagan
- }
- }
- modifier = {
- factor = 0
- # is_mod_active = "Subjects Expanded"
- is_subject_of_type = native_reserve
- NOT = {
- religion = dreamtime
- religion = nahuatl
- }
- }
- modifier = {
- factor = 0
- # has_country_flag = totemism_forever
- has_country_modifier = totemism_stubborn
- }
- }
- ai_importance = 500
- }
- totemism_unchanging = {
- potential = {
- religion = totemism
- NOT = {
- # has_country_flag = totemism_forever
- has_country_modifier = totemism_stubborn
- }
- OR = {
- NOT = { ai = yes }
- NOT = {
- government = native
- primitives = yes
- }
- has_reform = steppe_horde
- has_reform = great_mongol_state_reform
- }
- any_neighbor_country = {
- OR = {
- NOT = { religion = totemism }
- # NOT = { religion_group = pagan }
- religion = tengri_pagan_reformed
- religion = norse_pagan_reformed
- capital_scope = {
- NOT = {
- continent = north_america
- continent = south_america
- continent = new_world
- }
- }
- }
- }
- }
- allow = {
- NOT = { is_subject = yes }
- OR = {
- ruler_has_personality = zealot_personality
- heir_has_personality = zealot_personality
- has_reform = steppe_horde
- has_reform = great_mongol_state_reform
- total_development = 300
- government_rank = 3
- num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
- value = 110
- }
- NOT = { ai = yes }
- full_idea_group = religious_ideas
- }
- NOT = {
- full_idea_group = humanist_ideas
- }
- any_neighbor_country = { NOT = { religion_group = pagan } }
- }
- effect = {
- set_country_flag = totemism_forever
- add_country_modifier = {
- name = "totemism_stubborn"
- duration = -1
- }
- if = {
- limit = {
- NOT = { ruler_has_personality = zealot_personality }
- }
- add_ruler_personality = zealot_personality
- }
- if = {
- limit = {
- NOT = { heir_has_personality = zealot_personality }
- }
- add_heir_personality = zealot_personality
- }
- }
- ai_will_do = {
- factor = 1
- modifier = {
- factor = 0
- NOT = { religion = totemism }
- }
- modifier = {
- factor = 0
- NOT = {
- has_reform = steppe_horde
- has_reform = great_mongol_state_reform
- has_idea_group = religious_ideas
- ruler_has_personality = zealot_personality
- heir_has_personality = zealot_personality
- total_development = 300
- government_rank = 3
- has_idea_group = religious_ideas
- full_idea_group = religious_ideas
- num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
- value = 100
- }
- }
- }
- modifier = {
- factor = 2
- has_idea_group = religious_ideas
- }
- modifier = {
- factor = 3
- government = theocracy
- }
- modifier = {
- factor = 3
- OR = {
- has_reform = steppe_horde
- has_reform = great_mongol_state_reform
- }
- }
- modifier = {
- factor = 0
- has_idea_group = humanist_ideas
- NOT = {
- full_idea_group = religious_ideas
- }
- }
- modifier = {
- factor = 0
- is_subject_of_type = tributary_state
- }
- }
- }
- TSP_indiancountry_convert_decision = {
- major = yes
- potential = {
- OR = {
- religion_group = pagan
- religion = totemism
- religion = dreamtime
- }
- OR = {
- technology_group = north_american
- technology_group = mesoamerican
- technology_group = andean
- technology_group = south_american
- religion = dreamtime
- has_country_flag = was_native_country
- capital_scope = { continent = north_america }
- capital_scope = { continent = south_america }
- capital_scope = { continent = new_world }
- AND = {
- NOT = { ai = yes }
- OR = {
- religion = totemism
- religion = dreamtime
- }
- }
- }
- NOT = {
- religion = tengri_pagan_reformed
- religion = norse_pagan_reformed
- }
- NOT = { # They didn't convert until they were completely conquered! }
- tag = ATZ
- tag = INC
- }
- }
- allow = {
- is_free_or_tributary_trigger = yes # Subjects convert to overlord instead
- any_owned_province = {
- NOT = {
- religion_group = pagan
- }
- }
- NOT = {
- # has_country_flag = totemism_forever
- has_country_modifier = totemism_stubborn
- }
- OR = {
- NOT = { is_ai = yes } # Players can do this at any time
- NOT = {
- dominant_religion = totemism
- # dominant_religion = dreamtime
- }
- }
- }
- effect = {
- custom_tooltip = TSP_indiancountry_convert_decision
- hidden_effect = {
- country_event = { id = TSP_indiancountry_convert.1 }
- }
- }
- ai_will_do = {
- factor = 999
- modifier = {
- factor = 0
- dominant_religion = totemism
- }
- modifier = {
- factor = 0
- NOT = {
- religion = totemism
- religion = dreamtime
- religion = norse_pagan_reformed
- religion = tengri_pagan_reformed
- }
- }
- }
- ai_importance = 999
- }
- TSP_indian_horde_used_to_be_young = {
- major = yes
- potential = {
- NOT = {
- government = monarchy
- }
- OR = {
- NOT = { is_free_or_tributary_trigger = yes }
- is_subject_other_than_tributary_trigger = yes
- is_subject_of_type = ProtectorateState
- is_subject = yes
- }
- OR = {
- technology_group = nomad_group
- has_reform = steppe_horde
- has_reform = native_becomes_horde_reform
- have_had_reform = native_becomes_horde_reform
- tag = AFR
- AND = {
- government = tribal
- is_subject_of_type = ProtectorateState
- }
- }
- AND = {
- OR = {
- has_reform = steppe_horde
- has_reform = native_becomes_horde_reform
- have_had_reform = native_becomes_horde_reform
- technology_group = nomad_group
- tag = AFR
- }
- OR = {
- technology_group = north_american
- technology_group = mesoamerican
- technology_group = andean
- technology_group = south_american
- capital_scope = { continent = north_america }
- capital_scope = { continent = south_america }
- capital_scope = { continent = new_world }
- tag = AFR
- }
- }
- NOT = { is_subject_of_type = tributary_state }
- }
- allow = {
- is_subject = yes
- NOT = { is_subject_of_type = tributary_state }
- OR = {
- has_reform = steppe_horde
- have_had_reform = native_becomes_horde_reform
- technology_group = nomad_group
- }
- overlord = {
- NOT = {
- technology_group = nomad_group
- has_reform = steppe_horde
- government = native
- # government = tribal
- primitives = yes
- }
- }
- }
- effect = {
- set_country_flag = was_native_country
- set_country_flag = was_horde_flag
- set_country_flag = uses_khan_titles
- on_native_government_change_effect = yes
- custom_tooltip = TSP_indiancountry_used_to_be_young_horde_tool_tip
- change_government_to_monarchy = yes
- hidden_effect = {
- change_unit_type = nomad_group
- if = {
- limit = {
- technology_group = nomad_group
- OR = {
- AND = {
- OR = {
- exists = AZT
- exists = MAY
- }
- OR = {
- alliance_with = AZT
- alliance_with = MAY
- }
- NOT = { alliance_with = INC }
- }
- religion = nahuatl
- religion = mesoamerican_religion
- religion = nahuatl
- secondary_religion = mesoamerican_religion
- secondary_religion = nahuatl
- accepted_culture = mayan
- accepted_culture = yucatec
- accepted_culture = putun
- accepted_culture = highland_mayan
- accepted_culture = lacandon
- accepted_culture = wastek
- accepted_culture = chontales
- accepted_culture = aztek
- accepted_culture = totonac
- accepted_culture = purepecha
- accepted_culture = matlatzinca
- }
- }
- change_technology_group = mesoamerican
- }
- else_if = {
- limit = {
- technology_group = nomad_group
- OR = {
- AND = {
- exists = INC
- alliance_with = INC
- NOT = { alliance_with = MAY }
- }
- religion = inti
- secondary_religion = inti
- accepted_culture = inca
- accepted_culture = aimara
- accepted_culture = tupinamba
- accepted_cultura = guarani
- accepted_culture = charruan
- accepted_culture = ge
- }
- }
- change_technology_group = andean
- }
- else_if = {
- limit = {
- technology_group = nomad_group
- OR = {
- capital_scope = {
- continent = north_america
- }
- religion = totemism
- secondary_religion = totemism
- }
- NOT = {
- alliance_with = ATZ
- alliance_with = MAY
- }
- }
- change_technology_group = north_american
- }
- else_if = {
- limit = {
- technology_group = nomad_group
- OR = {
- capital_scope = {
- continent = south_america
- }
- religion = inti
- religion = animism
- secondary_religion = totemism
- }
- NOT = {
- alliance_with = AZT
- alliance_with = MAY
- }
- }
- change_technology_group = south_american
- }
- else_if = {
- limit = {
- NOT = {
- alliance_with = AZT
- alliance_with = MAY
- }
- capital_scope = {
- continent = new_world
- }
- }
- change_technology_group = high_american
- change_unit_type = north_american
- }
- else = {
- change_technology_group = indian
- change_unit_type = indian
- }
- if = {
- limit = {
- OR = {
- exists = AZT
- exists = MAY
- }
- OR = {
- alliance_with = AZT
- alliance_with = MAY
- }
- OR = {
- NOT = { alliance_with = INC }
- alliance_with = MAY
- }
- }
- change_unit_type = mesoamerican
- }
- else_if = {
- limit = {
- exists = INC
- alliance_with = INC
- }
- change_unit_type = andean
- }
- }
- if = {
- limit = {
- overlord = {
- OR = {
- tag = CSA
- was_tag = CSA
- }
- }
- }
- change_technology_group = western
- }
- if = {
- limit = {
- OR = {
- tag = AFR
- total_development = 1000
- government_rank = 3
- num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
- value = 300
- }
- }
- }
- change_technology_group = high_american
- change_unit_type = high_american
- }
- }
- ai_will_do = {
- factor = 100
- }
- ai_importance = 999
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment