module Base
{
	template vehicle ARRWTrunkCompartment
	{
		part ARRWTrunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = Base.90pierceArrowTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				capacity = 40,
				conditionAffectsCapacity = false,
				test = ARRW.ContainerAccess.Trunk,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part TruckBed
		{
			category = nodisplay,
			area = TruckBed,
			itemType = nil,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = ARRW.ContainerAccess.Trunk,
			}
			lua
			{
				create = DAMN.Create.Blank,
			}
		}

	}

	template vehicle ARRWTrunkCompartmentLeft
	{
		part ARRWTrunkLTL
		{
			category = ARRWlefttrunk,
			area = TruckBedLeft,
			itemType = Base.90pierceArrowTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				capacity = 65,
				conditionAffectsCapacity = false,
				test = ARRW.ContainerAccess.TrunkLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part ARRWTrunkLTR
		{
			category = ARRWlefttrunk,
			area = TruckBedLeft,
			itemType = Base.90pierceArrowTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				capacity = 65,
				conditionAffectsCapacity = false,
				test = ARRW.ContainerAccess.TrunkLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part ARRWTrunkLBL
		{
			category = ARRWlefttrunk,
			area = TruckBedLeft,
			itemType = Base.90pierceArrowTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				capacity = 40,
				conditionAffectsCapacity = false,
				test = ARRW.ContainerAccess.TrunkLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part ARRWTrunkLBR
		{
			category = ARRWlefttrunk,
			area = TruckBedLeft,
			itemType = Base.90pierceArrowTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				capacity = 30,
				conditionAffectsCapacity = false,
				test = ARRW.ContainerAccess.TrunkLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

	}

	template vehicle ARRWTrunkCompartmentRight
	{
		part ARRWTrunkRL
		{
			category = ARRWrighttrunk,
			area = TruckBedRight,
			itemType = Base.90pierceArrowTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				capacity = 45,
				conditionAffectsCapacity = false,
				test = ARRW.ContainerAccess.TrunkRight,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part ARRWTrunkRR
		{
			category = ARRWrighttrunk,
			area = TruckBedRight,
			itemType = Base.90pierceArrowTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				capacity = 30,
				conditionAffectsCapacity = false,
				test = ARRW.ContainerAccess.TrunkRight,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

	}

}

