public void loadPrices()
	{
		try
		{
			Scanner input = new Scanner(new File("prices.txt"));

			while (input.hasNext())
			{
				String temp = input.next().replace('_', ' ');
				
				if (itemMap.containsKey(temp))
				{
					itemMap.get(temp).setWorth(input.nextInt());
					itemMap.get(temp).setTimeUpdated(input.nextLong());
				}
				else
				{
					input.nextInt();	//advances past unfound item
					input.nextLong();	//		'	'	
				}
			}
			
			input.close();
			
			/*for (Material m : materials)
			{
				m.updateCost();
			}*/
			
			for (ArrayList<Craftable> s : skillTree)
			{
				//System.out.println("ping");
				for (Craftable c : s)
				{
					c.updateCost();
				}
			}
		}
		catch(FileNotFoundException e)
		{
			
		}
	}