﻿###| Harthgate Men at Arms Types for Lords of Wessex |###

###| Credits |###

#: Developed by Edgar Harthgate
#: Vanilla content by Paradox Development Studio

###| End of Credits |###

###| Table of Contents |###								###| Status |###    ###| Quick Link |###

#: ceorls_low = Ceorls									#: Building	
#: thegns_low = Thegns									#: Building

###| End of Table of Contents |###

###| Local Data |###

###| Standard Costs |###
@maa_buy_cost = 150
@maa_low_maintenance_cost = 1.0
@maa_high_maintenance_cost = 5.0
@cultural_maa_extra_ai_score = 80

#: Must be synced between files with the values located at "# Provisions Costs #".
@provisions_cost_infantry_cheap = 3
@provisions_cost_infantry_moderate = 7
@provisions_cost_infantry_expensive = 12
@provisions_cost_infantry_bankrupting = 15

@provisions_cost_cavalry_cheap = 7
@provisions_cost_cavalry_moderate = 15
@provisions_cost_cavalry_expensive = 21
@provisions_cost_cavalry_bankrupting = 30

@provisions_cost_special_cheap = 6
@provisions_cost_special_moderate = 12
@provisions_cost_special_expensive = 18
@provisions_cost_special_bankrupting = 24

###| End of Local Data |###

ceorls_low = {
	
	type = skirmishers
	
	damage = 13
	toughness = 18
	pursuit = 14
	screen = 16
	
	terrain_bonus = {
		farmlands = { damage = 4 toughness = 5 }
		plains = { damage = 3 toughness = 5 }
		taiga = { damage = 4 toughness = 6 }
		forest = { damage = 4 toughness = 8 }
	}
	
	counters = {
		pikemen = 1
		heavy_infantry = 1
	}
	
	can_recruit = { culture = { has_cultural_parameter = unlock_maa_ceorls_low } }
	
	buy_cost = { gold = ceorls_recruitment_cost_low }
	low_maintenance_cost = { gold = ceorls_low_maintenance_cost_low }
	high_maintenance_cost = { gold = ceorls_high_maintenance_cost_low }
	provision_cost = @provisions_cost_infantry_cheap
	
	stack = 100
	ai_quality = { value = @cultural_maa_extra_ai_score }
	icon = skirmishers
	
}

thegns_low = {

	type = light_cavalry
	
	damage = 37
	toughness = 23
	pursuit = 40
	screen = 26
	
	terrain_bonus = {
		farmlands = { damage = 15 pursuit = 5 }
		plains = { damage = 15 pursuit = 5 }
		forest = { damage = 15 toughness = 10 }
		mountains = { damage = -15 pursuit = -25 }
		desert_mountains = { damage = -20 pursuit = -25 }
		wetlands = { damage = -5 toughness = -5 pursuit = -20 screen = -15 }
	}
	
	counters = {
		skirmishers = 0.5
		archers = 1
		heavy_infantry = 1
	}
	
	winter_bonus = {
		harsh_winter = { damage = -5 toughness = -5 }
	}
	
	can_recruit = { culture = { has_cultural_parameter = unlock_maa_thegns_low } }
	
	buy_cost = { gold = thegns_recruitment_cost_low }
	low_maintenance_cost = { gold = thegns_low_maintenance_cost_low }
	high_maintenance_cost = { gold = thegns_high_maintenance_cost_low }
	provision_cost = @provisions_cost_cavalry_cheap
	
	stack = 100
	ai_quality = { value = @[cultural_maa_extra_ai_score + 25] }
	icon = light_cavalry

}