local show_formula = settings.startup["angels-show-chemical-formula"].value

data:extend(
  {
    --SULFUR
    {
      type = "fluid",
      name = "gas-hydrogen-sulfide",
      localised_description = show_formula and {"tooltip-description.chemical-formula", "H[font=default-tiny-bold]2[/font]S"} or nil,
      icons = angelsmods.functions.create_gas_fluid_icon({ "__angelspetrochem__/graphics/icons/molecules/hydrogen-sulfide.png", 72 }, "shh"),
      --icon_size = 32,
      subgroup = "petrochem-sulfer-fluids",
      order = "a[hydrogen-sulfide]-a[normal]",
      default_temperature = 25,
      gas_temperature = 25,
      heat_capacity = "0.1KJ",
      base_color = {r = 1, g = 1, b = 0.3},
      flow_color = {r = 1, g = 1, b = 0.3},
      max_temperature = 100,
    },
    {
      type = "fluid",
      name = "gas-enriched-hydrogen-sulfide",
      icons = angelsmods.functions.create_gas_fluid_icon({ "__angelspetrochem__/graphics/icons/molecules/hydrogen-sulfide.png", 72 }, "sww"),
      --icon_size = 32,
      subgroup = "petrochem-sulfer-fluids",
      order = "a[hydrogen-sulfide]-b[enriched]-b[normal]",
      default_temperature = 25,
      gas_temperature = 25,
      heat_capacity = "0.1KJ",
      base_color = {r = 1, g = 1, b = 0.3},
      flow_color = {r = 1, g = 1, b = 0.3},
      max_temperature = 100,
      auto_barrel = false
    },
    {
      type = "fluid",
      name = "gas-sulfur-dioxide",
      localised_description = show_formula and {"tooltip-description.chemical-formula", "SO[font=default-tiny-bold]2[/font]"} or nil,
      icons = angelsmods.functions.create_gas_fluid_icon({ "__angelspetrochem__/graphics/icons/molecules/sulfur-dioxide.png", 72 }, "soo"),
      --icon_size = 32,
      subgroup = "petrochem-sulfer-fluids",
      order = "b",
      default_temperature = 25,
      gas_temperature = 25,
      heat_capacity = "0.1KJ",
      base_color = {r = 0.9, g = 0.9, b = 0.2},
      flow_color = {r = 0.9, g = 0.9, b = 0.2},
      max_temperature = 100,
    },
    {
      type = "fluid",
      name = "liquid-sulfuric-acid",
      localised_description = show_formula and {"tooltip-description.chemical-formula", "H[font=default-tiny-bold]2[/font]SO[font=default-tiny-bold]4[/font]"} or nil,
      icons = angelsmods.functions.create_liquid_fluid_icon({ "__angelspetrochem__/graphics/icons/molecules/sulfuric-acid.png", 72 }, "sho"),
      --icon_size = 32,
      subgroup = "petrochem-sulfer-fluids",
      order = "ca",
      default_temperature = 25,
      heat_capacity = "0.1KJ",
      base_color = {r = 0.8, g = 0.8, b = 0.1},
      flow_color = {r = 0.8, g = 0.8, b = 0.1},
      max_temperature = 100,
    },
    {
      type = "item",
      name = "solid-calcium-sulfate",
      icon = "__angelspetrochem__/graphics/icons/solid-calcium-sulfate.png",
      icon_size = 32,
      subgroup = "petrochem-sulfur",
      order = "b[solid-calcium-sulfate]",
      stack_size = 200
    },
    {
      type = "item",
      name = "solid-sodium-sulfate",
      icon = "__angelspetrochem__/graphics/icons/solid-sodium-sulfate.png",
      icon_size = 32,
      subgroup = "petrochem-sodium",
      order = "d[sodium-hydroxide]",
      stack_size = 200
    },
    {
      type = "item",
      name = "filter-lime",
      icon = "__angelspetrochem__/graphics/icons/filter-lime.png",
      icon_size = 32,
      subgroup = "petrochem-catalysts",
      order = "b[filter-lime]-a[new]",
      stack_size = 200
    },
    {
      type = "item",
      name = "filter-lime-used",
      icon = "__angelspetrochem__/graphics/icons/filter-lime-used.png",
      icon_size = 32,
      subgroup = "petrochem-catalysts",
      order = "b[filter-lime]-a[used]",
      stack_size = 200
    },
  }
)
