Please simplify your code This is the simplest. And all the replies above: DIAMOND AXE IS WORSE THAN DIAMOND SWORD. So it should cost only 1 stack of diamond.