ethic_categories = { col = { opinions = { 1 1 1 1 1 } } xen = { opinions = { 0 0 1 1 1 } } mil = { opinions = { 1 1 1 1 1 } } spi = { opinions = { 1 1 1 1 1 } } } ethic_fanatic_authoritarian = { cost = 2 category = "col" category_value = 0 use_for_pops = no regular_variant = ethic_authoritarian country_modifier = { pop_resettlement_cost_mult = -0.5 country_unrest_unhappy_slave_effect_mult = -0.2 } tags = { ETHIC_ALLOWS_CASTE_SYSTEM ETHIC_ONLY_AUTOCRACY ETHIC_ALLOWS_DISPLACE } random_weight = { value = 150 } } ethic_authoritarian = { cost = 1 category = "col" category_value = 1 fanatic_variant = ethic_fanatic_authoritarian country_modifier = { pop_resettlement_cost_mult = -0.25 country_unrest_unhappy_slave_effect_mult = -0.1 } tags = { ETHIC_ALLOWS_CASTE_SYSTEM ETHIC_NEVER_DEMOCRACY ETHIC_ALLOWS_DISPLACE } random_weight = { value = 100 } pop_attraction_tag = { desc = POP_ATTRACTION_AUTHORITARIAN_POS trigger = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } } } pop_attraction_tag = { desc = POP_ATTRACTION_FACTION_POS trigger = { NOR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } has_faction = totalitarian } } pop_attraction_tag = { desc = POP_ATTRACTION_RULER_FACTION_POS trigger = { exists = ruler ruler = { leader_of_faction = totalitarian } } } pop_attraction_tag = { desc = POP_ATTRACTION_SLAVERY_POS trigger = { any_owned_planet = { any_owned_pop = { is_robot_pop = no is_enslaved = yes } } } } pop_attraction_tag = { desc = POP_ATTRACTION_CONSUMER_GOODS_NEG trigger = { any_owned_planet = { any_owned_pop = { OR = { has_living_standard = { type = living_standard_utopian } has_living_standard = { type = living_standard_good } } } } } } pop_attraction_tag = { desc = POP_ATTRACTION_AUTOCRATIC_GOV_POS trigger = { has_election_type = none } } pop_attraction_tag = { desc = POP_ATTRACTION_DEMOCRATIC_GOV_NEG trigger = { has_election_type = democratic } } pop_attraction_tag = { desc = POP_ATTRACTION_DECADENT_POS trigger = { any_owned_planet = { any_owned_pop = { has_trait = "trait_decadent" } } } } country_attraction = { value = 1 modifier = { factor = 0 NOR = { is_country_type = default has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian AND = { is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { OR = { has_ethic = ethic_fanatic_authoritarian has_ethic = ethic_authoritarian } } } } } } # Effects of indoctrination mission modifier = { factor = 10 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_fanatic_authoritarian } } } modifier = { factor = 5 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_authoritarian } } } modifier = { factor = 2 NOR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } has_faction = totalitarian } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } Capital_Scope = { Any_Tile = { has_building = building_artist_patron } } } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } Capital_Scope = { Any_Tile = { has_building = building_ministry_benevolence } } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } has_civic = civic_exalted_priesthood } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } Ruler = exists Ruler = { has_trait = leader_trait_ruler_psionic } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } Ruler = exists Ruler = { has_trait = leader_trait_ruler_chosen } } } modifier = { factor = 1.25 AND = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } has_edict = information_quarantine } } modifier = { factor = 1.5 exists = ruler ruler = { leader_of_faction = totalitarian } } modifier = { factor = 2 has_ethic = ethic_authoritarian } modifier = { factor = 1.15 AND = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } has_ethic = ethic_spiritualist } } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } has_ethic = ethic_fanatic_spiritualist } } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } has_ascension_perk = ap_one_vision } } modifier = { factor = 3 has_ethic = ethic_fanatic_authoritarian } modifier = { factor = 1.25 has_election_type = none } modifier = { factor = 0.75 has_election_type = democratic } } # from = planet pop_attraction = { value = 1 modifier = { factor = 0 has_trait = trait_hive_mind } modifier = { factor = 1.5 AND = { Owner = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } } Planet = { has_spaceport_module = orbital_mind_control_laser } } } modifier = { factor = 1.2 AND = { Owner = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } } Planet = { has_edict = reeducation_campaign } } } modifier = { factor = 1.3 AND = { Owner = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } } Planet = { has_edict = social_engineering } } } modifier = { factor = 1.1 AND = { Owner = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } } Planet = { has_edict = religious_unity } } } modifier = { factor = 1.25 has_trait = trait_conformists } modifier = { factor = 0.85 has_trait = trait_deviants } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_akx_worm_2 } } Owner = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } } } } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_colony_shelter } } Owner = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } } } } modifier = { factor = 1.15 AND = { Planet = { Any_Tile = { OR = { has_building = building_capital_1 has_building = building_capital_2 has_building = building_capital_3 } } } Owner = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } } } } modifier = { factor = 1.2 AND = { Planet = { Any_Tile = { has_building = building_hab_capital } } Owner = { OR = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian } } } } modifier = { factor = 0.25 is_enslaved = yes } modifier = { factor = 1.5 has_trait = "trait_decadent" } modifier = { factor = 1.5 is_enslaved = no from = { any_owned_pop = { is_same_species = root is_robot_pop = no is_enslaved = yes } } } modifier = { factor = 1.25 from = { NOT = { any_owned_pop = { is_same_species = root is_robot_pop = no is_enslaved = yes } } any_owned_pop = { NOT = { is_same_species = root } is_robot_pop = no is_enslaved = yes } } } modifier = { factor = 0.75 OR = { has_living_standard = { type = living_standard_utopian } has_living_standard = { type = living_standard_good } } } } } ethic_fanatic_egalitarian = { cost = 2 category = "col" category_value = 4 category_opposite = yes regular_variant = ethic_egalitarian use_for_pops = no tags = { ETHIC_ONLY_DEMOCRACY ETHIC_ALLOW_UTOPIA ETHIC_DISALLOW_POVERTY ETHIC_DISALLOW_MIGRATION_CONTROL } country_modifier = { faction_influence_mult = 0.3 pop_consumer_goods_mult = -0.2 } random_weight = { value = 150 } } ethic_egalitarian = { cost = 1 category = "col" category_value = 3 fanatic_variant = ethic_fanatic_egalitarian category_opposite = yes tags = { ETHIC_NEVER_AUTOCRACY ETHIC_ALLOW_UTOPIA ETHIC_DISALLOW_MIGRATION_CONTROL } country_modifier = { faction_influence_mult = 0.15 pop_consumer_goods_mult = -0.1 } random_weight = { value = 100 } pop_attraction_tag = { desc = POP_ATTRACTION_EGALITARIAN_POS trigger = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } } } pop_attraction_tag = { desc = POP_ATTRACTION_FACTION_POS trigger = { NOR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } has_faction = progressive } } pop_attraction_tag = { desc = POP_ATTRACTION_RULER_FACTION_POS trigger = { exists = ruler ruler = { leader_of_faction = progressive } } } pop_attraction_tag = { desc = POP_ATTRACTION_CONSUMER_GOODS_POS trigger = { any_owned_planet = { any_owned_pop = { OR = { has_living_standard = { type = living_standard_utopian } has_living_standard = { type = living_standard_good } } } } } } pop_attraction_tag = { desc = POP_ATTRACTION_EGALITARIAN_DIPLOMACY_POS trigger = { any_relation = { OR = { has_migration_access = root is_in_federation_with = root has_defensive_pact = root } OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } } } } pop_attraction_tag = { desc = POP_ATTRACTION_SLAVERY_POS trigger = { any_owned_planet = { any_owned_pop = { is_robot_pop = no is_enslaved = yes } } } } pop_attraction_tag = { desc = POP_ATTRACTION_DEMOCRATIC_GOV_POS trigger = { has_election_type = democratic } } pop_attraction_tag = { desc = POP_ATTRACTION_AUTOCRATIC_GOV_NEG trigger = { has_election_type = none } } pop_attraction_tag = { desc = POP_ATTRACTION_DECADENT_NEG trigger = { any_owned_planet = { any_owned_pop = { has_trait = "trait_decadent" } } } } country_attraction = { value = 1 modifier = { factor = 0 NOR = { is_country_type = default has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian AND = { is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { OR = { has_ethic = ethic_fanatic_egalitarian has_ethic = ethic_egalitarian } } } } } } # Effects of indoctrination mission modifier = { factor = 10 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_fanatic_xenophile } } } modifier = { factor = 5 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_xenophile } } } modifier = { factor = 2 NOR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } has_faction = progressive } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } Capital_Scope = { Any_Tile = { has_building = building_artist_patron } } } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } Capital_Scope = { Any_Tile = { has_building = building_ministry_benevolence } } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } has_civic = civic_exalted_priesthood } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } Ruler = exists Ruler = { has_trait = leader_trait_ruler_psionic } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } Ruler = exists Ruler = { has_trait = leader_trait_ruler_chosen } } } modifier = { factor = 1.25 AND = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } has_edict = information_quarantine } } modifier = { factor = 1.5 exists = ruler ruler = { leader_of_faction = progressive } } modifier = { factor = 2 has_ethic = ethic_egalitarian } modifier = { factor = 3 has_ethic = ethic_fanatic_egalitarian } modifier = { factor = 1.15 AND = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } has_ethic = ethic_spiritualist } } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } has_ethic = ethic_fanatic_spiritualist } } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } has_ascension_perk = ap_one_vision } } modifier = { factor = 0.75 is_country_type = default has_election_type = none } modifier = { factor = 1.25 is_country_type = default has_election_type = democratic } modifier = { factor = 1.5 any_relation = { OR = { is_in_federation_with = root has_defensive_pact = root } OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } } } modifier = { factor = 2.0 any_relation = { has_migration_access = root OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } } } } # from = planet pop_attraction = { value = 1 modifier = { factor = 0 has_trait = trait_hive_mind } modifier = { factor = 1.5 AND = { Owner = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } } Planet = { has_spaceport_module = orbital_mind_control_laser } } } modifier = { factor = 1.2 AND = { Owner = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } } Planet = { has_edict = reeducation_campaign } } } modifier = { factor = 1.3 AND = { Owner = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } } Planet = { has_edict = social_engineering } } } modifier = { factor = 1.1 AND = { Owner = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } } Planet = { has_edict = religious_unity } } } modifier = { factor = 1.25 has_trait = trait_conformists } modifier = { factor = 0.85 has_trait = trait_deviants } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_akx_worm_2 } } Owner = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } } } } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_colony_shelter } } Owner = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } } } } modifier = { factor = 1.15 AND = { Planet = { Any_Tile = { OR = { has_building = building_capital_1 has_building = building_capital_2 has_building = building_capital_3 } } } Owner = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } } } } modifier = { factor = 1.2 AND = { Planet = { Any_Tile = { has_building = building_hab_capital } } Owner = { OR = { has_ethic = ethic_egalitarian has_ethic = ethic_fanatic_egalitarian } } } } modifier = { factor = 0.66 has_trait = "trait_decadent" } modifier = { factor = 1.5 NOR = { has_citizenship_type = { type = citizenship_full } has_citizenship_type = { type = citizenship_caste_system } } } modifier = { factor = 4.0 is_enslaved = yes } modifier = { factor = 1.5 is_enslaved = no from = { any_owned_pop = { is_robot_pop = no is_enslaved = yes } } } modifier = { factor = 1.5 OR = { has_living_standard = { type = living_standard_utopian } has_living_standard = { type = living_standard_good } } } } } ethic_fanatic_xenophobe = { cost = 2 category = "xen" category_value = 0 use_for_pops = no regular_variant = ethic_xenophobe tags = { ETHIC_ALLOWS_PURGE ETHIC_ALLOWS_SLAVERY ETHIC_REDUCED_DIPLOMACY ETHIC_NEVER_ALIEN_CITIZENSHIP ETHIC_NEVER_ALIEN_MILITARY_SERVICE ETHIC_NO_REFUGEES } country_modifier = { rivalry_influence_gain = 0.3 country_border_mult = 0.3 } random_weight = { value = 150 } } ethic_xenophobe = { cost = 1 category = "xen" category_value = 1 fanatic_variant = ethic_fanatic_xenophobe tags = { ETHIC_ALLOWS_PURGE ETHIC_ALLOWS_SLAVERY ETHIC_REDUCED_DIPLOMACY ETHIC_NEVER_ALIEN_CITIZENSHIP ETHIC_NEVER_ALIEN_MILITARY_SERVICE ETHIC_NO_REFUGEES } country_modifier = { rivalry_influence_gain = 0.15 country_border_mult = 0.15 } random_weight = { value = 100 } pop_attraction_tag = { desc = POP_ATTRACTION_XENOPHOBE_POS trigger = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } } } pop_attraction_tag = { desc = POP_ATTRACTION_FACTION_POS trigger = { NOR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } OR = { has_faction = supremacist has_faction = isolationist } } } pop_attraction_tag = { desc = POP_ATTRACTION_FANATIC_PURIFIERS_POS trigger = { has_valid_civic = civic_fanatic_purifiers } } pop_attraction_tag = { desc = POP_ATTRACTION_RULER_FACTION_POS trigger = { exists = ruler ruler = { OR = { leader_of_faction = supremacist leader_of_faction = isolationist } } } } pop_attraction_tag = { desc = POP_ATTRACTION_DEFENSIVE_XENO_WAR_POS trigger = { any_war = { any_defender = { is_same_value = prevprev } any_attacker = { NOT = { is_same_species = root } } } } } pop_attraction_tag = { desc = POP_ATTRACTION_REPUGNANT_POS trigger = { any_owned_planet = { any_owned_pop = { NOT = { has_trait = "trait_repugnant" } is_non_sentient_robot = no } any_owned_pop = { has_trait = "trait_repugnant" } } } } pop_attraction_tag = { desc = POP_ATTRACTION_XENO_SLAVES_POS trigger = { any_owned_planet = { any_owned_pop = { not = { is_same_species = root } is_robot_pop = no is_enslaved = yes } } } } pop_attraction_tag = { desc = POP_ATTRACTION_ENSLAVEMENT_OF_SPECIES_POS trigger = { any_relation = { NOT = { is_same_species = root } any_owned_pop = { is_enslaved = yes is_robot_pop = no is_same_species = root } } } } pop_attraction_tag = { desc = POP_ATTRACTION_PURGING_OF_SPECIES_POS trigger = { any_relation = { has_opinion_modifier = { who = root modifier = opinion_genocidal_our_species } } } } pop_attraction_tag = { desc = POP_ATTRACTION_XENO_LEADERS_NEG trigger = { allows_alien_leaders = yes } } pop_attraction_tag = { desc = POP_ATTRACTION_FREE_XENOS_NEG trigger = { any_owned_planet = { any_owned_pop = { not = { is_same_species = root } is_enslaved = no is_being_purged = no is_sentient = yes is_robot_pop = no } } } } pop_attraction_tag = { desc = POP_ATTRACTION_MIGRATION_TREATIES_NEG trigger = { any_relation = { has_migration_access = root } } } pop_attraction_tag = { desc = POP_ATTRACTION_CHARISMATIC_NEG trigger = { any_owned_planet = { any_owned_pop = { NOT = { has_trait = "trait_charismatic" } is_non_sentient_robot = no } any_owned_pop = { has_trait = "trait_charismatic" } } } } country_attraction = { value = 1 modifier = { factor = 0 NOR = { is_country_type = default has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe AND = { is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { OR = { has_ethic = ethic_fanatic_xenophobe has_ethic = ethic_xenophobe } } } } } } modifier = { factor = 2 NOR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } OR = { has_faction = supremacist has_faction = isolationist } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } Capital_Scope = { Any_Tile = { has_building = building_artist_patron } } } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } Capital_Scope = { Any_Tile = { has_building = building_ministry_benevolence } } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } has_civic = civic_exalted_priesthood } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } Ruler = exists Ruler = { has_trait = leader_trait_ruler_psionic } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } Ruler = exists Ruler = { has_trait = leader_trait_ruler_chosen } } } modifier = { factor = 1.25 AND = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } has_edict = information_quarantine } } modifier = { factor = 1.5 exists = ruler ruler = { OR = { leader_of_faction = supremacist leader_of_faction = isolationist } } } modifier = { factor = 2 has_ethic = ethic_xenophobe } modifier = { factor = 3 has_ethic = ethic_fanatic_xenophobe } modifier = { factor = 1.15 AND = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } has_ethic = ethic_spiritualist } } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } has_ethic = ethic_fanatic_spiritualist } } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } has_ascension_perk = ap_one_vision } } modifier = { factor = 1.5 has_valid_civic = civic_fanatic_purifiers } modifier = { factor = 0.75 any_relation = { has_migration_access = root } } modifier = { factor = 0.75 allows_alien_leaders = yes } modifier = { factor = 3.0 any_war = { any_defender = { is_same_value = prevprev } any_attacker = { NOT = { is_same_species = root } } } } modifier = { factor = 2.0 is_country_type = default is_same_species = root any_relation = { NOT = { is_same_species = root } any_owned_pop = { is_enslaved = yes is_robot_pop = no is_same_species = root } } } modifier = { factor = 4.0 is_country_type = default is_same_species = root any_relation = { has_opinion_modifier = { who = root modifier = opinion_genocidal_our_species } } } # Effects of indoctrination mission modifier = { factor = 10 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_fanatic_xenophobe } } } modifier = { factor = 5 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_xenophobe } } } } #from = planet pop_attraction = { value = 1 modifier = { factor = 0 has_trait = trait_hive_mind } modifier = { factor = 1.5 AND = { Owner = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } } Planet = { has_spaceport_module = orbital_mind_control_laser } } } modifier = { factor = 1.2 AND = { Owner = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } } Planet = { has_edict = reeducation_campaign } } } modifier = { factor = 1.3 AND = { Owner = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } } Planet = { has_edict = social_engineering } } } modifier = { factor = 1.1 AND = { Owner = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } } Planet = { has_edict = religious_unity } } } modifier = { factor = 1.25 has_trait = trait_conformists } modifier = { factor = 0.85 has_trait = trait_deviants } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_akx_worm_2 } } Owner = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } } } } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_colony_shelter } } Owner = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } } } } modifier = { factor = 1.15 AND = { Planet = { Any_Tile = { OR = { has_building = building_capital_1 has_building = building_capital_2 has_building = building_capital_3 } } } Owner = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } } } } modifier = { factor = 1.2 AND = { Planet = { Any_Tile = { has_building = building_hab_capital } } Owner = { OR = { has_ethic = ethic_xenophobe has_ethic = ethic_fanatic_xenophobe } } } } modifier = { factor = 2.0 is_enslaved = no is_being_purged = no from = { any_owned_pop = { not = { is_same_species = root } is_robot_pop = no is_enslaved = yes } } } modifier = { factor = 0.5 is_enslaved = no is_being_purged = no from = { any_owned_pop = { not = { is_same_species = root } is_robot_pop = no is_enslaved = no is_being_purged = no } } } modifier = { factor = 2.0 from = { any_pop = { NOT = { is_same_species = root } has_trait = "trait_repugnant" } } } modifier = { factor = 0.75 from = { any_pop = { NOT = { is_same_species = root } has_trait = "trait_charismatic" } } } } } ethic_fanatic_xenophile = { cost = 2 category = "xen" category_value = 4 category_opposite = yes regular_variant = ethic_xenophile use_for_pops = no tags = { ETHIC_ALWAYS_MUST_ALIEN_CITIZENSHIP ETHIC_IMPROVED_DIPLOMACY ETHIC_DISALLOW_FULL_NATIVE_TAMPERING ETHIC_ALWAYS_REFUGEES } country_modifier = { country_trust_growth = 0.5 diplomacy_influence_cost = -0.5 } random_weight = { value = 100 } } ethic_xenophile = { cost = 1 category = "xen" category_value = 3 category_opposite = yes fanatic_variant = ethic_fanatic_xenophile tags = { ETHIC_IMPROVED_DIPLOMACY ETHIC_DISALLOW_FULL_NATIVE_TAMPERING ETHIC_ALWAYS_REFUGEES } country_modifier = { country_trust_growth = 0.25 diplomacy_influence_cost = -0.25 } random_weight = { value = 66 } pop_attraction_tag = { desc = POP_ATTRACTION_XENOPHILE_POS trigger = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } } } pop_attraction_tag = { desc = POP_ATTRACTION_FACTION_POS trigger = { NOR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } has_faction = xenoist } } pop_attraction_tag = { desc = POP_ATTRACTION_RULER_FACTION_POS trigger = { exists = ruler ruler = { leader_of_faction = xenoist } } } pop_attraction_tag = { desc = POP_ATTRACTION_FREE_XENOS_POS trigger = { any_owned_planet = { any_owned_pop = { not = { is_same_species = root } is_enslaved = no is_sentient = yes is_robot_pop = no } } } } pop_attraction_tag = { desc = POP_ATTRACTION_XENO_DIPLOMACY_POS trigger = { any_relation = { NOT = { is_same_species = root } OR = { is_in_federation_with = root has_defensive_pact = root } } } } pop_attraction_tag = { desc = POP_ATTRACTION_MIGRATION_TREATIES_POS trigger = { any_relation = { has_migration_access = root } } } pop_attraction_tag = { desc = POP_ATTRACTION_CHARISMATIC_POS trigger = { any_owned_planet = { any_owned_pop = { NOT = { has_trait = "trait_charismatic" } is_non_sentient_robot = no } any_owned_pop = { has_trait = "trait_charismatic" } } } } pop_attraction_tag = { desc = POP_ATTRACTION_REPUGNANT_NEG trigger = { any_owned_planet = { any_owned_pop = { NOT = { has_trait = "trait_repugnant" } is_non_sentient_robot = no } any_owned_pop = { has_trait = "trait_repugnant" } } } } pop_attraction_tag = { desc = POP_ATTRACTION_ENSLAVEMENT_OF_SPECIES_NEG trigger = { any_relation = { NOT = { is_same_species = root } any_owned_pop = { is_enslaved = yes is_robot_pop = no is_same_species = root } } } } pop_attraction_tag = { desc = POP_ATTRACTION_PURGING_OF_SPECIES_NEG trigger = { any_relation = { has_opinion_modifier = { who = root modifier = opinion_genocidal_our_species } } } } country_attraction = { value = 1 modifier = { factor = 0 NOR = { is_country_type = default has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile AND = { is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { OR = { has_ethic = ethic_fanatic_xenophile has_ethic = ethic_xenophile } } } } } } modifier = { factor = 2 NOR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } has_faction = xenoist } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } Capital_Scope = { Any_Tile = { has_building = building_artist_patron } } } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } Capital_Scope = { Any_Tile = { has_building = building_ministry_benevolence } } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } has_civic = civic_exalted_priesthood } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } Ruler = exists Ruler = { has_trait = leader_trait_ruler_psionic } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } Ruler = exists Ruler = { has_trait = leader_trait_ruler_chosen } } } modifier = { factor = 1.25 AND = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } has_edict = information_quarantine } } modifier = { factor = 1.5 is_country_type = default exists = ruler ruler = { leader_of_faction = xenoist } } modifier = { factor = 2 has_ethic = ethic_xenophile } modifier = { factor = 3 has_ethic = ethic_fanatic_xenophile } modifier = { factor = 1.15 AND = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } has_ethic = ethic_spiritualist } } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } has_ethic = ethic_fanatic_spiritualist } } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } has_ascension_perk = ap_one_vision } } modifier = { factor = 1.5 is_country_type = default allows_alien_leaders = yes } modifier = { factor = 1.5 any_relation = { NOT = { is_same_species = root } has_migration_access = root } } modifier = { factor = 1.33 any_relation = { NOT = { is_same_species = root } OR = { is_in_federation_with = root has_defensive_pact = root } } } modifier = { factor = 0.25 is_same_species = root any_relation = { has_opinion_modifier = { who = root modifier = opinion_genocidal_our_species } } } modifier = { factor = 0.5 is_same_species = root any_relation = { NOT = { is_same_species = root } any_owned_pop = { is_enslaved = yes is_robot_pop = no is_same_species = root } } } # Effects of indoctrination mission modifier = { factor = 10 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_fanatic_xenophile } } } modifier = { factor = 5 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_xenophile } } } } # from = planet pop_attraction = { value = 1 modifier = { factor = 0 has_trait = trait_hive_mind } modifier = { factor = 1.5 AND = { Owner = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } } Planet = { has_spaceport_module = orbital_mind_control_laser } } } modifier = { factor = 1.2 AND = { Owner = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } } Planet = { has_edict = reeducation_campaign } } } modifier = { factor = 1.3 AND = { Owner = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } } Planet = { has_edict = social_engineering } } } modifier = { factor = 1.1 AND = { Owner = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } } Planet = { has_edict = religious_unity } } } modifier = { factor = 1.25 has_trait = trait_conformists } modifier = { factor = 0.85 has_trait = trait_deviants } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_akx_worm_2 } } Owner = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } } } } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_colony_shelter } } Owner = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } } } } modifier = { factor = 1.15 AND = { Planet = { Any_Tile = { OR = { has_building = building_capital_1 has_building = building_capital_2 has_building = building_capital_3 } } } Owner = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } } } } modifier = { factor = 1.2 AND = { Planet = { Any_Tile = { has_building = building_hab_capital } } Owner = { OR = { has_ethic = ethic_xenophile has_ethic = ethic_fanatic_xenophile } } } } modifier = { factor = 2 not = { is_same_species = root } has_citizenship_rights = no is_enslaved = no } modifier = { factor = 2.0 is_enslaved = no fromfrom = { any_owned_pop = { not = { is_same_species = root } is_robot_pop = no is_enslaved = no } } } modifier = { factor = 0.25 from = { any_pop = { NOT = { is_same_species = root } has_trait = "trait_repugnant" } } } modifier = { factor = 1.5 from = { any_pop = { NOT = { is_same_species = root } has_trait = "trait_charismatic" } } } } } ethic_fanatic_militarist = { cost = 2 category = "mil" category_value = 0 use_for_pops = no regular_variant = ethic_militarist tags = { ETHIC_ALLOW_FULL_BOMBARDMENT ETHIC_CHEAPER_WARGOALS } country_modifier = { army_damage_mult = 0.20 ship_fire_rate_mult = 0.20 } # more common ethic random_weight = { value = 250 } } ethic_militarist = { cost = 1 category = "mil" category_value = 1 fanatic_variant = ethic_fanatic_militarist tags = { ETHIC_ALLOW_FULL_BOMBARDMENT ETHIC_CHEAPER_WARGOALS } country_modifier = { army_damage_mult = 0.10 ship_fire_rate_mult = 0.10 } # more common ethic random_weight = { value = 150 } pop_attraction_tag = { desc = POP_ATTRACTION_MILITARIST_POS trigger = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } } } pop_attraction_tag = { desc = POP_ATTRACTION_FACTION_POS trigger = { NOR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } has_faction = imperialist } } pop_attraction_tag = { desc = POP_ATTRACTION_RULER_FACTION_POS trigger = { exists = ruler ruler = { leader_of_faction = imperialist } } } pop_attraction_tag = { desc = POP_ATTRACTION_AT_WAR_POS trigger = { is_at_war = yes } } pop_attraction_tag = { desc = POP_ATTRACTION_LOST_WAR_POS trigger = { recently_lost_war = yes } } pop_attraction_tag = { desc = POP_ATTRACTION_LOST_PLANETS_POS trigger = { any_relation = { any_owned_planet = { is_original_owner = from.owner } } } } pop_attraction_tag = { desc = POP_ATTRACTION_OCCUPIED_PLANET_POS trigger = { any_owned_planet = { NOT = { is_controlled_by = root } } } } pop_attraction_tag = { desc = POP_ATTRACTION_NEIGHBOR_RIVALS_POS trigger = { any_neighbor_country = { OR = { is_hostile_to = from.owner is_domineering_to = from.owner is_rival = from.owner } } } } pop_attraction_tag = { desc = POP_ATTRACTION_STRONG_POS trigger = { any_owned_planet = { any_owned_pop = { OR = { has_trait = "trait_strong" has_trait = "trait_very_strong" } } } } } pop_attraction_tag = { desc = POP_ATTRACTION_EMPIRE_PEACEFUL_NEG trigger = { years_of_peace > 20 } } pop_attraction_tag = { desc = POP_ATTRACTION_WEAK_NEG trigger = { any_owned_planet = { any_owned_pop = { has_trait = "trait_weak" } } } } # from = planet country_attraction = { value = 1 modifier = { factor = 0 NOR = { is_country_type = default has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist AND = { is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { OR = { has_ethic = ethic_fanatic_militarist has_ethic = ethic_militarist } } } } } } modifier = { factor = 2 NOR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } has_faction = imperialist } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } Capital_Scope = { Any_Tile = { has_building = building_artist_patron } } } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } Capital_Scope = { Any_Tile = { has_building = building_ministry_benevolence } } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } has_civic = civic_exalted_priesthood } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } Ruler = exists Ruler = { has_trait = leader_trait_ruler_psionic } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } Ruler = exists Ruler = { has_trait = leader_trait_ruler_chosen } } } modifier = { factor = 1.5 is_country_type = default exists = ruler ruler = { leader_of_faction = imperialist } } modifier = { factor = 1.25 AND = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } has_edict = information_quarantine } } modifier = { factor = 2 has_ethic = ethic_militarist } modifier = { factor = 3 has_ethic = ethic_fanatic_militarist } modifier = { factor = 1.15 AND = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } has_ethic = ethic_spiritualist } } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } has_ethic = ethic_fanatic_spiritualist } } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } has_ascension_perk = ap_one_vision } } modifier = { factor = 0.75 is_country_type = default years_of_peace > 20 } modifier = { factor = 0.75 is_country_type = default years_of_peace > 40 } modifier = { factor = 0.75 is_country_type = default years_of_peace > 60 } modifier = { factor = 0.75 is_country_type = default years_of_peace > 80 } modifier = { factor = 0.75 is_country_type = default years_of_peace > 100 # Effects of indoctrination mission modifier = { factor = 10 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_fanatic_militarist } } } modifier = { factor = 5 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_militarist } } } } # from = planet pop_attraction = { value = 1 modifier = { factor = 0 has_trait = trait_hive_mind } modifier = { factor = 1.5 AND = { Owner = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } } Planet = { has_spaceport_module = orbital_mind_control_laser } } } modifier = { factor = 1.2 AND = { Owner = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } } Planet = { has_edict = reeducation_campaign } } } modifier = { factor = 1.3 AND = { Owner = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } } Planet = { has_edict = social_engineering } } } modifier = { factor = 1.1 AND = { Owner = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } } Planet = { has_edict = religious_unity } } } modifier = { factor = 1.25 has_trait = trait_conformists } modifier = { factor = 0.85 has_trait = trait_deviants } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_akx_worm_2 } } Owner = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } } } } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_colony_shelter } } Owner = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } } } } modifier = { factor = 1.15 AND = { Planet = { Any_Tile = { OR = { has_building = building_capital_1 has_building = building_capital_2 has_building = building_capital_3 } } } Owner = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } } } } modifier = { factor = 1.2 AND = { Planet = { Any_Tile = { has_building = building_hab_capital } } Owner = { OR = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist } } } } modifier = { factor = 2.0 OR = { has_citizenship_rights = yes can_be_military_leader = yes } from = { owner = { is_at_war = yes } } } modifier = { factor = 2.0 OR = { has_citizenship_rights = yes can_be_military_leader = yes } from = { owner = { recently_lost_war = yes } } } modifier = { factor = 1.5 OR = { has_citizenship_rights = yes can_be_military_leader = yes } from = { owner = { any_neighbor_country = { OR = { is_hostile_to = from.owner is_domineering_to = from.owner is_rival = from.owner } } } } } modifier = { factor = 2.0 OR = { has_citizenship_rights = yes can_be_military_leader = yes } from = { owner = { any_relation = { any_owned_planet = { is_original_owner = from.owner } } } } } modifier = { factor = 1.2 has_trait = "trait_strong" } modifier = { factor = 1.4 has_trait = "trait_very_strong" } modifier = { factor = 0.75 has_trait = "trait_weak" } modifier = { factor = 3.0 from = { NOT = { is_controlled_by = from.owner } } } } } ethic_fanatic_pacifist = { cost = 2 category = "mil" category_value = 4 category_opposite = yes regular_variant = ethic_pacifist use_for_pops = no tags = { ETHIC_DISALLOW_OFFENSIVE_WARS } country_modifier = { country_resource_unity_mult = 0.4 country_core_sector_system_cap = 4 } random_weight = { value = 33 # rare ethic } } ethic_pacifist = { cost = 1 category = "mil" category_value = 3 category_opposite = yes fanatic_variant = ethic_fanatic_pacifist country_modifier = { country_resource_unity_mult = 0.2 country_core_sector_system_cap = 2 } tags = { ETHIC_DISALLOW_CONQUEST_WARS } random_weight = { value = 66 # uncommon ethic } pop_attraction_tag = { desc = POP_ATTRACTION_PACIFIST_POS trigger = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } } } pop_attraction_tag = { desc = POP_ATTRACTION_FACTION_POS trigger = { NOR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } has_faction = prosperity } } pop_attraction_tag = { desc = POP_ATTRACTION_RULER_FACTION_POS trigger = { exists = ruler ruler = { leader_of_faction = prosperity } } } pop_attraction_tag = { desc = POP_ATTRACTION_EMPIRE_PEACEFUL_POS trigger = { years_of_peace > 20 } } pop_attraction_tag = { desc = POP_ATTRACTION_NEIGHBOR_RIVALS_NEG trigger = { any_neighbor_country = { OR = { is_hostile_to = from.owner is_domineering_to = from.owner is_rival = from.owner } } } } country_attraction = { value = 1 modifier = { factor = 0 NOR = { is_country_type = default has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist AND = { is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { OR = { has_ethic = ethic_fanatic_pacifist has_ethic = ethic_pacifist } } } } } } modifier = { factor = 2 NOR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } has_faction = prosperity } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } Capital_Scope = { Any_Tile = { has_building = building_artist_patron } } } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } Capital_Scope = { Any_Tile = { has_building = building_ministry_benevolence } } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } has_civic = civic_exalted_priesthood } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } Ruler = exists Ruler = { has_trait = leader_trait_ruler_psionic } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } Ruler = exists Ruler = { has_trait = leader_trait_ruler_chosen } } } modifier = { factor = 1.25 AND = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } has_edict = information_quarantine } } modifier = { factor = 1.5 is_country_type = default exists = ruler ruler = { leader_of_faction = prosperity } } modifier = { factor = 2 has_ethic = ethic_pacifist } modifier = { factor = 3 has_ethic = ethic_fanatic_pacifist } modifier = { factor = 1.15 AND = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } has_ethic = ethic_spiritualist } } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } has_ethic = ethic_fanatic_spiritualist } } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } has_ascension_perk = ap_one_vision } } modifier = { factor = 0.75 any_neighbor_country = { OR = { is_hostile_to = from.owner is_domineering_to = from.owner is_rival = from.owner } } } modifier = { factor = 1.33 is_country_type = default years_of_peace > 20 } modifier = { factor = 1.33 is_country_type = default years_of_peace > 40 } modifier = { factor = 1.33 is_country_type = default years_of_peace > 60 } modifier = { factor = 1.33 is_country_type = default years_of_peace > 80 } modifier = { factor = 1.33 is_country_type = default years_of_peace > 100 } # Effects of indoctrination mission modifier = { factor = 10 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_fanatic_pacifist } } } modifier = { factor = 5 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_pacifist } } } } # from = planet pop_attraction = { value = 1 modifier = { factor = 0 has_trait = trait_hive_mind } modifier = { factor = 1.5 AND = { Owner = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } } Planet = { has_spaceport_module = orbital_mind_control_laser } } } modifier = { factor = 1.2 AND = { Owner = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } } Planet = { has_edict = reeducation_campaign } } } modifier = { factor = 1.3 AND = { Owner = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } } Planet = { has_edict = social_engineering } } } modifier = { factor = 1.1 AND = { Owner = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } } Planet = { has_edict = religious_unity } } } modifier = { factor = 1.25 has_trait = trait_conformists } modifier = { factor = 0.85 has_trait = trait_deviants } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_akx_worm_2 } } Owner = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } } } } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_colony_shelter } } Owner = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } } } } modifier = { factor = 1.15 AND = { Planet = { Any_Tile = { OR = { has_building = building_capital_1 has_building = building_capital_2 has_building = building_capital_3 } } } Owner = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } } } } modifier = { factor = 1.2 AND = { Planet = { Any_Tile = { has_building = building_hab_capital } } Owner = { OR = { has_ethic = ethic_pacifist has_ethic = ethic_fanatic_pacifist } } } } modifier = { factor = 1.5 OR = { has_citizenship_rights = yes can_be_military_leader = yes } from = { owner = { any_neighbor_country = {} NOT = { any_neighbor_country = { OR = { is_hostile_to = from.owner is_domineering_to = from.owner is_rival = from.owner } } } } } } } } ethic_fanatic_spiritualist = { cost = 2 category = "spi" category_value = 0 regular_variant = ethic_spiritualist use_for_pops = no tags = { ETHIC_ALLOWS_PSIONICS ETHIC_ALLOWS_TEMPLE ETHIC_DISALLOW_AI } country_modifier = { planet_unrest_add = -20 pop_government_ethic_attraction = 0.3 } random_weight = { value = 150 } } ethic_spiritualist = { cost = 1 category = "spi" category_value = 1 fanatic_variant = ethic_fanatic_spiritualist tags = { ETHIC_ALLOWS_PSIONICS ETHIC_ALLOWS_TEMPLE ETHIC_DISALLOW_AI } country_modifier = { planet_unrest_add = -10 pop_government_ethic_attraction = 0.15 } random_weight = { value = 100 } pop_attraction_tag = { desc = POP_ATTRACTION_SPIRITUALIST_POS trigger = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } } } pop_attraction_tag = { desc = POP_ATTRACTION_FACTION_POS trigger = { NOR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } has_faction = traditionalist } } pop_attraction_tag = { desc = POP_ATTRACTION_RULER_FACTION_POS trigger = { exists = ruler ruler = { leader_of_faction = traditionalist } } } pop_attraction_tag = { desc = POP_ATTRACTION_PSIONICS_POS trigger = { OR = { has_technology = "tech_telepathy" has_technology = "tech_psionic_theory" } } } pop_attraction_tag = { desc = POP_ATTRACTION_SPIRITUALIST_DIPLOMACY_POS trigger = { any_relation = { OR = { is_in_federation_with = root has_defensive_pact = root has_migration_access = root } OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } } } } pop_attraction_tag = { desc = POP_ATTRACTION_ROBOTS_NEG trigger = { any_owned_planet = { any_owned_pop = { is_robot_pop = yes } } } } pop_attraction_tag = { desc = POP_ATTRACTION_ROBOT_RIGHTS_NEG trigger = { has_policy_flag = ai_full_rights } } country_attraction = { value = 1 modifier = { factor = 0 NOR = { is_country_type = default has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist AND = { is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { OR = { has_ethic = ethic_fanatic_spiritualist has_ethic = ethic_spiritualist } } } } } } # Effects of indoctrination mission modifier = { factor = 10 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_fanatic_spiritualist } } } modifier = { factor = 5 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_spiritualist } } } modifier = { factor = 2 NOR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } has_faction = traditionalist } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } Capital_Scope = { Any_Tile = { has_building = building_artist_patron } } } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } Capital_Scope = { Any_Tile = { has_building = building_ministry_benevolence } } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } has_civic = civic_exalted_priesthood } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } Ruler = exists Ruler = { has_trait = leader_trait_ruler_psionic } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } Ruler = exists Ruler = { has_trait = leader_trait_ruler_chosen } } } modifier = { factor = 1.25 AND = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } has_edict = information_quarantine } } modifier = { factor = 1.5 is_country_type = default exists = ruler ruler = { leader_of_faction = traditionalist } } modifier = { factor = 2 has_ethic = ethic_spiritualist } modifier = { factor = 3 has_ethic = ethic_fanatic_spiritualist } modifier = { factor = 1.15 has_ethic = ethic_spiritualist } modifier = { factor = 1.3 has_ethic = ethic_fanatic_spiritualist } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } has_ascension_perk = ap_one_vision } } modifier = { factor = 1.5 is_country_type = default has_technology = "tech_psionic_theory" } modifier = { factor = 1.33 is_country_type = default has_ascension_perk = ap_mind_over_matter } modifier = { factor = 1.33 is_country_type = default has_ascension_perk = ap_transcendence } modifier = { factor = 0.5 is_country_type = default has_policy_flag = ai_full_rights } modifier = { factor = 1.5 any_relation = { OR = { is_in_federation_with = root has_defensive_pact = root } OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } } } modifier = { factor = 2.0 any_relation = { has_migration_access = root OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } } } } # from = planet pop_attraction = { value = 1 modifier = { factor = 0 has_trait = trait_hive_mind } modifier = { factor = 1.5 AND = { Owner = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } } Planet = { has_spaceport_module = orbital_mind_control_laser } } } modifier = { factor = 1.2 AND = { Owner = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } } Planet = { has_edict = reeducation_campaign } } } modifier = { factor = 1.3 AND = { Owner = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } } Planet = { has_edict = social_engineering } } } modifier = { factor = 1.1 AND = { Owner = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } } Planet = { has_edict = religious_unity } } } modifier = { factor = 1.25 has_trait = trait_conformists } modifier = { factor = 0.85 has_trait = trait_deviants } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_akx_worm_2 } } Owner = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } } } } modifier = { factor = 1.2 Planet = { Any_Tile = { has_building = building_temple } } } modifier = { factor = 1.3 Planet = { Any_Tile = { has_building = building_holotemple } } } modifier = { factor = 1.4 Planet = { Any_Tile = { has_building = building_citadel_of_faith } } } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_colony_shelter } } Owner = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } } } } modifier = { factor = 1.15 AND = { Planet = { Any_Tile = { OR = { has_building = building_capital_1 has_building = building_capital_2 has_building = building_capital_3 } } } Owner = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } } } } modifier = { factor = 1.2 AND = { Planet = { Any_Tile = { has_building = building_hab_capital } } Owner = { OR = { has_ethic = ethic_spiritualist has_ethic = ethic_fanatic_spiritualist } } } } modifier = { factor = 0.1 is_robot_pop = yes } modifier = { factor = 0.5 is_robot_pop = no from = { any_owned_pop = { is_robot_pop = yes } } } } } ethic_fanatic_materialist = { cost = 2 category = "spi" category_value = 4 regular_variant = ethic_materialist category_opposite = yes use_for_pops = no tags = { ETHIC_ALLOWS_AI_RIGHTS } country_modifier = { country_robot_maintenance_mult = -0.2 all_technology_research_speed = 0.10 } random_weight = { value = 150 } } ethic_materialist = { cost = 1 category = "spi" category_value = 3 fanatic_variant = ethic_fanatic_materialist category_opposite = yes tags = { ETHIC_ALLOWS_AI_RIGHTS } country_modifier = { country_robot_maintenance_mult = -0.1 all_technology_research_speed = 0.05 } random_weight = { value = 100 } pop_attraction_tag = { desc = POP_ATTRACTION_MATERIALIST_POS trigger = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } } } pop_attraction_tag = { desc = POP_ATTRACTION_FACTION_POS trigger = { NOR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } has_faction = technologist } } pop_attraction_tag = { desc = POP_ATTRACTION_MECHANIST_POS trigger = { has_valid_civic = civic_mechanists } } pop_attraction_tag = { desc = POP_ATTRACTION_RULER_FACTION_POS trigger = { exists = ruler ruler = { leader_of_faction = technologist } } } pop_attraction_tag = { desc = POP_ATTRACTION_ROBOTS_POS trigger = { any_owned_planet = { any_owned_pop = { is_robot_pop = yes } } } } pop_attraction_tag = { desc = POP_ATTRACTION_ROBOT_RIGHTS_POS trigger = { has_policy_flag = ai_full_rights } } pop_attraction_tag = { desc = POP_ATTRACTION_MATERIALIST_RESEARCH_POS trigger = { any_relation = { has_research_agreement = root OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } } } } pop_attraction_tag = { desc = POP_ATTRACTION_NATURAL_SCIENTISTS_POS trigger = { any_owned_planet = { any_owned_pop = { OR = { has_trait = "trait_natural_sociologists" has_trait = "trait_natural_engineers" has_trait = "trait_natural_physicists" } } } } } pop_attraction_tag = { desc = POP_ATTRACTION_PSIONICS_NEG trigger = { OR = { has_technology = "tech_telepathy" has_technology = "tech_psionic_theory" } } } country_attraction = { value = 1 modifier = { factor = 0 NOR = { is_country_type = default has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist AND = { is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { OR = { has_ethic = ethic_fanatic_materialist has_ethic = ethic_materialist } } } } } } # Effects of indoctrination mission modifier = { factor = 10 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_fanatic_materialist } } } modifier = { factor = 5 is_country_type = primitive capital_scope = { has_observation_outpost = yes observation_outpost = { has_mission = native_indoctrination } observation_outpost_owner = { has_ethic = ethic_materialist } } } modifier = { factor = 2 NOR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } has_faction = technologist } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } Capital_Scope = { Any_Tile = { has_building = building_artist_patron } } } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } Capital_Scope = { Any_Tile = { has_building = building_ministry_benevolence } } } } modifier = { factor = 1.1 AND = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } Ruler = exists Ruler = { has_trait = leader_trait_ruler_psionic } } } modifier = { factor = 1.2 AND = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } Ruler = exists Ruler = { has_trait = leader_trait_ruler_chosen } } } modifier = { factor = 1.25 AND = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } has_edict = information_quarantine } } modifier = { factor = 1.5 is_country_type = default exists = ruler ruler = { leader_of_faction = technologist } } modifier = { factor = 2 has_ethic = ethic_materialist } modifier = { factor = 3 has_ethic = ethic_fanatic_materialist } modifier = { factor = 1.3 AND = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } has_ascension_perk = ap_one_vision } } modifier = { factor = 1.25 has_valid_civic = civic_mechanists } modifier = { factor = 0.5 is_country_type = default has_technology = "tech_psionic_theory" } modifier = { factor = 0.75 is_country_type = default has_ascension_perk = ap_mind_over_matter } modifier = { factor = 0.75 is_country_type = default has_ascension_perk = ap_transcendence } modifier = { factor = 1.25 is_country_type = default has_policy_flag = ai_full_rights } modifier = { factor = 1.33 any_relation = { has_research_agreement = root OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } } } } # from = planet pop_attraction = { value = 1 modifier = { factor = 0 has_trait = trait_hive_mind } modifier = { factor = 1.5 AND = { Owner = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } } Planet = { has_spaceport_module = orbital_mind_control_laser } } } modifier = { factor = 1.2 AND = { Owner = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } } Planet = { has_edict = reeducation_campaign } } } modifier = { factor = 1.3 AND = { Owner = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } } Planet = { has_edict = social_engineering } } } modifier = { factor = 1.1 AND = { Owner = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } } Planet = { has_edict = religious_unity } } } modifier = { factor = 1.25 has_trait = trait_conformists } modifier = { factor = 0.85 has_trait = trait_deviants } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_akx_worm_2 } } Owner = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } } } } modifier = { factor = 1.05 AND = { Planet = { Any_Tile = { has_building = building_colony_shelter } } Owner = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } } } } modifier = { factor = 1.15 AND = { Planet = { Any_Tile = { OR = { has_building = building_capital_1 has_building = building_capital_2 has_building = building_capital_3 } } } Owner = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } } } } modifier = { factor = 1.2 AND = { Planet = { Any_Tile = { has_building = building_hab_capital } } Owner = { OR = { has_ethic = ethic_materialist has_ethic = ethic_fanatic_materialist } } } } modifier = { factor = 5.0 is_robot_pop = yes } modifier = { factor = 2.0 has_trait = "trait_cybernetic" } modifier = { factor = 2.0 is_robot_pop = no from = { any_owned_pop = { is_robot_pop = yes } } } modifier = { factor = 1.25 has_trait = "trait_natural_engineers" } modifier = { factor = 1.25 has_trait = "trait_natural_sociologists" } modifier = { factor = 1.25 has_trait = "trait_natural_physicists" } } } ethic_hive_mind = { playable = { host_has_dlc = "Utopia" } cost = 3 category = "col" category_value = 0 use_for_pops = no country_modifier = { country_resource_influence_add = 1 country_resource_unity_mult = 0.20 pop_environment_tolerance = 0.10 pop_growth_speed = 0.25 } tags = { ETHIC_HIVE_MIND_NO_TUTORIAL ETHIC_HIVE_MIND_AUTHORITY ETHIC_ALLOW_FULL_BOMBARDMENT ETHIC_HIVE_MIND_IMMORTAL_RULER ETHIC_HIVE_MIND_NO_FACTIONS ETHIC_HIVE_MIND_DOMESTIC_POP_SURVIVAL ETHIC_HIVE_MIND_FOREIGN_POP_SURVIVAL ETHIC_DISALLOW_AI ETHIC_HIVE_MIND_ASCENSION_RESTRICTIONS ETHIC_HIVE_MIND_GENEMODDING } random_weight = { value = 75 modifier = { factor = 0 OR = { NOT = { host_has_dlc = "Utopia" } # needs setup at galaxy generation time (see game_start.7) has_global_flag = game_started } } } }