module Base
{
	template vehicle F350Storage
	{
		part F350TallStorage
		{
			category = bodywork,
			area = StorageLeft,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 35,
				test = F350.ContainerAccess.TrunkLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part F350LowStorage
		{
			category = bodywork,
			area = StorageLeft,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 40,
				test = F350.ContainerAccess.TrunkLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part F350RearStorage
		{
			category = bodywork,
			area = StorageCorner,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 15,
				test = F350.ContainerAccess.TrunkCorner,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part F350LowCornerStorage
		{
			category = bodywork,
			area = StorageCorner,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 45,
				test = F350.ContainerAccess.TrunkCorner,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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

		part F350InsideLeftStorage
		{
			category = nodisplay,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 25,
                conditionAffectsCapacity = false,
				test = F350.ContainerAccess.InsideLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part F350InsideRightTopStorage
		{
			category = nodisplay,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 30,
                conditionAffectsCapacity = false,
				test = F350.ContainerAccess.InsideLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part F350InsideRightBottomStorage
		{
			category = nodisplay,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 30,
                conditionAffectsCapacity = false,
				test = F350.ContainerAccess.InsideLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part F350InsideFrontStorage
		{
			category = nodisplay,
			area = SeatRearRight,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 40,
                conditionAffectsCapacity = false,
				test = F350.ContainerAccess.InsideFront,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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