module Base
{
	template vehicle BMWE30TrunkCompartmentSedan
	{
		part BMWE30TrunkS
		{
			category = bodywork,
			area = TruckBed,
			itemType = Base.90bmwE30TrunkSedan,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = Vehicles.ContainerAccess.TruckBed,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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

	}

	template vehicle BMWE30TrunkCompartmentTouring
	{
		part BMWE30TrunkT
		{
			category = bodywork,
			area = TruckBed,
			itemType = Base.90bmwE30TrunkTouring,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = BMWE30.ContainerAccess.TouringTrunk,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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

	}

}

