add codes for crafting_quality_code