civilian = { rank = 1 weight = { weight = 100 } pop_group_modifier = { pop_housing_usage_base = 1 } # scope: pop to be resettled allow_resettlement = { always = yes } inline_script = "pop_categories/resettlement_costs" triggered_planet_modifier = { potential = { exists = owner owner = { has_civic = civic_dystopian_society } } planet_crime_add = 1 } triggered_planet_modifier = { potential = { planet = { has_modifier = penal_colony } } planet_crime_add = 3 } triggered_planet_modifier = { potential = { NAND = { exists = owner owner = { # Technically living_standard_decadent already checks for the civic, # but adding the trigger makes it easier to search for is_pleasure_seeker_empire = yes has_deficit = consumer_goods } } has_living_standard = { type = living_standard_decadent } } founder_species_growth_mult = 0.005 } triggered_pop_group_modifier = { potential = { exists = owner owner = { has_modifier = paragon_origin_strengthened_government_ii } } pop_political_power = 0.25 } triggered_pop_group_modifier = { potential = { exists = owner owner = { has_modifier = paragon_origin_strengthened_government_iii } } pop_political_power = 0.50 } # Triggered Modifiers inline_script = "pop_categories/social_classes_triggered_modifiers" inline_script = "pop_categories/social_classes_triggered_modifiers_no_happiness" resources = { category = pop_category_civilians # Living Standard Trait Output inline_script = "pop_categories/living_standard_worker_production" produces = { trigger = { is_spiritualist = yes owner = { has_valid_civic = civic_gospel_of_the_masses } } trade = @trade_value_prosperity_gospel } produces = { trigger = { planet = { has_modifier = pm_gaseous_fauna } } exotic_gases = @gaseous_fauna_exotic_gases_production } produces = { trigger = { planet = { has_modifier = pm_raining_corpses } } minor_artifacts = @raining_corpses_resource_amount } produces = { trigger = { planet = { has_modifier = pm_raining_corpses_no_ancrel } } consumer_goods = @raining_corpses_resource_amount } } } purge = { rank = 0 can_change_category = { is_being_purged = no } weight = { weight = 20 } custom_demotion_loc = "" # empty to use default loc that doesn't show demotion custom_demotion_icon = "" # empty to show no icon # scope: pop to be resettled allow_resettlement = { always = yes } inline_script = "pop_categories/resettlement_costs_low" pop_group_modifier = { pop_political_power = -1 } } robot_servant = { rank = 0 can_change_category = no display_category = worker change_job_threshold = 1.15 pop_group_modifier = { pop_political_power = -1 pop_housing_usage_base = 0.5 pop_amenities_usage_base = 0.5 } weight = { weight = 15 } # scope: pop to be resettled allow_resettlement = { always = yes } inline_script = "pop_categories/resettlement_costs_low" inline_script = "pop_categories/social_classes_triggered_modifiers_no_happiness" } slave = { rank = 2 can_change_category = no display_category = worker change_job_threshold = 1.15 weight = { weight = 10 } custom_demotion_loc = "" # empty to use default loc that doesn't show demotion custom_demotion_icon = "" # empty to show no icon pop_group_modifier = { pop_political_power = -0.75 pop_housing_usage_base = 0.75 pop_amenities_usage_base = 0.75 } # scope: pop to be resettled allow_resettlement = { always = yes } inline_script = "pop_categories/resettlement_costs_low" triggered_pop_group_modifier = { potential = { owner = { has_councilor = { COUNCILOR = "councilor_barbaric_despoilers" } } } species_empire_size_mult = 1 mult = value:empire_size_councilor_barbaric_despoilers } triggered_planet_modifier = { potential = { exists = owner owner = { has_civic = civic_dystopian_society } } planet_crime_add = 1 } inline_script = "pop_categories/social_classes_triggered_modifiers" inline_script = "pop_categories/social_classes_triggered_modifiers_no_happiness" resources = { category = pop_category_slave produces = { trigger = { owner = { has_councilor = { COUNCILOR = "councilor_indentured_assets" } } } trade = @councilor_indentured_assets_trade_value mult = value:councilor_level|TYPE|councilor_indentured_assets| } produces = { trigger = { planet = { has_modifier = pm_gaseous_fauna } } exotic_gases = @gaseous_fauna_exotic_gases_production } } } slave_unemployment = { rank = 2 change_job_threshold = 0.1 custom_demotion_loc = "" # empty to use default loc that doesn't show demotion custom_demotion_icon = "" # empty to show no icon custom_promotion_loc = "" # empty to use default loc that doesn't show demotion custom_promotion_icon = "" # empty to show no icon display_category = worker weight = { weight = 0 } # scope: pop to be resettled allow_resettlement = { always = yes } inline_script = "pop_categories/resettlement_costs_low" # Triggered Modifiers inline_script = "pop_categories/social_classes_triggered_modifiers" inline_script = "pop_categories/social_classes_triggered_modifiers_no_happiness" pop_group_modifier = { pop_political_power = -0.75 pop_housing_usage_base = 0.75 pop_amenities_usage_base = 0.75 } resources = { category = pop_category_slave produces = { trigger = { owner = { has_councilor = { COUNCILOR = "councilor_indentured_assets" } } } trade = @councilor_indentured_assets_trade_value mult = value:councilor_level|TYPE|councilor_indentured_assets| } produces = { trigger = { planet = { has_modifier = pm_gaseous_fauna } } exotic_gases = @gaseous_fauna_exotic_gases_production } } } slave_unemployment2 = { rank = 5 change_job_threshold = 0.1 custom_demotion_loc = "" # empty to use default loc that doesn't show demotion custom_demotion_icon = "" # empty to show no icon custom_promotion_loc = "" # empty to use default loc that doesn't show demotion custom_promotion_icon = "" # empty to show no icon display_category = worker # scope: pop to be resettled allow_resettlement = { always = yes } inline_script = "pop_categories/resettlement_costs_low" # Triggered Modifiers inline_script = "pop_categories/social_classes_triggered_modifiers" inline_script = "pop_categories/social_classes_triggered_modifiers_no_happiness" pop_group_modifier = { pop_political_power = -0.75 pop_housing_usage_base = 0.75 pop_amenities_usage_base = 0.75 } resources = { category = pop_category_slave produces = { trigger = { owner = { has_councilor = { COUNCILOR = "councilor_indentured_assets" } } } trade = @councilor_indentured_assets_trade_value mult = value:councilor_level|TYPE|councilor_indentured_assets| } produces = { trigger = { planet = { has_modifier = pm_gaseous_fauna } } exotic_gases = @gaseous_fauna_exotic_gases_production } } } bio_trophy = { rank = 4 change_job_threshold = 1.25 weight = { weight = 100 } # scope: pop to be resettled allow_resettlement = { always = yes } inline_script = "pop_categories/resettlement_costs" # Triggered Modifiers inline_script = "pop_categories/social_classes_triggered_modifiers" pop_group_modifier = { pop_political_power = 10 pop_housing_usage_base = 1 pop_amenities_usage_no_happiness_base = 1 } resources = { category = pop_category_bio_trophy } triggered_pop_group_modifier = { potential = { happiness <= 0.25 } pop_bonus_workforce_mult = -1 } triggered_pop_group_modifier = { potential = { always = yes } pop_housing_usage_add = -1 } triggered_pop_group_modifier = { potential = { is_unemployed = yes } pop_happiness = -0.80 } } bio_trophy_unemployment = { rank = 4 custom_demotion_loc = "" # empty to use default loc that doesn't show demotion custom_demotion_icon = "" # empty to show no icon display_category = bio_trophy weight = { weight = 50 } # scope: pop to be resettled allow_resettlement = { always = yes } inline_script = "pop_categories/resettlement_costs" # Triggered Modifiers inline_script = "pop_categories/social_classes_triggered_modifiers" pop_group_modifier = { pop_political_power = 10 pop_housing_usage_base = 1 pop_amenities_usage_no_happiness_base = 1 pop_happiness = -0.80 } resources = { category = pop_category_bio_trophy } } criminal = { rank = 1 change_job_threshold = 2 triggered_planet_modifier = { potential = { exists = owner owner = { has_civic = civic_dystopian_society } planet = { OR = { has_branch_office = no branch_office_owner = { is_criminal_syndicate = no } } } } planet_crime_add = 2 planet_stability_add = -2 } triggered_pop_group_modifier = { potential = { NOT = { has_trait = trait_noxious } } key = trait_noxious pop_happiness = 1 mult = modifier:pop_non_noxious_happiness } triggered_planet_modifier = { potential = { has_trait = trait_noxious } key = trait_noxious pop_non_noxious_happiness = @noxious_happiness_penalty } pop_group_modifier = { pop_housing_usage_base = 1 pop_amenities_usage_base = 1 } # scope: pop to be resettled allow_resettlement = { always = no } resources = { category = pop_category_workers upkeep = { trigger = { exists = owner owner = { is_twisted_experimenters_empire = yes } } trade = 5 } } } assimilation = { rank = 0 can_change_category = no weight = { weight = 15 } # scope: pop to be resettled allow_resettlement = { always = yes } inline_script = "pop_categories/resettlement_costs" pop_group_modifier = { pop_political_power = -1 } resources = { category = pop_category_assimilation } } deviant_drone = { rank = 2 change_job_threshold = 2 pop_group_modifier = { pop_housing_usage_base = 1 pop_amenities_usage_base = 1 } # scope: pop to be resettled allow_resettlement = { always = no } resources = { category = pop_category_drones } } corrupt_drone = { rank = 2 change_job_threshold = 2 pop_group_modifier = { pop_housing_usage_base = 1 pop_amenities_usage_base = 1 } # scope: pop to be resettled allow_resettlement = { always = no } resources = { category = pop_category_drones } } precursor = { rank = 3 change_job_threshold = 2 weight = { weight = 100 # crisis purge modifier = { factor = 0.01 exists = planet exists = planet.controller planet.controller = { OR = { is_country_type = swarm is_country_type = ai_empire } } } modifier = { factor = 0.01 is_unemployed = yes } } pop_group_modifier = { pop_political_power = 9 pop_housing_usage_base = 2 pop_amenities_usage_base = 2 } # scope: pop to be resettled allow_resettlement = { always = yes } inline_script = "pop_categories/resettlement_costs" resources = { category = pop_category_precursor # Consumer Goods Upkeep upkeep = { trigger = { exists = owner owner = { is_spiritualist = no } } consumer_goods = 2.0 } upkeep = { trigger = { exists = owner owner = { is_spiritualist = yes } } consumer_goods = 1.0 } } } xeno_ward = { rank = 0 can_change_category = no change_job_threshold = 2 pop_group_modifier = { pop_political_power = -1 pop_housing_usage_base = 1 pop_amenities_usage_base = 1 } triggered_pop_group_modifier = { potential = { NOT = { has_trait = trait_noxious } } key = trait_noxious pop_happiness = 1 mult = modifier:pop_non_noxious_happiness } triggered_planet_modifier = { potential = { has_trait = trait_noxious } key = trait_noxious pop_non_noxious_happiness = @noxious_happiness_penalty } # scope: pop to be resettled allow_resettlement = { always = no } resources = { category = pop_category_xeno_ward # Consumer Goods Upkeep upkeep = { trigger = { is_robotic_species = no } consumer_goods = @living_standard_luxuries_very_high } } } pre_sapients = { rank = 0 can_change_category = no change_job_threshold = 1.25 weight = { weight = 9000 } triggered_pop_group_modifier = { potential = { NOT = { has_trait = trait_noxious } } key = trait_noxious pop_happiness = 1 mult = modifier:pop_non_noxious_happiness } triggered_planet_modifier = { potential = { has_trait = trait_noxious } key = trait_noxious pop_non_noxious_happiness = @noxious_happiness_penalty } pop_group_modifier = { pop_political_power = -1 pop_housing_usage_base = -1 pop_amenities_usage_no_happiness_base = -1 pop_happiness = 1 } # scope: pop to be resettled allow_resettlement = { always = no } resources = { category = pop_category_pre_sapients # Organic Upkeep upkeep = { } } } chip_slave = { rank = 0 can_change_category = no change_job_threshold = 1.25 custom_demotion_loc = "" # empty to use default loc that doesn't show demotion custom_demotion_icon = "" # empty to show no icon weight = { weight = 1000 modifier = { factor = 0.001 planet = { NOT = { is_planet_class = pc_cosmogenesis_world } } } } pop_group_modifier = { pop_political_power = -1 pop_housing_usage_base = 1 pop_amenities_usage_base = 0.5 } # scope: pop to be resettled allow_resettlement = { always = yes } inline_script = "pop_categories/resettlement_costs_low" resources = { category = pop_category_slave } } wilderness_heart_strata = { rank = 0 can_change_category = no change_job_threshold = 1.15 pop_group_modifier = { pop_amenities_usage_no_happiness_base = 1 pop_housing_usage_base = 1 } allow_resettlement = { always = yes } weight = { weight = 10000 } }