if (input.attack.clicked && len > 0) {
Recipe r = recipes.get(selected);
r.checkCanCraft(player);
if (r.canCraft) {
r.deductCost(player);
r.craft(player);
Sound.craft.play();
}
for (int i = 0; i < recipes.size(); i++) {
recipes.get(i).checkCanCraft(player);