module Base
{
	template vehicle CHR69TrunkCompartment
	{
		part CHR69Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 69,
				test = Vehicles.ContainerAccess.TruckBed,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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

    template vehicle CHR69TrunkCompartmentD
	{
		part CHR69Trunk
		{
			category = bodywork,
			area = SeatFrontLeft,
			itemType = damnCraft.Trunk,
			repairMechanic = true,
            durability = 5,
			container
			{
                capacity = 70,
				conditionAffectsCapacity = false,
				test = CHR69.ContainerAccess.TrunkInner,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
	}
}