module Base
{
	template vehicle P19ABigTrunkCompartment
	{
		part P19ABigTrunkCompartment0
		{
			category = P19Arighttrunk,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
                capacity = 80,
				test = P19A.ContainerAccess.Storage1,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part P19ASmallTrunkCompartment1
		{
			category = P19Arighttrunk,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 30,
				test = P19A.ContainerAccess.Storage1,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part P19ASmallTrunkCompartment2
		{
			category = P19Arighttrunk,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 40,
				test = P19A.ContainerAccess.Storage1,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part P19ASmallTrunkCompartment3
		{
			category = P19Arighttrunk,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				ccapacity = 30,
				test = P19A.ContainerAccess.Storage1,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part P19ABigTrunkCompartment0b
		{
			category = P19Alefttrunk,
			area = TruckBed2,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 80,
                conditionAffectsCapacity = false,
				test = P19A.ContainerAccess.Storage2,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part P19ASmallTrunkCompartment1b
		{
			category = P19Alefttrunk,
			area = TruckBed2,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 30,
				test = P19A.ContainerAccess.Storage2,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part P19ASmallTrunkCompartment3b
		{
			category = P19Alefttrunk,
			area = TruckBed2,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 30,
				test = P19A.ContainerAccess.Storage2,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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