Implemented quartz gate and quartz chipset crafting