[Thing Template=AAUnitUSAVehicleHQTruck]
{
	IDS = usa_truck_ammo
	name = "#usa_truck_ammo_name"
	editor_name = "#usa_truck_ammo_editor_name"

	[BodyComponent]
	{
		health = 500
		defense = 2
	}
	
	[PropertiesComponent]
	{
		[Property]
		property_ids = ammo
	}
	
	[EconomyComponent]
	{
		[Cost]
		money = 500

		[Production]
		ammo = 15

		[Upkeep]
		building_limit_consumed = 1
	}
	
	[MobileDeploymentComponent]
	{
		unpack_to_actor_ids = usa_depot_ammo
		
		packed_position_offset = 0,0
		packed_orientation = 1,0
	}
	
	[MoverComponent]
	{
		speed_max = 6

		;; ids of the trailer actor
		trailer_actor = usa_trailer_ammo

		[TrailerHitch]
		{		
			;; node name and node offset of the truck's hitch
			node_ids = hitch
			node_offset = 0, -2.2, .5
		}
	}

	[View]
	{
		resource_prefix = USATruck/USATruck
		icon = /UI/Game/BuildingButtons/IconDepotAmmo.png

		[WhenCreated Template=FXC_PlaySFX]
		audio_ids = usa_truck_deployed

		[WhenSelected Template=FXC_PlaySFX]
		audio_ids = depot_ammo_select
	}
}
