assault_army = {
	damage = 1.00
	health = 1.00
	morale = 1.00
	morale_damage = 1.00
	collateral_damage = 1.00
	war_exhaustion = 1.00
	time = 90
	icon = GFX_army_type_assault
	prerequisites = { "tech_assault_armies" }
	resources = {
		category = armies
		cost = {
			minerals = 100
		}

		upkeep = {
			energy = 1
		}
	}

	show_tech_unlock_if = {
		OR = {
			NOT = { has_authority = auth_machine_intelligence }
			OR = { 
                has_valid_civic = civic_machine_assimilator
                has_ascension_perk = ap_organo_machine_interfacing_assimilator
            }
		}
	}
	potential_country = {
		OR = {
			NOT = { has_authority = auth_machine_intelligence }
			OR = { 
                has_valid_civic = civic_machine_assimilator
                has_ascension_perk = ap_organo_machine_interfacing_assimilator
            }
		}
	}
	potential = {
		from = {
			NOR = {
				has_trait = "trait_mechanical"
				has_trait = "trait_machine_unit"
				has_trait = "trait_limited_cybernetic"
				is_sapient = no
			}
		}
	}

	ai_weight = {
		base = 100
		modifier = {
			set = 0
			OR = {
				is_fallen_empire = yes
				has_technology = tech_telepathy
				has_technology = tech_gene_seed_purification
				AND = {
					OR = {
						has_ethic = ethic_militarist
						has_ethic = ethic_fanatic_militarist
					}
					has_technology = tech_gene_banks
				}
			}
		}
		modifier = {
			factor = 0.01 #cannot guarantee that they actually have slaves/robots to get armies from
			OR = {
				AND = {
					has_ai_personality_behaviour = slaver
					has_technology = tech_neural_implants
				}
				AND = {
					has_ai_personality_behaviour = robot_liberator
					has_technology = tech_droid_workers
				}
				has_valid_civic = civic_reanimated_armies
			}
		}
	}
}

clone_army = {
	damage = 1.00
	health = 1.00
	morale = 1.00
	collateral_damage = 1.25
	war_exhaustion = 0.50
	time = 30
	icon = GFX_army_type_clone
	pop_limited = no

	resources = {
		category = armies
		cost = {
			minerals = 75
		}

		upkeep = {
			energy = 0.75
		}
	}

	prerequisites = { "tech_gene_banks" }

	show_tech_unlock_if = {
		OR = {
			NOT = { has_authority = auth_machine_intelligence }
			OR = { 
                has_valid_civic = civic_machine_assimilator
                has_ascension_perk = ap_organo_machine_interfacing_assimilator
            }
		}
	}

	potential_country = {
		OR = {
			NOT = { has_authority = auth_machine_intelligence }
			OR = { 
                has_valid_civic = civic_machine_assimilator
                has_ascension_perk = ap_organo_machine_interfacing_assimilator
            }
		}
	}
	potential = {
		from = {
			NOR = {
				has_trait = "trait_mechanical"
				has_trait = "trait_machine_unit"
				has_trait = "trait_limited_cybernetic"
				is_sapient = no
			}
		}
	}

	ai_weight = {
		base = 100
		modifier = {
			set = 0
			OR = {
				is_fallen_empire = yes
				has_technology = tech_telepathy
				has_technology = tech_gene_seed_purification
				NAND = {
					OR = {
						has_ethic = ethic_militarist
						has_ethic = ethic_fanatic_militarist
					}
					has_technology = tech_gene_banks
				}
			}
		}
		modifier = {
			factor = 2
			has_origin = origin_clone_army
		}
	}
}