Improved primal enchanting code

Also changed the syntax of a smelting recipe to sort a possible bug.