public void craftRunes(int altarID) {
        int runeID = 0;

        for (int i = 0; i < this.altarID.length; i++) {
            if (altarID == this.altarID[i]) {
                runeID = runes[i];
            }
        }
        for (int i = 0; i < craftLevelReq.length; i++) {
            if (runeID == runes[i]) {
				if (c.playerLevel[20] >= craftLevelReq[i][1]) {
                    if (c.getItems().playerHasItem(RUNE_ESS) || c.getItems().playerHasItem(PURE_ESS)) {
                        int multiplier = 1;
						for (int j = 0; j < multipleRunes[i].length; j++) {
                            if (c.playerLevel[20] >= multipleRunes[i][j]) {
								multiplier += 1;
                            }
                        }
                        replaceEssence(RUNE_ESS, runeID, multiplier, i);
                        c.startAnimation(791);
                        //c.frame174(481, 0, 0); for sound
                        c.gfx100(186);
                        return;
                    }
                    c.sendMessage("You need to have essence to craft runes!");
                    return;
                }
                c.sendMessage("You need a Runecrafting level of "+ craftLevelReq[i][1] +" to craft this rune.");
            }
        }
    }