module Base
{
	template vehicle CH76TrunkCompartmentK10
	{
		part CH76Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 105,
				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 CH76TrunkCompartmentK20
	{
		part CH76Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 130,
				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 CH76TrunkCompartmentK30
	{
		part CH76Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 160,
				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 CH76TrunkCompartmentUtility
	{
		part CH76Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 100,
				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 CH76utilitySideStorage
	{
        part CH76SideStorageLT
		{
			category = bodywork,
			area = StorageLeft,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 10,
				test = CH76.ContainerAccess.StorageLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part CH76SideStorageLF
		{
			category = bodywork,
			area = StorageLeft,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 30,
				test = CH76.ContainerAccess.StorageLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part CH76SideStorageLM
		{
			category = bodywork,
			area = StorageLeft,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 10,
				test = CH76.ContainerAccess.StorageLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part CH76SideStorageLR
		{
			category = bodywork,
			area = StorageLeft,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 20,
				test = CH76.ContainerAccess.StorageLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part CH76SideStorageRT
		{
			category = bodywork,
			area = StorageRight,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 10,
				test = CH76.ContainerAccess.StorageRight,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part CH76SideStorageRF
		{
			category = bodywork,
			area = StorageRight,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 30,
				test = CH76.ContainerAccess.StorageRight,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part CH76SideStorageRM
		{
			category = bodywork,
			area = StorageRight,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 10,
				test = CH76.ContainerAccess.StorageRight,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part CH76SideStorageRR
		{
			category = bodywork,
			area = StorageRight,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 20,
				test = CH76.ContainerAccess.StorageRight,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
	}

    template vehicle CH76TrunkCompartmentFD
	{
		part CH76FDTrunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 80,
				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 CH76FDSideStorage
	{
		part CH76FDSideStorageLF
		{
			category = bodywork,
			area = StorageLeft,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 20,
				test = CH76.ContainerAccess.StorageLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part CH76FDSideStorageLR
		{
			category = bodywork,
			area = StorageLeft,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 30,
				test = CH76.ContainerAccess.StorageLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part CH76FDSideStorageRF
		{
			category = bodywork,
			area = StorageRight,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 20,
				test = CH76.ContainerAccess.StorageRight,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part CH76FDSideStorageRR
		{
			category = bodywork,
			area = StorageRight,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 30,
				test = CH76.ContainerAccess.StorageRight,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
	}

    template vehicle CH76TrunkCompartmentWrecker
	{
		part CH76TrunkW
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
                capacity = 50,
				test = Vehicles.ContainerAccess.TruckBed,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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

    template vehicle CH76WreckerSideStorage
	{
		part CH76wreckerSideStorage
		{
			category = bodywork,
			area = StorageLeft,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
                capacity = 17,
				test = CH76.ContainerAccess.StorageLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
    }
}

