[Thing Template=AAUnitJPNVehicleHQTruck]
{
	IDS = jpn_truck_motor
	name = "#jpn_truck_motor_name"
	editor_name = "#jpn_truck_motor_editor_name"

	[BodyComponent]
	{
		health = 500
		defense = 2
	}

	[EconomyComponent]
	{
		[Cost]
		money = 500

		[Production]
		oil = 1

		[Upkeep]
		building_limit_consumed = 1
	}

	[ElementComponent]
	
	[MobileDeploymentComponent]
	{
	
		unpack_to_actor_ids = jpn_motor_pool
		
		packed_position_offset = 0,0
		packed_orientation = 1,0
	}
	
	[MoverComponent]
	{
		speed_max = 6


		;; ids of the trailer actor
		trailer_actor = jpn_trailer_motor

		[TrailerHitch]
		{		
			;; node name and node offset of the truck's hitch
			node_ids = hitch
			node_offset = 0, -1.2, .8
		}
	}
		
	[PropertiesComponent]
	{
		[Property]
		property_IDS = motor_pool
	}
	
	[View]
	{
		resource_prefix = JPNTruckBedless/JPNTruckBedless
		icon = /UI/Game/BuildingButtons/IconMotorPool.png

		[WhenCreated Template=FXC_PlaySFX]
		audio_ids = jpn_truck_deployed

		[WhenSelected Template=FXC_PlaySFX]
		audio_ids = motor_pool_select
	}
}
