public void genInventory()
	{
		Item.modifyAll(locale);
		for (int x = 0; x < locale.getOrbitalClass().GetProperties().length-1; x++)
		{
			if(inventory == null)
			{
				inventory = new Vector<Item>();
			}
			for(int y = 0; y < locale.getOrbitalClass().GetProperties()[x]+1; y++)
			{
				if (y == 0)
				{
					if (rand.nextInt(10) < 3)
					{
						inventory.add(Item.getRandomItem(x));
					}
				}
				else
				{
					inventory.add(Item.getRandomItem(x));
				}
			}
			
		}
		
/*
		for ( Item x : Ops.GetItems())
		{
			if (locale.getOrbitalClass().GetProperties()[x.getClassification()] <= 6)  //I changed from > to < now there are more items
			{
				if(inventory == null)
				{
					inventory = new Vector<Item>();
				}
				inventory.add(x);
			}
		}
*/	
	}