# Types:
# 0 - Light Infantry
# 1 - Heavy Infantry
# 2 - Pikemen
# 3 - Light Cavalry
# 4 - Heavy Cavalry
# 5 - Archers
# 6 - Special troops

# Tribal Retinues

TRIBAL_FLOGI_PIETY_RET_1 = {
	first_type = 5
	first_amount = 50
	
	second_type = 1
	second_amount = 50
	
	potential = {
		is_tribal = yes
		OR = {
			religion = baltic_pagan_reformed
			religion = baltic_pagan
			religion = finnish_pagan_reformed
			religion = finnish_pagan
			religion = slavic_pagan_reformed
			religion = slavic_pagan
			religion = west_african_pagan_reformed
			religion = west_african_pagan
			religion = bon
			religion = bon_reformed
		}
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
	hire_cost = 75
	costs_piety = yes
	
}

TRIBAL_FLOGI_PIETY_RET_2 = {
	first_type = 0
	first_amount = 75
	
	second_type = 5
	second_amount = 75
	
	potential = {
		is_tribal = yes
		OR = {
			religion = baltic_pagan_reformed
			religion = baltic_pagan
			religion = finnish_pagan_reformed
			religion = finnish_pagan
			religion = slavic_pagan_reformed
			religion = slavic_pagan
			religion = west_african_pagan_reformed
			religion = west_african_pagan
			religion = bon
			religion = bon_reformed
		}
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
	hire_cost = 50
	costs_piety = yes
	
}

TRIBAL_FLOGI_RET_1 = {
	first_type = 0
	first_amount = 150
	
	potential = {
		is_tribal = yes
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
	hire_cost = 25
	costs_prestige = yes
	
	maintenance_multiplier = 0.75
	
}

TRIBAL_FLOGI_RET_2 = {
	first_type = 0
	first_amount = 100
	
	second_type = 5
	second_amount = 50
	
	potential = {
		is_tribal = yes
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
	hire_cost = 50
	costs_prestige = yes
	
	maintenance_multiplier = 0.75
	
}

TRIBAL_FLOGI_RET_3 = {
	first_type = 0
	first_amount = 100
	
	second_type = 3
	second_amount = 50
	
	potential = {
		is_tribal = yes
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
	hire_cost = 75
	costs_prestige = yes
	
	maintenance_multiplier = 0.75
	
}

TRIBAL_FLOGI_RET_4 = {
	first_type = 0
	first_amount = 100
	
	second_type = 1
	second_amount = 50
	
	potential = {
		is_tribal = yes
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
	hire_cost = 75
	costs_prestige = yes
	
	maintenance_multiplier = 0.75
	
}

TRIBAL_FLOGI_RET_5 = {
	first_type = 3
	first_amount = 50
	
	second_type = 6
	second_amount = 25

	special_troops = horse_archers
	
	potential = {
		is_tribal = yes
		OR = {
			culture_group = altaic
			culture = alan
			culture = hungarian
		}
		NOT = {
			culture = jurchen
		}
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
	hire_cost = 75
	costs_prestige = yes
	
	maintenance_multiplier = 0.75
	
}

HORDE_FLOGI_RETTYPE_CAV1 = 
{
	first_type = 3
	first_amount = 250
	
	hire_cost = 25
	costs_prestige = yes
	
	maintenance_multiplier = 0.50
	
	potential = {
		is_nomadic = yes
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}

}

HORDE_FLOGI_RETTYPE_CAV2 = 
{
	first_type = 3
	first_amount = 225
	second_type = 6
	second_amount = 25

	special_troops = horse_archers
	
	hire_cost = 50
	costs_prestige = yes
	
	maintenance_multiplier = 0.50
	
	potential = {
		is_nomadic = yes
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}

}

HORDE_FLOGI_RETTYPE_CAV3 =
{
	first_type = 3
	first_amount = 200
	second_type = 6
	second_amount = 50

	special_troops = horse_archers
	
	hire_cost = 75
	costs_prestige = yes
	
	maintenance_multiplier = 0.5
	
	potential = {
		is_nomadic = yes
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
}

HORDE_FLOGI_RETTYPE_CAV4 =
{
	first_type = 3
	first_amount = 150
	second_type = 6
	second_amount = 100

	special_troops = horse_archers
	
	hire_cost = 50
	
	maintenance_multiplier = 0.3
	
	potential = {
		is_nomadic = yes
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
}

HORDE_FLOGI_RETTYPE_CAV5 =
{
	first_type = 3
	first_amount = 200
	second_type = 4
	second_amount = 50
	
	hire_cost = 100
	
	maintenance_multiplier = 0.3
	
	potential = {
		is_nomadic = yes
		NOT = { has_character_modifier = invading_population_halt } # This stops the Mongol Empire from spending all their money on super-expensive retinues
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
}

HORDE_FLOGI_RETTYPE_CAV6 =
{
	first_type = 3
	first_amount = 100
	second_type = 4
	second_amount = 150
	
	hire_cost = 150
	
	maintenance_multiplier = 0.3
	
	potential = {
		is_nomadic = yes
		NOT = { has_character_modifier = invading_population_halt } # This stops the Mongol Empire from spending all their money on super-expensive retinues
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
}

HORDE_FLOGI_RETTYPE_CAV7 =
{
	first_type = 6
	first_amount = 250
	
	special_troops = horse_archers
	
	hire_cost = 150
	
	maintenance_multiplier = 0.3
	
	potential = {
		is_nomadic = yes
		NOT = { has_character_modifier = invading_population_halt } # This stops the Mongol Empire from spending all their money on super-expensive retinues
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
}

HORDE_FLOGI_RETTYPE_PAGAN =
{
	first_type = 3
	first_amount = 125
	second_type = 6
	second_amount = 125
	
	special_troops = horse_archers
	
	hire_cost = 50
	costs_piety = yes
	
	maintenance_multiplier = 0.25
	
	potential = {
		is_nomadic = yes
		religion_group = pagan_group
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}

}

HORDE_FLOGI_RETTYPE_MUSLIM =
{
	first_type = 6
	first_amount = 125
	second_type = 5
	second_amount = 125
	
	special_troops = horse_archers
	
	hire_cost = 50
	costs_piety = yes
	
	maintenance_multiplier = 0.25
	
	potential = {
		is_nomadic = yes
		religion_group = muslim
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}

}

HORDE_FLOGI_RETTYPE_CHRISTIAN =
{
	first_type = 2
	first_amount = 125
	second_type = 6
	second_amount = 125
	
	special_troops = horse_archers
	
	hire_cost = 75
	costs_piety = yes
	
	maintenance_multiplier = 0.25
	
	potential = {
		is_nomadic = yes
		religion_group = christian
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}

}

HORDE_FLOGI_RETTYPE_ZOROASTRIAN =
{
	first_type = 1
	first_amount = 125
	second_type = 6
	second_amount = 125
	
	special_troops = horse_archers
	
	hire_cost = 75
	costs_piety = yes
	
	maintenance_multiplier = 0.25
	
	potential = {
		is_nomadic = yes
		religion_group = zoroastrian_group
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}

}

HORDE_FLOGI_RETTYPE_JEWISH =
{
	first_type = 3
	first_amount = 125
	second_type = 1
	second_amount = 125
	
	special_troops = horse_archers
	
	hire_cost = 50
	costs_piety = yes
	
	maintenance_multiplier = 0.25
	
	potential = {
		is_nomadic = yes
		religion_group = jewish_group
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}

}

HORDE_FLOGI_RETTYPE_EASTERN =
{
	first_type = 0
	first_amount = 125
	second_type = 3
	second_amount = 125
	
	special_troops = horse_archers
	
	hire_cost = 50
	costs_piety = yes
	
	maintenance_multiplier = 0.25
	
	potential = {
		is_nomadic = yes
		religion_group = indian_group
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
}

HORDE_FLOGI_RETTYPE_INDIAN = 
{
	first_type = 3
	first_amount = 200
	second_type = 6
	second_amount = 50
	
	special_troops = war_elephants

	hire_cost = 250
	
	potential = {
		is_nomadic = yes
		capital_scope = {
			region = world_india
		}
		NOT = { has_character_modifier = invading_population_halt } # This stops the Mongol Empire from spending all their money on super-expensive retinues
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
}

HORDE_FLOGI_RETTYPE_DESERT = {
	first_type = 3
	first_amount = 100
	second_type = 6
	second_amount = 150
	
	special_troops = camel_cavalry
	
	hire_cost = 250
	
	potential = {
		is_nomadic = yes
		capital_scope = {
			terrain = desert
		}
		NOT = { has_character_modifier = invading_population_halt } # This stops the Mongol Empire from spending all their money on super-expensive retinues
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
}

HORDE_FLOGI_RETTYPE_EUROPE = {
	first_type = 4
	first_amount = 250
	
	hire_cost = 250
	
	potential = {
		is_nomadic = yes
		capital_scope = {
			OR = {
				region = world_europe_west
				region = world_europe_south
			}
		}
		NOT = { has_character_modifier = invading_population_halt } # This stops the Mongol Empire from spending all their money on super-expensive retinues
		NOR = {
		has_game_rule = {
				name = flogis_mod_retinue
				value = vanilla_retinue
			}
		has_game_rule = {
				name = flogis_mod_retinue
				value = ck2plus_retinue
			}
		}
	}
	
}