[Thing Template=AAUnitJPNVehicleMediumTank]
{
	IDS = gerit_tank_heavy
	name = "#gerit_tank_heavy_name"
	editor_name = "#gerit_tank_heavy_editor_name"

	[BodyComponent]
	{
		health = 500
		defense = 700
	}
	
	[MoverComponent]
	{
		speed_max = 4.0
		acceleration = 1.5
		
		[WhenStartMoving template=FXC_CreateVFX]
		{
			VFX_IDS = start_exhaust_01
			location = exhaust_point_01	
	  	}
	  	
	  	[WhenStartMoving template=FXC_CreateVFX]
		{
			VFX_IDS = start_exhaust_01
			location = exhaust_point_02	
	  	}
	  	
	  	/*
		[WhenStartMoving template=FXC_PlaySFX]
		{
			audio_ids = attack_usa_mg_light
		}
		*/
	}
	
	[ElementComponent]
	{
		required_structures = ger_motor_pool
		required_properties = tech_heavy_tank	
	}

	[PropertiesComponent]
	{

		[Property]
		property_IDS = captain

		[Property]
		property_IDS = front
		
		[Property]
		property_IDS = support
		
		[Property]
		property_IDS = combat_unit
	}
	
	[PerformerComponent]
	{
		check_damage_resistance = true
	
		[Ability template=AATurretAttackLocal]
		{
			
			[AbilityDefinition Template=AAMediumTankGun]
			{				
				name = "#gerit_tank_heavy_AbilityDefinition_name"
				recharge_time = 8
				range = 28
				
				[Effect Template=APDamageEffect]
				amount = 1000

				[Effect Template=AddDamageEffect]
				damage_type_IDS = gunfire
				targets = infantry
				amount = 5

				
				[WhenDo Template=FXC_PlayObjectAnimation]
				object_animation_IDS = Recoil1

				[WhenDo template=FXC_PlaySFX]
				audio_ids = jpn_cannon_medium
			}
		}
	}
	
	[View]
	{
		resource_prefix = GERITTankHeavy/JPNTankMedium
	}
}