################### # Gestalt Jobs ################### spawning_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_spawning_pool possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } planet_modifier = { planet_amenities_no_happiness_add = 5 } triggered_planet_modifier = { potential = { can_assemble_hive_pop = yes } modifier = { planet_pop_assembly_organic_add = 2 } } triggered_planet_modifier = { potential = { has_trait = trait_charismatic } modifier = { planet_amenities_no_happiness_add = 1 } } triggered_planet_modifier = { potential = { has_trait = trait_repugnant } modifier = { planet_amenities_no_happiness_add = -1 } } triggered_planet_modifier = { potential = { exists = owner owner = { has_origin = origin_necrophage } exists = planet.growing_species planet.growing_species = { NOT = { has_trait = trait_hive_mind } } } modifier = { pop_growth_speed = 0.1 } } resources = { category = planet_jobs upkeep = { trigger = { is_lithoid = no } food = 5 } upkeep = { trigger = { is_lithoid = yes } minerals = 5 } } weight = { weight = @spawner_drone_job_weight modifier = { factor = 1.25 has_trait = trait_charismatic } modifier = { factor = 0.9 has_trait = trait_repugnant } modifier = { factor = 0.5 # job is less useful if pop control is active, but still gives amenities planet = { has_modifier = planet_population_control_gestalt } } modifier = { factor = 0.01 # crisis purge exists = planet exists = planet.controller planet.controller = { OR = { is_country_type = swarm is_country_type = ai_empire } } } } } replicator = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_robot_assembly_plant possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } planet_modifier = { planet_pop_assembly_add = 1 } resources = { category = planet_pop_assemblers upkeep = { alloys = 1 } } weight = { weight = @spawner_drone_job_weight modifier = { factor = 0.01 # crisis purge exists = planet exists = planet.controller planet.controller = { OR = { is_country_type = swarm is_country_type = ai_empire } } } } } coordinator = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_machine_capital possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_bureaucrats upkeep = { energy = 6 } } triggered_planet_modifier = { potential = { planet = { has_modifier = planet_artifact_relays_machine } } modifier = { planet_stability_add = 2 planet_jobs_simple_drone_produces_mult = 0.01 } } triggered_country_modifier = { potential = { exists = owner owner = { has_active_tradition = tr_synchronicity_integrated_preservation } } modifier = { country_admin_cap_add = 3 } } triggered_planet_modifier = { potential = { exists = owner owner = { has_active_tradition = tr_synchronicity_integrated_preservation } } modifier = { planet_crime_no_happiness_add = -2 } } country_modifier = { country_admin_cap_add = 15 } triggered_country_modifier = { potential = { exists = planet planet = { exists = sector sector = { exists = leader leader = { has_trait = leader_trait_amplifier } } } } modifier = { country_admin_cap_add = 1 } } weight = { weight = @synapse_drone_job_weight modifier = { factor = 0.9 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } } } evaluator = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_machine_capital possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_evaluators produces = { unity = 4 } upkeep = { energy = 1 } } weight = { weight = @synapse_drone_job_weight modifier = { factor = 0.9 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 1.25 OR = { has_trait = trait_traditional has_trait = trait_robot_propaganda_machines } } } } synapse_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_hive_capital possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_synapse_drones produces = { unity = 3 } upkeep = { trigger = { is_lithoid = no } food = 2 energy = 2 } upkeep = { trigger = { is_lithoid = yes } minerals = 2 energy = 2 } } triggered_planet_modifier = { potential = { planet = { has_modifier = planet_artifact_relays_hivemind } } modifier = { planet_stability_add = 2 planet_jobs_simple_drone_produces_mult = 0.01 } } triggered_planet_modifier = { potential = { exists = owner owner = { has_active_tradition = tr_synchronicity_instinctive_synchronization } } modifier = { planet_amenities_no_happiness_add = 2 } } country_modifier = { country_admin_cap_add = 5 } triggered_country_modifier = { potential = { exists = planet planet = { exists = sector sector = { exists = leader leader = { has_trait = leader_trait_mindfulness } } } } modifier = { country_admin_cap_add = 1 } } weight = { weight = @synapse_drone_job_weight modifier = { factor = 1.25 OR = { has_trait = trait_traditional has_trait = trait_robot_propaganda_machines } } modifier = { factor = 1.5 has_trait = trait_necrophage } } } brain_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_research_lab_1 possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_researchers produces = { physics_research = 4 engineering_research = 4 society_research = 4 } upkeep = { minerals = 6 } } weight = { weight = @complex_drone_job_weight modifier = { factor = 3 has_trait = trait_erudite } modifier = { factor = 2 has_trait = trait_intelligent } modifier = { factor = 1.5 OR = { has_trait = trait_natural_engineers has_trait = trait_natural_physicists has_trait = trait_natural_sociologists } } modifier = { factor = 0.65 OR = { has_trait = trait_syncretic_proles has_trait = trait_presapient_proles } } modifier = { factor = 0.9 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 0 planet = { owner = { is_ai = yes has_resource = { type = minerals amount < 500 } has_monthly_income = { resource = minerals value < 25 } } } } modifier = { factor = 1.5 has_trait = trait_necrophage } } } calculator = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_research_lab_1 possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_researchers produces = { physics_research = 4 engineering_research = 4 society_research = 4 } upkeep = { energy = 4 } } weight = { weight = @complex_drone_job_weight modifier = { factor = 3 has_trait = trait_erudite } modifier = { factor = 2 OR = { has_trait = trait_robot_logic_engines has_trait = trait_intelligent } } modifier = { factor = 1.5 OR = { has_trait = trait_natural_engineers has_trait = trait_natural_physicists has_trait = trait_natural_sociologists } } modifier = { factor = 0.9 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 0 planet = { owner = { is_ai = yes has_resource = { type = minerals amount < 500 } has_monthly_income = { resource = minerals value < 25 } } } } } } artisan_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_organic_sanctuary possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_artisans produces = { consumer_goods = 10 } upkeep = { minerals = 10 } } weight = { weight = 5000 modifier = { factor = 0.9 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 2 has_job = artisan_drone OR = { has_trait = trait_robust has_trait = trait_robot_efficient_processors } } modifier = { factor = 1.5 has_trait = trait_necrophage } } } fabricator = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_foundry_1 possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_metallurgists produces = { alloys = 4 } upkeep = { minerals = 8 } } weight = { weight = @complex_drone_job_weight modifier = { factor = 0.9 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 5 has_job = fabricator OR = { has_trait = trait_robust has_trait = trait_robot_efficient_processors } } } } alloy_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_foundry_1 possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_metallurgists produces = { alloys = 3 } upkeep = { minerals = 6 } } weight = { weight = @complex_drone_job_weight modifier = { factor = 5 has_job = alloy_drone OR = { has_trait = trait_robust has_trait = trait_robot_efficient_processors } } modifier = { factor = 1.5 has_trait = trait_necrophage } } } catalytic_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_foundry_1 possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_metallurgists produces = { alloys = 3 } produces = { trigger = { exists = owner owner = { is_robot_empire = yes } } alloys = 1 } produces = { trigger = { exists = owner owner = { is_ai = no has_deficit = food } } alloys = -1.5 } produces = { trigger = { exists = owner owner = { is_ai = no is_robot_empire = yes has_deficit = food } } alloys = -0.5 } upkeep = { food = 9 } upkeep = { trigger = { exists = owner owner = { is_robot_empire = yes } } food = 3 } } weight = { weight = @complex_drone_job_weight modifier = { factor = 5 has_job = catalytic_drone OR = { has_trait = trait_robust has_trait = trait_robot_efficient_processors } } modifier = { factor = 1.5 has_trait = trait_necrophage } } } chemist_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_chemical_plant possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_chemists produces = { volatile_motes = 2 } upkeep = { minerals = 10 } } weight = { weight = @complex_drone_job_weight modifier = { factor = 0.9 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 5 has_job = chemist_drone OR = { has_trait = trait_robust has_trait = trait_robot_efficient_processors } } modifier = { factor = 1.5 has_trait = trait_necrophage } } } translucer_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_crystal_plant possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_translucers produces = { rare_crystals = 2 } upkeep = { minerals = 10 } } weight = { weight = @complex_drone_job_weight modifier = { factor = 0.9 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 5 has_job = translucer_drone OR = { has_trait = trait_robust has_trait = trait_robot_efficient_processors } } modifier = { factor = 1.5 has_trait = trait_necrophage } } } gas_refiner_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_refinery possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_refiners produces = { exotic_gases = 2 } upkeep = { minerals = 10 } } weight = { weight = @complex_drone_job_weight modifier = { factor = 0.9 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 5 has_job = gas_refiner_drone OR = { has_trait = trait_robust has_trait = trait_robot_efficient_processors } } modifier = { factor = 1.5 has_trait = trait_necrophage } } } patrol_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_stronghold possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_jobs produces = { unity = 1 } } planet_modifier = { planet_crime_no_happiness_add = -20 } pop_modifier = { pop_defense_armies_add = 2 } weight = { weight = @complex_drone_job_weight modifier = { factor = 50 planet = { planet_crime > 22 } } modifier = { weight = 20 exists = owner owner = { is_at_war = yes } } modifier = { factor = 3 has_trait = trait_resilient } modifier = { factor = 3 planet = { planet_crime > 0 } has_trait = trait_very_strong } modifier = { factor = 2 planet = { planet_crime > 0 } has_trait = trait_strong } modifier = { factor = 0.5 has_trait = trait_weak } modifier = { factor = 1.1 OR = { has_trait = trait_traditional has_trait = trait_robot_propaganda_machines } } modifier = { factor = 2 has_trait = trait_lithoid } modifier = { factor = 1.2 has_trait = trait_cybernetic } } } crystal_mining_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_crystal_mines possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_miners produces = { rare_crystals = 2 } upkeep = { energy = 1 } } weight = { weight = @complex_drone_job_weight modifier = { factor = 1.1 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 5 has_job = crystal_mining_drone OR = { has_trait = trait_robust has_trait = trait_robot_efficient_processors } } modifier = { factor = 1.5 has_trait = trait_necrophage } } } mote_harvesting_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_mote_harvesting_traps possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_miners produces = { volatile_motes = 2 } upkeep = { energy = 1 } } weight = { weight = @complex_drone_job_weight modifier = { factor = 1.1 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 5 has_job = mote_harvesting_drone OR = { has_trait = trait_robust has_trait = trait_robot_efficient_processors } } modifier = { factor = 1.5 has_trait = trait_necrophage } } } gas_extraction_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_gas_extractors possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_miners produces = { exotic_gases = 2 } upkeep = { energy = 1 } } weight = { weight = @complex_drone_job_weight modifier = { factor = 1.1 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 5 has_job = gas_extraction_drone OR = { has_trait = trait_robust has_trait = trait_robot_efficient_processors } } modifier = { factor = 1.5 has_trait = trait_necrophage } } } mining_drone = { category = simple_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_mineral_purification_plant possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job resources = { category = planet_miners produces = { minerals = 4 } } weight = { weight = @simple_drone_job_weight modifier = { factor = 2 OR = { has_trait = trait_industrious has_trait = trait_robot_power_drills } } modifier = { factor = 1.1 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 1.2 has_job = mining_drone } modifier = { factor = 0.9 NOT = { has_job = mining_drone } owner = { has_monthly_income = { resource = minerals value > 85 } } } modifier = { factor = 0.65 has_trait = trait_necrophage } } } agri_drone = { category = simple_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_food_processing_facility possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job resources = { category = planet_farmers produces = { food = 6 } produces = { trigger = { exists = owner owner = { is_robot_empire = yes } } food = -1 } } weight = { weight = @simple_drone_job_weight modifier = { factor = 2 OR = { has_trait = trait_agrarian has_trait = trait_robot_harvesters } } modifier = { factor = 0.9 NOT = { has_job = mining_drone } owner = { has_monthly_income = { resource = food value > 50 } } } modifier = { factor = 1.2 has_job = agri_drone } modifier = { factor = 0.9 owner = { is_robot_empire = yes } } modifier = { factor = 1.1 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 0.5 has_trait = trait_lithoid owner = { is_lithoid_empire = yes has_monthly_income = { resource = food value >= 0 } } } modifier = { factor = 0.65 has_trait = trait_necrophage } } } technician_drone = { category = simple_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_energy_grid possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job resources = { category = planet_technician produces = { energy = 6 } produces = { trigger = { exists = owner owner = { is_robot_empire = yes } } energy = 2 } } weight = { weight = @simple_drone_job_weight modifier = { factor = 2 OR = { has_trait = trait_robot_superconductive has_trait = trait_ingenious } } modifier = { factor = 0.9 NOT = { has_job = mining_drone } owner = { has_monthly_income = { resource = energy value > 50 } } } modifier = { factor = 1.2 has_job = technician_drone } modifier = { factor = 1.1 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 0.65 has_trait = trait_necrophage } } } maintenance_drone = { category = simple_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_maintenance_depot possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } resources = { category = planet_jobs produces = { trigger = { exists = owner owner = { has_valid_civic = civic_machine_maintenance_protocols } } unity = 1 } } possible_precalc = can_fill_drone_job planet_modifier = { planet_amenities_no_happiness_add = 4 } triggered_planet_modifier = { potential = { OR = { has_trait = trait_robot_emotion_emulators has_trait = trait_charismatic } } modifier = { planet_amenities_no_happiness_add = 1 } } triggered_planet_modifier = { potential = { OR = { has_trait = trait_robot_uncanny has_trait = trait_repugnant } } modifier = { planet_amenities_no_happiness_add = -1 } } weight = { weight = @clerk_job_weight modifier = { factor = 2 OR = { has_trait = trait_robot_emotion_emulators has_trait = trait_charismatic } } modifier = { factor = 0.5 OR = { has_trait = trait_robot_uncanny has_trait = trait_repugnant } } modifier = { factor = 1.1 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 0.1 NOT = { has_job = maintenance_drone } planet = { free_amenities > 5 } } modifier = { factor = 1.1 OR = { has_trait = trait_traditional has_trait = trait_robot_propaganda_machines } exists = owner owner = { has_valid_civic = civic_machine_maintenance_protocols } } modifier = { factor = 2 planet = { free_amenities <= -1 } } modifier = { factor = 1.5 planet = { free_amenities <= -5 } } modifier = { factor = 1.5 planet = { free_amenities <= -10 } } modifier = { factor = 0.85 has_trait = trait_necrophage } } } warrior_drone = { category = simple_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_stronghold country_modifier = { country_naval_cap_add = 4 } triggered_country_modifier = { potential = { planet = { exists = owner owner = { has_technology = "tech_ground_defense_planning" } } } modifier = { country_naval_cap_add = 2 } } pop_modifier = { pop_defense_armies_add = 3 } triggered_planet_modifier = { potential = { planet = { OR = { has_modifier = compliance_protocols has_modifier = hunter_killer_drones } } } modifier = { planet_stability_add = 5 } } possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job weight = { weight = 5 modifier = { weight = 100 exists = owner owner = { is_at_war = yes } } modifier = { factor = 10 planet = { OR = { has_modifier = compliance_protocols has_modifier = hunter_killer_drones } } } modifier = { factor = 4 has_trait = trait_resilient } modifier = { factor = 4 has_trait = trait_very_strong } modifier = { factor = 3 has_trait = trait_strong } modifier = { factor = 0.5 has_trait = trait_weak } modifier = { factor = 0.9 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 0 planet = { count_owned_pop = { limit = { } count < 12 } } owner = { is_ai = yes } } modifier = { factor = 2 has_trait = trait_lithoid } modifier = { factor = 1.2 has_trait = trait_cybernetic } } } bluelotus_drone = { category = complex_drone is_capped_by_modifier = yes condition_string = DRONE_JOB_TRIGGER building_icon = building_illicit_research_labs icon = foundry possible_pre_triggers = { has_owner = yes is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_metallurgists produces = { alloys = 4 } upkeep = { trigger = { is_organic_species = yes is_phototrophic = no is_lithoid = no } food = @living_standard_food_normal } upkeep = { trigger = { has_phototrophic_energy_upkeep = yes } energy = @living_standard_phototrophic_normal } upkeep = { trigger = { is_phototrophic = yes } food = @living_standard_phototrophic_normal } upkeep = { trigger = { is_lithoid = yes } minerals = @living_standard_food_normal } upkeep = { trigger = { is_robotic_species = yes } energy = @living_standard_energy_normal } } weight = { weight = @complex_drone_job_weight modifier = { factor = 5 has_job = bluelotus_drone OR = { has_trait = trait_robust has_trait = trait_robot_efficient_processors } } } } chronicle_drone = { category = complex_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_galactic_memorial_1 possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no } possible_precalc = can_fill_drone_job possible = { NOT = { has_trait = trait_nerve_stapled } } resources = { category = planet_researchers produces = { unity = 4 society_research = 2 } upkeep = { trigger = { is_robotic_species = yes } minerals = 1 energy = 2 } upkeep = { trigger = { species = { is_archetype = BIOLOGICAL } } energy = 1 food = 2 } upkeep = { trigger = { species = { is_archetype = LITHOID } } energy = 1 minerals = 2 } } planet_modifier = { planet_stability_add = 2 } weight = { weight = @complex_drone_job_weight modifier = { factor = 1.25 has_trait = trait_charismatic } modifier = { factor = 0.8 has_trait = trait_repugnant } modifier = { factor = 0.01 # crisis purge exists = planet exists = planet.controller planet.controller = { OR = { is_country_type = swarm is_country_type = ai_empire } } } } } scrap_miner_drone = { category = simple_drone condition_string = DRONE_JOB_TRIGGER building_icon = building_mineral_purification_plant icon = miner possible_pre_triggers = { has_owner = yes is_enslaved = no is_being_purged = no is_being_assimilated = no is_sapient = yes } possible_precalc = can_fill_drone_job resources = { category = planet_miners produces = { minerals = 2 alloys = 1 } } weight = { weight = @simple_drone_job_weight modifier = { factor = 2 OR = { has_trait = trait_industrious has_trait = trait_robot_power_drills } } modifier = { factor = 1.1 exists = owner years_passed < 1 owner = { has_valid_civic = civic_machine_assimilator } has_trait = trait_cybernetic } modifier = { factor = 1.2 has_job = mining_drone } modifier = { factor = 0.9 NOT = { has_job = mining_drone } owner = { has_monthly_income = { resource = minerals value > 85 } } } modifier = { factor = 0.65 has_trait = trait_necrophage } } }