module Base
{
    template vehicle ContainerTrunk1
	{
		part ISOTrunk1
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = false,
			repairMechanic = true,
			container
			{
                capacity = 1000,
				conditionAffectsCapacity = false,
				test = Vehicles.ContainerAccess.TruckBed,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
	}

	template vehicle ContainerTrunk2
	{
		part ISOTrunk2
		{
			category = bodywork,
			area = TruckBed2,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = false,
			repairMechanic = true,
			container
			{
                capacity = 500,
				conditionAffectsCapacity = false,
				test = DAMN.ContainerAccess.TruckBed2,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
	}

    template vehicle ContainerTrunk3
	{
		part ISOTrunk3
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = false,
			repairMechanic = true,
			container
			{
                capacity = 40,
				conditionAffectsCapacity = false,
				test = Vehicles.ContainerAccess.TruckBed,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
	}

    template vehicle ContainerTrunk4
	{
		part ISOTrunk4
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = false,
			repairMechanic = true,
			container
			{
                capacity = 837,
				conditionAffectsCapacity = false,
				test = Vehicles.ContainerAccess.TruckBedOpen,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
	}
}