############################################################################################################
#	Divisional AI mod - Tank Production AI Boost
############################################################################################################


small_armor_army_offset = { # Factory Size
    enable = { arms_factory > 15 }
    abort_when_not_enabled = yes
    ai_strategy = {
        type = role_ratio
        id = armor_role
        value = 80
    }
	
	ai_strategy = {
        type = build_army
        id = armor_role
        value = 80
    }
}

medium_armor_army_offset = { # Factory Size
    enable = { arms_factory > 30 }
    abort_when_not_enabled = yes
    ai_strategy = {
        type = role_ratio
        id = armor_role
		value = 80
    }
	
	ai_strategy = {
        type = build_army
        id = armor_role
        value = 80
    }
}

large_armor_army_offset = { # Factory Size
    enable = { arms_factory > 45 }
    abort_when_not_enabled = yes
    ai_strategy = {
        type = role_ratio
        id = armor_role
        value = 80
    }
	
	ai_strategy = {
        type = build_army
        id = armor_role
        value = 80
    }
} 

large_armor_production_offset = { # Army Size
    enable = {
		num_divisions > 56
		has_army_size = { size > 56 type = infantry }
	}
	abort_when_not_enabled = yes
	ai_strategy = {
		type = role_ratio
		id = infantry
		value = -40
	}
	
	ai_strategy = {
		type = build_army
		id = infantry
		value = -40
	}
	
	ai_strategy = {
		type = equipment_production_factor
		id = infantry
		value = -10
	}
	ai_strategy = {
		type = role_ratio
		id = armor_role
		value = 80
	}
	
	ai_strategy = {
        type = build_army
        id = armor_role
        value = 80
    }
	
	ai_strategy = {
		type = equipment_production_factor
		id = armor
		value = 80
	}
	ai_strategy = {
		type = equipment_production_factor
		id = motorized
		value = 120
	}
	ai_strategy = {
		type = equipment_production_factor
		id = mechanized
		value = 120
	}

	ai_strategy = {
		type = equipment_variant_production_factor
		id = medium_tank_destroyer_chassis
		value = 250
	}
	
	ai_strategy = {
		type = equipment_variant_production_factor
		id = medium_tank_artillery_chassis
		value = 250
	}
	
	ai_strategy = {
		type = equipment_variant_production_factor
		id = medium_tank_aa_chassis
		value = 250
	}
}

massive_armor_production_offset = { # Army Size
	enable = {
		num_divisions > 112
		has_army_size = { size > 112 type = infantry }
	}
	abort_when_not_enabled = yes
	ai_strategy = {
		type = role_ratio
		id = infantry
		value = -40
	}
	
	ai_strategy = {
		type = build_army
		id = infantry
		value = -40
	}
	
	ai_strategy = {
		type = equipment_production_factor
		id = infantry
		value = -10
	}
	ai_strategy = {
		type = role_ratio
		id = armor_role
		value = 80
	}
	
	ai_strategy = {
        type = build_army
        id = armor_role
        value = 80
    }
	
	ai_strategy = {
		type = equipment_production_factor
		id = armor
		value = 80
	}
	ai_strategy = {
		type = equipment_production_factor
		id = motorized
		value = 120
	}
	ai_strategy = {
		type = equipment_production_factor
		id = mechanized
		value = 120
	}
	
	ai_strategy = {
		type = equipment_variant_production_factor
		id = medium_tank_destroyer_chassis
		value = 250
	}
	
	ai_strategy = {
		type = equipment_variant_production_factor
		id = medium_tank_artillery_chassis
		value = 250
	}
	
	ai_strategy = {
		type = equipment_variant_production_factor
		id = medium_tank_aa_chassis
		value = 250
	}
}

gigantic_armor_production_offset = { # Army Size
	enable = {
		num_divisions > 168
		has_army_size = { size > 168 type = infantry }
	}
	abort_when_not_enabled = yes
	ai_strategy = {
		type = role_ratio
		id = infantry
		value = -40
	}
	
	ai_strategy = {
		type = build_army
		id = infantry
		value = -40
	}
	
	ai_strategy = {
		type = equipment_production_factor
		id = infantry
		value = -10
	}
	
	ai_strategy = {
		type = role_ratio
		id = armor_role
		value = 80
	}
	
	ai_strategy = {
        type = build_army
        id = armor_role
        value = 80
    }
	
	ai_strategy = {
		type = equipment_production_factor
		id = armor
		value = 80
	}
	ai_strategy = {
		type = equipment_production_factor
		id = motorized
		value = 120
	}
	ai_strategy = {
		type = equipment_production_factor
		id = mechanized
		value = 120
	}
	
	ai_strategy = {
		type = equipment_variant_production_factor
		id = medium_tank_destroyer_chassis
		value = 250
	}
	
	ai_strategy = {
		type = equipment_variant_production_factor
		id = medium_tank_artillery_chassis
		value = 250
	}
	
	ai_strategy = {
		type = equipment_variant_production_factor
		id = medium_tank_aa_chassis
		value = 250
	}
	
}