[Thing Template=AABuilding]
{
	IDS = normandy_beach_bunker_artillery02
	name = "#normandy_beach_bunker_artillery02_name"
	editor_name = "#normandy_beach_bunker_artillery02_editor_name"

	[BodyComponent]
	{
		captureable = true
		health = 20000
		defense = 800
	}
	
	[ConstructionComponent]
	{
		construction_node_name_prefix = Stage
		finished_node_name = Final
		can_sell = false
		can_raze = false
	}
	
	[DefenderComponent]
	{
		control_range = 50
			
		[Ability Template=AATurretAttackLocal]
		{
			turret_ids = Turret
						
			[AbilityDefinition Template=AABunkerAttackArtilleryDefender]
			{
				name = "#normandy_beach_bunker_artillery02_DefenderComponent_AbilityDefinition_name"
				recharge_time = 8
				range = 50
				area = 1

				[Effect Template=APDamageEffect]
				amount = 2700


		[WhenDo template=FXC_PlaySFX]
		audio_ids = battleship_cannon

			}
		}	
	}
	
	[DetectionComponent]
	{
		detection_range = 50
	}

	[EconomyComponent]
	{
		[Cost]
		money = 3500
		
		[Production]
		
		[Upkeep]
		ammo = 25
	}

	[Flags]
	{
		axis_locked = false
	}	
	
	[Placement]
	{
		placement_group_IDS = group_campaign
	}

	[PropertiesComponent]
	
	[Size]
	{
		height = 2
		blocking_shape = SQUARE
		square_size = 10
		fixed scale_min = 1.00
		fixed scale_max = 1.00
	}

	[View]
	{
		icon = /UI/Game/BuildingButtons/IconBunkerArtillery.png
		resource_prefix = NormandyBeachBunkerArtillery02/NormandyBeachBunkerArtillery02
	}

	[PerformerComponent]
	{
		[Turret]
		{
			turret_ids = Turret
			yaw_rotation_per_sec_degrees = 15
			yaw_rotation_range_degrees = 70
			yaw_start_degrees = 0
			offset = 0.716,-0.964
			
		}
		
	}
}