public static Consumable loadConsumable(int ID) {
		BufferedReader reader;
		
		try {
			reader = new BufferedReader(new FileReader(System.getProperty("resources") + "/database/consumables"));

	    	String line;
	    	while((line = reader.readLine()) != null) {
	    		final String[] temp = line.split(";");
	    		
	    		if(Integer.parseInt(temp[0]) == ID) {
	    			reader.close();
	    			
	    			return new Consumable() {{
	    				setFlavorText(temp[1]);
			    		for(int x = 2; x<temp.length; x++) {
			    			addStat(Integer.parseInt(temp[x]));
			    			addEffect(Integer.parseInt(temp[x+1]));
			    			addValue(Float.parseFloat(temp[x+2]));
			    			addPercent(Boolean.parseBoolean(temp[x+3]));
			    			addDuration(Float.parseFloat(temp[x+4]));
			    			x += 4;
			    		}
	    			}};
		    		
	    		}
	    	}

	    	reader.close();
	    } catch (FileNotFoundException e) {
	    	System.out.println("The consumable database has been misplaced!");
	    	e.printStackTrace();
	    } catch (IOException e) {
	    	System.out.println("Consumable database failed to load!");
	    	e.printStackTrace();
	    }
		
		return null;
	}