data:extend(
  {
    {
      type = "quality",
      name = "uncommon",
      level = 1,
      color = {43, 165, 61},
      order = "b",
      next = "rare",
      next_probability = 0.1,
      subgroup = "qualities",
      icon = "__quality__/graphics/icons/quality-uncommon.png",
      beacon_power_usage_multiplier = 5/6,
      mining_drill_resource_drain_multiplier = 5/6,
      science_pack_drain_multiplier = 99/100,
    },
    {
      type = "quality",
      name = "rare",
      level = 2,
      color = {25, 104, 178},
      order = "c",
      next = "epic",
      next_probability = 0.1,
      subgroup = "qualities",
      icon = "__quality__/graphics/icons/quality-rare.png",
      beacon_power_usage_multiplier = 4/6,
      mining_drill_resource_drain_multiplier = 4/6,
      science_pack_drain_multiplier = 98/100,
    },
    {
      type = "quality",
      name = "epic",
      level = 3,
      color = {137, 0, 178},
      order = "d",
      next = "legendary",
      next_probability = 0.1,
      subgroup = "qualities",
      icon = "__quality__/graphics/icons/quality-epic.png",
      beacon_power_usage_multiplier = 3/6,
      mining_drill_resource_drain_multiplier = 3/6,
      science_pack_drain_multiplier = 97/100,
    },
    {
      type = "quality",
      name = "legendary",
      level = 5,
      color = {178, 104, 0},
      order = "e",
      subgroup = "qualities",
      icon = "__quality__/graphics/icons/quality-legendary.png",
      beacon_power_usage_multiplier = 1/6,
      mining_drill_resource_drain_multiplier = 1/6,
      science_pack_drain_multiplier = 95/100,
    }
  }
)
