local sounds = require("__base__.prototypes.entity.sounds")
local space_age_sounds = require("__space-age__.prototypes.entity.sounds")
local item_sounds = require("__base__.prototypes.item_sounds")
local space_age_item_sounds = require("__space-age__.prototypes.item_sounds")

local seperation_energy_requirements = 2
local oxidization_energy_requirements = 5
local decay_energy_requirements = 10
local tiny_energy = 0.1
local tiny_input_amount = 1
local tiny_output_amount = 10

local function get_gas_name(name, alternative)
  if settings.startup["ske_vesta_gases"].value then
    return name
  else
    return alternative
  end
end

local function lm_gas(less, more)
  if settings.startup["ske_easy_fluids"].value then
    return less
  else
    return more
  end
end

data:extend({
-- ================================
-- Buildings
-- ================================
-- Electrolyzer
	{
		type = "recipe",
		name = "vesta-electrolyzer",
		energy_required = 1.5,
		enabled = false,
		category = "electronics",
		ingredients = 
			{
			{type = "item", name = "iridium-plate", amount = 6},
			{type = "item", name = "steel-plate", amount = 10},
			{type = "item", name = "iron-stick", amount = 10},
			{type = "item", name = "electronic-circuit", amount = 5}
			},
		icon = "__skewer_planet_vesta_assets__/graphics/icons/electrolyzer.png",
		subgroup = "production-machine",
		results = 
		{
			{type="item", name="vesta-electrolyzer", amount=1}
		},
    allow_productivity = false,
	},
-- Supermagnet
	{
		type = "recipe",
		name = "supermagnet",
		energy_required = 5,
		enabled = false,
		category = "electronics",
		surface_conditions = { { property = "gasous_atmosphere", min = 100, max = 100 } },
		ingredients = 
			{
			{type = "item", name = "copper-cable", amount = 50},
			{type = "item", name = "steel-plate", amount = 10},
			{type = "item", name = "iridium-plate", amount = 15},
			{type = "item", name = "advanced-circuit", amount = 10}
			},
		icon = "__skewer_planet_vesta_assets__/graphics/icons/supermagnet.png",
		subgroup = "production-machine",
		results = 
		{
			{type="item", name="supermagnet", amount=1}
		},
    allow_productivity = false,
	},
-- Gas Manipulation Science Pack
	{
		type = "recipe",
		name = "gas-manipulation-science-pack",
		category = "magnetizing",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/gas-manipulation-science-pack.png",
		enabled = false,
		energy_required = 15,
    subgroup = "science-pack",
	order = "j-v[vesta]",
		
		ingredients =
		{
			{type = "fluid", name = "ske_supermagnetic", amount = 25},
			{type = "item", name = "ske_algea_clump_stonite", amount = 5},
			{type = "item", name = "iridium-plate", amount = 5},
			{type = "item", name = "carbon", amount = 5},
		},
		results = 
		{
			{type = "fluid", name = "electrolyte", amount = 25, ignored_by_stats = 25, ignored_by_productivity = 999},
			{type="item", name="gas-manipulation-science-pack", amount=1}
		},
		allow_productivity = true,
	},
-- ================================
-- Item/Fluid Recipes
-- ================================
-- for coloring Chemical Plant
-- Primary = liquid
-- Secondary = foam
-- Tertiary = smoke outer
-- Quaternary = smoke inner
-- Vesta Foundation
	{
		type = "recipe",
		name = "vesta-foundation",
		category = "crafting-with-fluid",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/foundation.png",
		enabled = false,
		auto_recycle = false,
		energy_required = 3,
		subgroup = "terrain",
		order = "c[landfill]-e[vesta-foundation]",
		--order = "a[vesta-gases]-a[combination-1]",
		
		ingredients =
		{
			{type = "fluid", name = get_gas_name("vesta_helium", "helium"), amount = lm_gas(10, 1000) },
			{type = "item", name = "iron-plate", amount = 5},
			{type = "item", name = "carbon", amount = 5}
		},
		results = 
		{
			{type="item", name="vesta-foundation", amount=10}
		},
		allow_productivity = false,
	},
-- Water combination
	{
		type = "recipe",
		name = "ske-h2o",
		category = "chemistry-or-cryogenics",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/h2o-water.png",
		enabled = false,
		energy_required = 0.5,
		subgroup = "vesta-gases",
		order = "a[vesta-gases]-a[combination-1]",

		ingredients =
		{
			{ type = "fluid", name =  get_gas_name("vesta_hydrogen", "hydrogen"), amount = lm_gas(20, 200) },
			{ type = "fluid", name =  get_gas_name("vesta_oxygen", "oxygen"), amount = lm_gas(10, 100) }
		},
		results = 
		{
			{type="fluid", name="water", amount= lm_gas(30, 300) }
		},
		allow_productivity = false,
		crafting_machine_tint =
		{
		  primary = {r = 0.92, g = 0.72, b = 0.81, a = 1.000},
		  secondary = {r = 0.73, g = 0.84, b = 0.92, a = 1.000},
		  tertiary = {r = 1.00, g = 1.00, b = 1.00, a = 1.000},
		  quaternary = {r = 0.46, g = 0.49, b = 0.72, a = 1.000},
		},
	},
-- Carbon seperation
	{
		type = "recipe",
		name = "ske-carbon-seperation",
		category = "chemistry-or-cryogenics",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/carbon-dioxide-electrolysis.png",
		enabled = false,
		energy_required = 0.65,
		subgroup = "vesta-gases",
		order = "b[vesta-gases]-a[separation-1]",

		ingredients =
		{
			{ type = "fluid", name =  get_gas_name("vesta_carbon_dioxide", "carbon-dioxide"), amount = lm_gas(10, 100) },
		},
		results = 
		{
			{ type = "fluid", name =  get_gas_name("vesta_oxygen", "oxygen"), amount = 20 },
			{ type = "fluid", name =  get_gas_name("vesta_carbon", "carbon-gas"), amount = 10 }
		},
		allow_productivity = true,
		crafting_machine_tint =
		{
		  primary = {r = 0.78, g = 0.85, b = 0.38, a = 1.000},
		  secondary = {r = 0.73, g = 0.84, b = 0.92, a = 1.000},
		  tertiary = {r = 0.92, g = 0.72, b = 0.81, a = 1.000},
		  quaternary = {r = 0.38, g = 0.34, b = 0.32, a = 1.000},
		},
	},
-- C02 to Carbon only
	{
		type = "recipe",
		name = "ske_co2_filter_carbon",
		category = "chemistry-or-cryogenics",
		icon_size = 64,
		icon="__skewer_planet_vesta__/graphics/icons/co2-filter-carbon.png",
		enabled = false,
		energy_required = 1,
		subgroup = "vesta-gases",
		order = "b[vesta-gases]-a[separation-1]",

		ingredients =
		{
--			{ type = "item", name = "ske_water_filter", amount = 1 },
			{ type = "fluid", name = get_gas_name("vesta_carbon_dioxide", "carbon-dioxide"), amount = 100 },
		},
		results = 
		{
			{ type = "fluid", name = get_gas_name("vesta_carbon", "carbon-gas"), amount = 100 }
		},
		allow_productivity = true,
		crafting_machine_tint =
		{
		  primary = {r = 0.78, g = 0.85, b = 0.38, a = 1.000},
		  secondary = {r = 0.34, g = 0.34, b = 0.34, a = 1.000},
		  tertiary = {r = 0.34, g = 0.34, b = 0.34, a = 1.000},
		  quaternary = {r = 0.78, g = 0.85, b = 0.38, a = 1.000},
		},
	},
-- C02 to Carbon only
	{
		type = "recipe",
		name = "ske_co2_filter_oxygen",
		category = "chemistry-or-cryogenics",
		icon_size = 64,
		icon="__skewer_planet_vesta__/graphics/icons/co2-filter-oxygen.png",
		enabled = false,
		energy_required = 1,
		subgroup = "vesta-gases",
		order = "b[vesta-gases]-a[separation-1]",

		ingredients =
		{
--			{ type = "item", name = "ske_water_filter", amount = 1 },
			{ type = "fluid", name = get_gas_name("vesta_carbon_dioxide", "carbon-dioxide"), amount = 100 },
		},
		results = 
		{
			{ type = "fluid", name = get_gas_name("vesta_oxygen", "oxygen"), amount = 100 }
		},
		allow_productivity = true,
		crafting_machine_tint =
		{
		  primary = {r = 0.78, g = 0.85, b = 0.38, a = 1.000},
		  secondary = {r = 0.67, g = 0.81, b = 0.92, a = 1.000},
		  tertiary = {r = 0.67, g = 0.81, b = 0.92, a = 1.000},
		  quaternary = {r = 0.78, g = 0.85, b = 0.38, a = 1.000},
		},
	},
-- Carbon mineralization
	{
		type = "recipe",
		name = "ske-carbon-mineralization",
		category = "chemistry-or-cryogenics",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/carbon_mineralization.png",
		enabled = false,
		energy_required = 0.85,
		subgroup = "vesta-gases",
		order = "a[vesta-gases]-d[combination-4]",
		ingredients =
		{
			{type = "fluid", name = "ske_algea_water", amount = 50},
			{type = "fluid", name =  get_gas_name("vesta_hydrogen", "hydrogen"), amount = lm_gas(20, 200) },
			{type = "item", name = "carbon", amount=10}
		},
		results = 
		{
			{type="item", name="stone", amount=10}
		},
		allow_productivity = true,
		auto_recycle = false,
		crafting_machine_tint =
		{
		  primary = {r = 0.45, g = 0.68, b = 0.16, a = 1.000},
		  secondary = {r = 0.89, g = 0.55, b = 0.54, a = 1.000},
		  tertiary = {r = 0.07, g = 0.07, b = 0.07, a = 1.000},
		  quaternary = {r = 0.7, g = 0.7, b = 0.7, a = 1.000},
		},
	},
-- Carbon mineralization
	{
		type = "recipe",
		name = "ske-coal-mineralization",
		category = "cryogenics",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/coal_mineralization.png",
		enabled = false,
		energy_required = 0.85,
		subgroup = "vesta-gases",
		order = "a[vesta-gases]-c[combination-3]",
		ingredients =
		{
			{type = "fluid", name = "ske_algea_water", amount = 100},
			{type = "fluid", name =  get_gas_name("vesta_oxygen", "oxygen"), amount = lm_gas(10, 100) },
			{type = "fluid", name =  get_gas_name("vesta_carbon_dioxide", "carbon-dioxide"), amount = lm_gas(10, 100) },
		},
		results = 
		{
			{type="item", name="coal", amount=10}
		},
		allow_productivity = true,
		crafting_machine_tint =
		{
		  primary = {r = 0.67, g = 0.81, b = 0.92, a = 1.000},
		  secondary = {r = 0.32, g = 0.57, b = 0.63, a = 1.000},
		  tertiary = {r = 0.07, g = 0.07, b = 0.07, a = 1.000},
		  quaternary = {r = 0.32, g = 0.57, b = 0.63, a = 1.000},
		},
	},
-- Carbon super cooling
	{
		type = "recipe",
		name = "ske-carbon-super-cooling",
		category = "cryogenics",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/carbon-supercooling.png",
		enabled = false,
		energy_required = 1,
		subgroup = "vesta-gases",
		order = "c[vesta-gases]-a[supercooling-1]",

		ingredients =
		{
			{ type = "fluid", name =  get_gas_name("vesta_nitrogen", "nitrogen"), amount = lm_gas(10, 100) },
			{ type = "fluid", name =  get_gas_name("vesta_carbon", "carbon-gas"), amount = lm_gas(10, 100) }
		},
		results = 
		{
			{type="item", name="carbon", amount=2}
		},
		allow_productivity = true,
		auto_recycle= false,
		crafting_machine_tint =
		{
		  primary = {r = 0.38, g = 0.34, b = 0.32, a = 1.000},
		  secondary = {r = 0.00, g = 0.24, b = 0.00, a = 1.000},
		  tertiary = {r = 0.48, g = 0.44, b = 0.52, a = 1.000},
		  quaternary = {r = 0.38, g = 0.34, b = 0.32, a = 1.000},
		},
	},
--============--
--=== ITEMS ===--
--============--
-- Calcized Iron Plate
	{
		type = "recipe",
		name = "calcized-iron-plate",
		category = "smelting",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets_2__/graphics/icons/calcized-iron-1.png",
		enabled = false,
		energy_required = 0.5,
		subgroup = "vesta-items-organic",
		order = "a[vesta-organic]-b[calcizedIron]",
		ingredients =
		{
			{type = "item", name = "calcized-iron-plate", amount = 1}
		},
		results = 
		{
			{type="item", name="iron-plate", amount=1}
		},
		auto_recycle = false,
--		main_product = "iron-plate",
		allow_productivity = true,
	},
-- Calcized Copper Plate
	{
		type = "recipe",
		name = "calcized-copper-plate",
		category = "smelting",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets_2__/graphics/icons/calcized-copper-1.png",
		enabled = false,
		energy_required = 0.5,
		subgroup = "vesta-items-organic",
		order = "a[vesta-organic]-b[calcizedIron]",
		ingredients =
		{
			{type = "item", name = "calcized-copper-plate", amount = 1}
		},
		results = 
		{
			{type="item", name="copper-plate", amount=1}
		},
		auto_recycle = false,
--		main_product = "copper-plate",
		allow_productivity = true,
	},
-- Water Filter
-- Algea growth promotion
	{
		type = "recipe",
		name = "ske_algea_water",
		category = "chemistry-or-cryogenics",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/algea_cultivation.png",
		enabled = false,
		energy_required = 1,
		subgroup = "vesta-items-organic",
		order = "b[vesta-organics]-a[algea-cultivation]",
		
		ingredients =
		{
			{type = "fluid", name = get_gas_name("vesta_carbon_dioxide", "carbon-dioxide"), amount=lm_gas(50, 500) },
			{type = "fluid", name = "water", amount=50}
		},
		results = 
		{
			{type = "fluid", name="ske_algea_water", amount=50}
		},
		crafting_machine_tint =
		{
		  primary = {r = 0.23, g = 0.60, b = 0.78, a = 1.000},
		  secondary = {r = 0.53, g = 0.78, b = 0.13, a = 1.000},
		  tertiary = {r = 0.53, g = 0.78, b = 0.13, a = 1.000},
		  quaternary = {r = 0.8, g = 0.8, b = 1.0, a = 1.000},
		},
		allow_productivity = false,
	},
-- Nutrients from carbon
	{
		type = "recipe",
		name = "nutrients-from-co2",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/nutrients_from_carbon.png",
		enabled = false,
		energy_required = 0.5,
		surface_conditions = { { property = "gasous_atmosphere", min = 100, max = 100 } },
		category = "organic-or-assembling",
		subgroup = "nauvis-agriculture",
		order = "b[nauvis-agriculture]-e[nutrients-from-co2]",
		ingredients =
		{
			{type = "fluid", name = get_gas_name("vesta_carbon_dioxide", "carbon-dioxide"), amount=10 },
		},
		results = 
		{
			{type = "item", name="nutrients", amount=10}
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = false,
	},
--=================================--
-- THIS BEGINS RESOURCE PRODUCTION --
--=================================--
-- Algea Iron Extraction
	{
		type = "recipe",
		name = "ske_algea_clump_iron",
		category = "organic",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/algea_clump_iron.png",
		enabled = false,
		energy_required = 1,
		subgroup = "vesta-items-organic",
		order = "a[vesta-organics]-a[algea-iron]",
		ingredients =
		{
		--	{type="item", name = "ske_water_filter", amount = 1},
			{type="fluid", name = "ske_algea_water", amount = 50},
			{type="fluid", name = get_gas_name("vesta_helium", "helium"), amount=lm_gas(2, 10)}
		},
		results = 
		{
			{type="item", name="ske_algea_clump_iron", amount=2},
		},
		crafting_machine_tint =
		{
			primary = {r = 0.00, g = 0.65, b = 1, a = 1},
			secondary = {r = 0.00, g = 0.65, b = 1, a = 1},
			tertiary = {r = 0.00, g = 0.65, b = 1, a = 1},
			quaternary = {r = 0.67, g = 0.15, b = 0.67, a = 1},
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = true,
	},
-- Algea Iron Irritation
	{
		type = "recipe",
		name = "ske-algea-iron-electrolysis",
		category = "vesta-zap",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/algea_iron_extraction.png",
		enabled = false,
		energy_required = 1,
		subgroup = "vesta-items-organic",
		order = "b[vesta-organics-processed]-a[iron-1]",
		ingredients =
		{
			{type="item", name="ske_algea_clump_iron", amount=1},
			{type="fluid", name = get_gas_name("vesta_carbon_dioxide", "carbon-dioxide"), amount=lm_gas(2, 10)}
		},
		results = 
		{
			{type="item", name="iron-ore", amount=2},
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = true,
	},
-- Algea Copper Extraction
	{
		type = "recipe",
		name = "ske_algea_clump_copper",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/algea_clump_copper.png",
		enabled = false,
		energy_required = 1,
		category = "organic",
		subgroup = "vesta-items-organic",
		order = "a[vesta-organics]-b[algea-copper]",
		ingredients =
		{
		--	{type="item", name = "ske_water_filter", amount = 1},
			{type="fluid", name="ske_algea_water", amount = 50},
			{type="fluid", name = get_gas_name("vesta_nitrogen", "nitrogen"), amount=lm_gas(2, 10)}
		},
		results = 
		{
			{type="item", name="ske_algea_clump_copper", amount=2},
		},
		crafting_machine_tint =
		{
			primary = {r = 1.00, g = 0.75, b = 0, a = 1},
			secondary = {r = 1.00, g = 0.9, b = 0, a = 1},
			tertiary = {r = 1.00, g = 0.75, b = 0, a = 1},
			quaternary = {r = 0.00, g = 1, b = 0.79, a = 1},
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = true,
	},
-- Algea Copper Irritation
	{
		type = "recipe",
		name = "ske-algea-copper-electrolysis",
		category = "vesta-zap",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/algea_copper_extraction.png",
		enabled = false,
		energy_required = 1,
		subgroup = "vesta-items-organic",
		order = "b[vesta-organics-processed]-b[copper]",
		ingredients =
		{
			{type="item", name="ske_algea_clump_copper", amount=1},
			{type="fluid", name = get_gas_name("vesta_hydrogen", "hydrogen"), amount=lm_gas(2, 10)}
		},
		results = 
		{
			{type="item", name="copper-ore", amount=2},
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = true,
	},
-- Algea Stone Extraction
	{
		type = "recipe",
		name = "ske_algea_clump_stonite",
		category = "organic",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/algea_clump_stonite.png",
		enabled = false,
		energy_required = 1,
		subgroup = "vesta-items-organic",
		order = "a[vesta-organics]-c[stone]",
		ingredients =
		{
		--	{type="item", name = "ske_water_filter", amount = 1},
			{type="fluid", name="ske_algea_water", amount = 50},
			{type="fluid", name = get_gas_name("vesta_carbon", "carbon-gas"), amount=lm_gas(2, 10)}
		},
		results = 
		{
			{type="item", name="ske_algea_clump_stonite", amount=5},
		},
		crafting_machine_tint =
		{
			primary = {r = 1.00, g = 0.9, b = 0.7, a = 1},
			secondary = {r = 1.00, g = 1.00, b = 0.85, a = 1},
			tertiary = {r = 0.21, g = 0.21, b = 0.24, a = 1},
			quaternary = {r = 0.84, g = 0.55, b = 0.55, a = 1},
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = true,
	},
-- Algea Stone Irritation
	{
		type = "recipe",
		name = "ske-algea-stone-electrolysis",
		category = "organic",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/algea_stone_extraction.png",
		enabled = false,
		energy_required = 1,
		subgroup = "vesta-items-organic",
		order = "b[vesta-organics]-d[algea-stone]",
		ingredients =
		{
			{type="item", name="ske_algea_clump_stonite", amount=1},
			{type="fluid", name = get_gas_name("vesta_carbon_dioxide", "carbon-dioxide"), amount=lm_gas(2, 10)}
		},
		results = 
		{
			{type="item", name="stone", amount=1},
		},
		crafting_machine_tint =
		{
			primary = {r = 1.00, g = 0.9, b = 0.7, a = 1},
			secondary = {r = 1.00, g = 1.00, b = 0.85, a = 1},
			tertiary = {r = 1.00, g = 0.9, b = 0.7, a = 1},
			quaternary = {r = 0.53, g = 0.78, b = 0.13, a = 1},
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = true,
	},
-- Algea Petrite Extraction
	{
		type = "recipe",
		name = "ske_methane_petro",
		category = "chemistry",
		icon_size = 64,
		icon="__skewer_planet_vesta__/graphics/icons/methane_petroleum.png",
		enabled = false,
		energy_required = 1,
		subgroup = "vesta-items-organic",
		order = "a[vesta-organics]-d[petrite]",
		ingredients =
		{
			{type="fluid", name = get_gas_name("vesta_methane", "methane"), amount=lm_gas(10, 100)}
		},
		results = 
		{
			{type="fluid", name="petroleum-gas", amount=lm_gas(10, 50)},
		},
		crafting_machine_tint =
		{
			primary = {r = 0.51, g = 0.23, b = 0.78, a = 1},
			secondary = {r = 0.21, g = 0.21, b = 0.24, a = 1},
			tertiary = {r = 0.21, g = 0.21, b = 0.24, a = 1},
			quaternary = {r = 0.51, g = 0.23, b = 0.78, a = 1},
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = true,
	},
-- Algea Iritite Excitement
	{
		type = "recipe",
		name = "iridium-plate",
		category = "cryogenics",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/iridium_extraction.png",
		enabled = false,
		energy_required = 1,
		subgroup = "vesta-items-organic",
		order = "b[vesta-organics]-f[algea-iridium]",
		ingredients =
		{
			{type="fluid", name="ske_algea_water", amount = 10},
			{type="fluid", name="tritium", amount=10},
			{type="fluid", name="deuterium", amount=10}
		},
		results = 
		{
			{type="item", name="iridium-plate", amount=1},
		},
		crafting_machine_tint =
		{
			primary = {r = 0.00, g = 0.66, b = 0.78, a = 1},
			secondary = {r = 1, g = 0.66, b = 0.78, a = 1},
			tertiary = {r = 0.00, g = 0.66, b = 0.78, a = 1},
			quaternary = {r = 1, g = 0.66, b = 0.78, a = 1},
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = true,
	},
--====================================--
-- THIS CONCLUDES RESOURCE PRODUCTION --
--====================================--
-- This begins Tritium and Deuterium  --
-- Production.						  --
--====================================--
-- Tritium Production
-- Brine
	{
		type = "recipe",
		name = "lithium-brine",
		category = "oil-processing",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/water_brine.png",
		enabled = false,
		energy_required = 15,
		surface_conditions = {{ property = "gasous_atmosphere", min = 100, max = 100 }},
		subgroup = "vesta-items-artificial",
		order = "a[vesta-artificial]-a[brine]",
		ingredients =
		{
			{type = "fluid", name = "water", amount = 10}
		},
		results = 
		{
			{type = "fluid", name = "lithium-brine", amount = 5},
		},
		allow_productivity = true,
	},
-- Tritium
	{
		type = "recipe",
		name = "tritium",
		category = "chemistry-or-cryogenics",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/gas_tritium.png",
		enabled = false,
		energy_required = 1.25,
		subgroup = "vesta-gases",
		order = "a[vesta-gases]-f[combination-5]",
		ingredients =
		{
			{type = "fluid", name = "steam", amount = 50},
			{type = "fluid", name = "lithium-brine", amount = 25}
		},
		results = 
		{
			{type = "fluid", name = "tritium", amount = 25},
		},
		allow_productivity = true,
		crafting_machine_tint =
		{
		  primary = {r = 1.00, g = 0.70, b = 0.60, a = 1.000},
		  secondary = {r = 0.00, g = 1.00, b = 1.00, a = 1.000},
		  tertiary = {r = 0.00, g = 0.72, b = 0.61, a = 1.000},
		  quaternary = {r = 0.96, g = 0.84, b = 1.00, a = 1.000},
		}
	},
-- === deuterium Production
-- deuterium
	{
		type = "recipe",
		name = "deuterium",
		category = "cryogenics",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/deuterium_processing.png",
		enabled = false,
		energy_required = 1.5,
		subgroup = "vesta-gases",
		order = "a[vesta-gases]-f[combination-6]",
		ingredients =
		{
			{type="fluid", name = "steam", amount=lm_gas(10, 100)},
			{type="fluid", name = "water", amount=lm_gas(10, 100)}
		},
		results = 
		{
			{type="fluid", name = "deuterium", amount=10},
		},
		allow_productivity = true,
		crafting_machine_tint =
		{
		  primary = {r = 0.02, g = 0.67, b = 0.32, a = 1.000},
		  secondary = {r = 0.92, g = 0.91, b = 0.00, a = 1.000},
		  tertiary = {r = 0.05, g = 0.00, b = 0.50, a = 1.000},
		  quaternary = {r = 0.77, g = 0.21, b = 0.00, a = 1.000},
		}
	},
--=======================================--
-- This concludes Tritium and deuterium  --
--=======================================--
-- REWARDS RELATED
--===============--
-- Fusion Robots --
--===============--
	-- Fusion robot framework
	{
		type = "recipe",
		name = "ske_fusion_framework",
		category = "electronics-with-fluid",
		icon_size = 64,
		icons={
		  {
			icon = "__skewer_planet_vesta_assets__/graphics/icons/fusion_robot_framework.png",
		  }
		},
		enabled = false,
		energy_required = 1,
		ingredients =
		{
			{type="item", name="processing-unit", amount=5},
			{type="item", name="electric-engine-unit", amount=2},
			{type="item", name="accumulator", amount=1},
			{type="fluid", name="ske_dt_fuel", amount=50}
		},
		results = 
		{
			{type="item", name="ske_fusion_framework",amount=1}
		},
		allow_productivity = true
	},
	-- DT Fuel (Fluid)
	{
		type = "recipe",
		name = "ske_dt_fuel",
		category = "vesta-zap",
		icon_size = 64,
		icons={
		  {
			icon = "__skewer_planet_vesta_assets__/graphics/icons/processes/dt_fuel.png",
		  }
		},
		enabled = false,
		energy_required = 1,
		ingredients =
		{
			{type="fluid", name="tritium", amount=30},
			{type="fluid", name="deuterium", amount=10}
		},
		results = 
		{
			{type="fluid", name="ske_dt_fuel",amount=40}
		},
		allow_productivity = true
	},
	-- DT Fuel (Cell)
	{
		type = "recipe",
		name = "ske_dt_fuel_container",
		category = "magnetizing",
		icon_size = 64,
		icons={
		  {
			icon = "__skewer_planet_vesta_assets__/graphics/icons/dt_fuel_canister.png",
		  }
		},
		enabled = false,
		energy_required = 1,
		ingredients =
		{
			{type="fluid", name="ske_dt_fuel", amount=40},
			{type="item", name="iridium-plate", amount=2}
		},
		results = 
		{
			{type="item", name="ske_dt_fuel_container",amount=1}
		},
		allow_productivity = true
	},
	-- Fusion construction robot
	{
		type = "recipe",
		name = "fusion-construction-robot",
		category = "magnetizing",
		icon_size = 32,
		icon = "__skewer_planet_vesta_assets__/graphics/icons/construction.png",
		enabled = false,
		subgroup = "logistic-network",
		order = "b[robot]-c[fusion-construction-robot]",
		energy_required = 1,
		ingredients =
		{
			{type = "fluid", name="ske_supermagnetic", amount = 25},
			{type="item", name="ske_fusion_framework", amount=1},
			{type="item", name="flying-robot-frame", amount=2},
		},
		main_product = "fusion-construction-robot",
		results = 
		{
			{type = "fluid", name="electrolyte", amount = 25, ignored_by_stats = 25, ignored_by_productivity = 999},
			{type="item", name="fusion-construction-robot",amount=1}
		},
		allow_productivity = true
	},
	-- Fusion logistic robot
	{
		type = "recipe",
		name = "fusion-logistic-robot",
		category = "magnetizing",
		icon_size = 32,
		icon = "__skewer_planet_vesta_assets__/graphics/icons/logistic.png",
		enabled = false,
		subgroup = "logistic-network",
		order = "b[robot]-d[fusion-logistic-robot]",
		energy_required = 1,
		ingredients =
		{
			{type = "fluid", name="ske_supermagnetic", amount = 25},
			{type="item", name="ske_fusion_framework", amount=1},
			{type="item", name="flying-robot-frame", amount=2},
		},
		main_product = "fusion-logistic-robot",
		results = 
		{
			{type = "fluid", name="electrolyte", amount = 25, ignored_by_stats = 25, ignored_by_productivity = 999},
			{type="item", name="fusion-logistic-robot",amount=1}
		},
		allow_productivity = true
	},
-- Heavy Duty Magnetic Piping
-- For transporting plasma
	{
		type = "recipe",
		name = "magnetic-pipe",
		energy_required = 1,
		enabled = false,
		category = "magnetizing",
		subgroup = "energy-pipe-distribution",
		order = "e[magnetic-pipe]-e[magnetic-pipe]",
		ingredients = 
			{
			{type = "fluid", name="ske_supermagnetic", amount = 5},
			{type = "item", name = "copper-cable", amount = 10},
			{type = "item", name = "iridium-plate", amount = 1},
			{type = "item", name = "steel-plate", amount = 1},
			{type = "item", name = "pipe", amount = 1}
			},
		icon = "__skewer_planet_vesta_assets__/graphics/icons/pipe.png",
		results = 
		{
			{type = "fluid", name="electrolyte", amount = 5, ignored_by_stats = 5, ignored_by_productivity = 999},
			{type="item", name="ske_magnetic_pipe", amount=1}
		},
    allow_productivity = false,
	},
-- Steel from Iron Algea
	{
		type = "recipe",
		name = "steel-from-iron-algea",
		category = "vesta-zap",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/algea_steel_extraction.png",
		enabled = false,
		energy_required = 1.25,
		subgroup = "vesta-items-organic",
		order = "b[vesta-organics-processed]-a[iron-2]",
		
		ingredients =
		{
			{type = "fluid", name = "ske_supermagnetic", amount = 25},
			{type = "fluid", name = get_gas_name("vesta_carbon_dioxide", "carbon-dioxide"), amount=lm_gas(10, 100)},
			{type = "item", name = "ske_algea_clump_iron", amount = 5}
		},
		results = 
		{
			{type = "fluid", name="electrolyte", amount = 25, ignored_by_stats = 25, ignored_by_productivity = 999},
			{type="item", name="steel-plate", amount=10}
		},
		allow_productivity = true,
		auto_recycle = false,
	},

---============================
-- Combustion Furnace Offworld recipes
---============================
-- Water electrolysis
-- Outputs more copper plates for slower processing
	{
		type = "recipe",
		name = "ske-water-electrolysis",
		category = "chemistry-or-cryogenics",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/water_oxygen_hydrogen.png",
		enabled = false,
		auto_recycle = false,
		energy_required = 3,
		subgroup = "vesta-gases",
		order = "a[vesta-gases]-b[combination-2]",
		
		ingredients =
		{
			{type = "fluid", name = "water", amount = 30},
		},
		results = 
		{
			{ type = "fluid", name =  get_gas_name("vesta_oxygen", "oxygen"), amount = lm_gas(5, 10) },
			{ type = "fluid", name =  get_gas_name("vesta_hydrogen", "hydrogen"), amount = lm_gas(10, 20) }
--			{type="item", name="ske_algea_clump", amount=1, probability = 0.07},
		},
		allow_productivity = false,
	},
-- Combustion Furnace
	{
		type = "recipe",
		name = "vesta-combustion-furnace",
		energy_required = 2,
		enabled = false,
		category = "magnetizing",
		ingredients = 
			{
			{type = "item", name = "steel-plate", amount = 10},
			{type = "item", name = "iridium-plate", amount = 5},
			{type = "item", name = "iron-plate", amount = 2},
			{type = "item", name = "electronic-circuit", amount = 5},
			{type = "item", name = "copper-cable", amount = 4}
			},
		icon = "__skewer_planet_vesta_assets__/graphics/icons/combustion_furnace.png",
--		subgroup = "production-machine",
		results = 
		{
			{type="item", name="vesta-combustion-furnace", amount=1}
		},
    allow_productivity = false,
	},
-- Copper with Hydrogen
-- Outputs more copper plates for slower processing
	{
		type = "recipe",
		name = "ske_cf_copper_hyd",
		category = "vesta-combustion",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/cf_hyd_copper_plate.png",
		enabled = false,
		auto_recycle = false,
		energy_required = 1,
		subgroup = "vesta-items-organic",
		order = "b[vesta-organics]-e[algea-iron-4]",
		
		ingredients =
		{
			{ type = "fluid", name =  get_gas_name("vesta_hydrogen", "hydrogen"), amount = lm_gas(2, 10) },
			{type = "item", name = "copper-ore", amount=1}
		},
		results = 
		{
			{type="item", name="copper-plate", amount=1},
			{type="item", name="copper-plate", amount=1, probability = 0.75},
			{type="item", name="copper-plate", amount=1, probability = 0.63},
			{type="item", name="copper-plate", amount=1, probability = 0.51},
--			{type="item", name="ske_algea_clump", amount=1, probability = 0.07},
		},
		allow_productivity = true,
	},
-- Copper with Oxygen
-- Outputs less copper plates for faster processing
	{
		type = "recipe",
		name = "ske_cf_copper_oxy",
		category = "vesta-combustion",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/cf_oxy_copper_plate.png",
		enabled = false,
		auto_recycle = false,
		energy_required = 0.25,
		subgroup = "vesta-items-organic",
		order = "b[vesta-organics]-e[algea-iron-4]",
		
		ingredients =
		{
			{ type = "fluid", name =  get_gas_name("vesta_oxygen", "oxygen"), amount = lm_gas(2, 10) },
			{type = "item", name = "copper-ore", amount=1}
		},
		results = 
		{
			{type="item", name="copper-plate", amount=1},
			{type="item", name="copper-plate", amount=1, probability = 0.5}
		},
		allow_productivity = true,
	},
-- Iron with Hydrogen
-- Outputs more copper plates for slower processing
	{
		type = "recipe",
		name = "ske_cf_iron_hyd",
		category = "vesta-combustion",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/cf_hyd_iron_plate.png",
		enabled = false,
		auto_recycle = false,
		energy_required = 1,
		subgroup = "vesta-items-organic",
		order = "b[vesta-organics]-e[algea-iron-4]",
		
		ingredients =
		{
			{ type = "fluid", name =  get_gas_name("vesta_hydrogen", "hydrogen"), amount = lm_gas(2, 10)},
			{type = "item", name = "iron-ore", amount=1}
		},
		results = 
		{
			{type="item", name="iron-plate", amount=1},
			{type="item", name="iron-plate", amount=1, probability = 0.75},
			{type="item", name="iron-plate", amount=1, probability = 0.63},
			{type="item", name="iron-plate", amount=1, probability = 0.51},
--			{type="item", name="ske_algea_clump", amount=1, probability = 0.07},
		},
		allow_productivity = true,
	},
-- Iron with Oxygen
-- Outputs less copper plates for faster processing
	{
		type = "recipe",
		name = "ske_cf_iron_oxy",
		category = "vesta-combustion",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/cf_oxy_iron_plate.png",
		enabled = false,
		auto_recycle = false,
		energy_required = 0.25,
		subgroup = "vesta-items-organic",
		order = "b[vesta-organics]-e[algea-iron-4]",
		
		ingredients =
		{
			{ type = "fluid", name =  get_gas_name("vesta_oxygen", "oxygen"), amount = lm_gas(2, 10) },
			{type = "item", name = "iron-ore", amount=1}
		},
		results = 
		{
			{type="item", name="iron-plate", amount=1},
			{type="item", name="iron-plate", amount=1, probability = 0.5}
		},
		allow_productivity = true,
	},
-- Steel with hydrogen
-- Outputs less steel plates for faster processing
	{
		type = "recipe",
		name = "ske_cf_steel_hyd",
		category = "vesta-combustion",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/cf_hyd_steel.png",
		enabled = false,
		auto_recycle = false,
		energy_required = 1,
		subgroup = "vesta-items-organic",
		order = "b[vesta-organics]-e[algea-iron-4]",
		
		ingredients =
		{
			{ type = "fluid", name =  get_gas_name("vesta_hydrogen", "hydrogen"), amount = lm_gas(2, 10) },
			{type = "item", name = "iron-plate", amount=3}
		},
		results = 
		{
			{type="item", name="steel-plate", amount=1},
			{type="item", name="steel-plate", amount=1, probability = 0.75},
			{type="item", name="steel-plate", amount=1, probability = 0.63},
			{type="item", name="steel-plate", amount=1, probability = 0.51},
		},
		allow_productivity = true,
	},
-- Steel with oxygen
-- Outputs less steel plates for faster processing
	{
		type = "recipe",
		name = "ske_cf_steel_oxy",
		category = "vesta-combustion",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/cf_oxy_steel.png",
		enabled = false,
		auto_recycle = false,
		energy_required = 0.25,
		subgroup = "vesta-items-organic",
		order = "b[vesta-organics]-e[algea-iron-4]",
		
		ingredients =
		{
			{ type = "fluid", name =  get_gas_name("vesta_oxygen", "oxygen"), amount = lm_gas(2, 10) },
			{type = "item", name = "iron-plate", amount=2}
		},
		results = 
		{
			{type="item", name="steel-plate", amount=1},
			{type="item", name="steel-plate", amount=1, probability = 0.5}
		},
		allow_productivity = true,
	},
--=============================
-- Other recipes
--=============================
-- Processors from Lithium
	{
		type = "recipe",
		name = "ske-processors-from-lithium",
		category = "magnetizing",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/lithium_processor.png",
		enabled = false,
		energy_required = 1,
		subgroup = "vesta-items-artificial",
		order = "c[vesta-artificial]-d[processing-unit]",
		ingredients =
		{
			{type="item", name="copper-cable", amount=3},
			{type="item", name="iron-plate", amount=2},
			{type="fluid", name="petroleum-gas", amount=10}
		},
		results = 
		{
			{type="item", name="processing-unit", amount=1},
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = true,
	},
-- Crude Solution creation
	{
		type = "recipe",
		name = "ske_crude_solution",
		category = "vesta-zap",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/crude_solution_second.png",
		enabled = false,
		energy_required = 1.5,
		subgroup = "vesta-items-artificial",
		order = "c[vesta-artificial]-a[crude]",
		ingredients =
		{
			{type="fluid", name=get_gas_name("vesta_methane", "methane"), amount=lm_gas(3, 30) },
			{type="fluid", name=get_gas_name("vesta_hydrogen_sulfide", "hydrogen-sulfide"), amount=lm_gas(2, 20) },
			{type="fluid", name=get_gas_name("vesta_carbon_dioxide", "carbon-dioxide"), amount=lm_gas(2, 10) }
		},
		results = 
		{
			{type="fluid", name="heavy-oil", amount=10}
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = true,
	},
-- Oxygenated Rocket Fuel
	{
		type = "recipe",
		name = "ske-rocket-fuel-from-vesta",
		category = "vesta-zap",
		icon_size = 64,
		icon="__skewer_planet_vesta__/graphics/icons/ske-rocket-fuel-from-vesta.png",
		enabled = false,
		energy_required = 1.5,
		subgroup = "vesta-items-artificial",
		order = "c[vesta-artificial]-c[rocket-fuel]",
		ingredients =
		{
			{type="fluid", name= get_gas_name("vesta_oxygen", "oxygen"), amount=lm_gas(2, 10) },
			{type="fluid", name= "lithium-brine", amount=lm_gas(4, 20)},
			{type="fluid", name= get_gas_name("vesta_hydrogen_sulfide", "hydrogen-sulfide"), amount=5}
		},
		results = 
		{
			{type="item", name="rocket-fuel", amount=2},
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = true,
	},
-- Low Density Structure
	{
		type = "recipe",
		name = "ske-lds-from-vesta",
		category = "magnetizing",
		icon_size = 64,
		icon="__skewer_planet_vesta__/graphics/icons/ske-lds-from-vesta.png",
		enabled = false,
		energy_required = 1.5,
		subgroup = "vesta-items-artificial",
		order = "c[vesta-artificial]-c[rocket-fuel]",
		ingredients =
		{
			{type="fluid", name = get_gas_name("vesta_methane", "methane"), amount=40 },
			{type="item", name = "steel-plate", amount=5},
			{type="item", name = "iridium-plate", amount=5 },
		},
		results = 
		{
			{type="item", name="low-density-structure", amount=2},
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = true,
	},
--Supermagnetic conducting fluid
	{
		type = "recipe",
		name = "ske_supermagnetic",
		category = "chemistry-or-cryogenics",
		subgroup = "vesta-gases",
		order = "c[vesta-gases]-c[supercooling-3]",
		icon_size = 64,
		icons={ { icon="__skewer_planet_vesta_assets__/graphics/icons/processes/fluid-super-magnetic.png" } },
		enabled = false,
		energy_required = 1,
		ingredients =
		{
			{type = "fluid", name = "electrolyte", amount = 10}
		},
		results = 
		{
			{type="fluid", name="ske_supermagnetic", amount=10}
		},
		allow_productivity = true,
		auto_recycle= false,
		crafting_machine_tint =
		{
		  primary = {r = 0.500, g = 1.000, b = 1.000, a = 1.000}, -- #fff400ff
		  secondary = {r = 0.19, g = 0.4, b = 0.24, a = 1.000}, -- #ffd92bff
		  tertiary = {r = 0.29, g = 0.5, b = 0.63, a = 1.000}, -- #dfdd98ff
		  quaternary = {r = 0.31, g = 0.68, b = 0.74, a = 1.000}, -- #dfdd98ff
		}
	},
})

if mods["Krastorio2-spaced-out"]
then
data:extend({
-- Algea combustion (Rare Metals) Irritation
	{
		type = "recipe",
		name = "ske_algea_rare_metals_irritation",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/algea_clump_rare_metals.png",
		enabled = false,
		energy_required = 1,
		category = "organic",
		subgroup = "vesta-items-organic",
		order = "a[vesta-organics]-e[algea-rare]",
		ingredients =
		{
			{type = "fluid", name = "deuterium", amount = 10},
			{type = "fluid", name = "ske_algea_water", amount = 10}
		},
		results = 
		{
			{type="item", name="ske_algea_clump_rare_iritated", amount=1}
		},
		crafting_machine_tint =
		{
			primary = {r = 0.20, g = 0.66, b = 0.45, a = 1},
			secondary = {r = 1, g = 0.25, b = 0.15, a = 1},
			tertiary = {r = 0.20, g = 0.66, b = 0.45, a = 1},
			quaternary = {r = 1, g = 0.25, b = 0.15, a = 1},
		},
		allow_quality = false,
		auto_recycle = false,
		allow_productivity = true,
	},
-- Algea combustion (Rare Metals) Activation
	{
		type = "recipe",
		name = "ske_algea_rare_metals_activation",
		category = "vesta-zap",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/processes/algea_rare_extraction.png",
		enabled = false,
		energy_required = 1.25,
		subgroup = "vesta-items-organic",
		order = "b[vesta-organics]-e[algea-rare]",
		ingredients =
		{
			{ type = "fluid", name =  get_gas_name("vesta_helium", "helium"), amount = 10 },
			{type = "item", name = "ske_algea_clump_rare_iritated", amount=1}
		},
		results = 
		{
			{type="item", name="kr-rare-metal-ore", amount=1}
		},
		allow_productivity = true,
	},
})
else
end

data:extend({
	{
		type = "recipe",
		name = "ske_fusion_thruster",
		category = "magnetizing",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/fusion-thruster.png",
		enabled = false,
		energy_required = 5,
		subgroup = "space-platform",
		order = "z[thruster]",
		ingredients =
		{
			{type = "fluid", name = "ske_supermagnetic", amount = 100},
			{type = "item", name = "iridium-plate", amount = 15},
			{type = "item", name = "electric-engine-unit", amount = 5},
			{type = "item", name = "processing-unit", amount = 10},
			{type = "item", name = "pipe", amount = 5},
			{type = "item", name = "ske_magnetic_pipe", amount = 5},
		},
		results = 
		{ 
			{type="item", name="ske_fusion_thruster", amount=1},
			{type = "fluid", name = "electrolyte", amount = 50, ignored_by_stats = 50, ignored_by_productivity = 999},
		},
		allow_productivity = false,
	},
--Fluoroketone Fuel
	{
		type = "recipe",
		name = "fluorofuel",
		category = "chemistry-or-cryogenics",
		subgroup = "vesta-gases",
		order = "c[vesta-gases]-c[supercooling-4]",
		icon_size = 64,
		icon="__skewer_planet_vesta__/graphics/icons/fluoroketonefuel.png",
		enabled = false,
		energy_required = 2.5,
		surface_conditions = {{ property = "gravity", min = 0, max = 0 }},
		ingredients =
		{
			{type = "fluid", name = "fluoroketone-cold", amount = 40},
			{type = "fluid", name = get_gas_name("vesta_oxygen", "oxygen"), amount = 200},
		},
		main_product = "fluorofuel",
		results = 
		{
			{type = "fluid", name = "fluorofuel", amount=200},
			{type = "fluid", name = "fluoroketone-hot", amount = 40, ignored_by_stats = 40, ignored_by_productivity = 999},
		},
		allow_productivity = true,
		auto_recycle= false,
		crafting_machine_tint =
		{
		  primary = {r = 0.07, g = 0.5, b = 0.46, a = 1.000}, -- #fff400ff
		  secondary = {r = 0.85, g = 0.5, b = 0.16, a = 1.000}, -- #ffd92bff
		  tertiary = {r = 1.0, g = 0.75, b = 0.75, a = 1.000}, -- #dfdd98ff
		  quaternary = {r = 0.07, g = 0.5, b = 0.46, a = 1.000}, -- #dfdd98ff
		}
	},
--Plasma Fuel
	{
		type = "recipe",
		name = "plasmafuel",
		category = "cryogenics",
		subgroup = "vesta-gases",
		order = "c[vesta-gases]-c[supercooling-5]",
		icon_size = 64,
		icon="__skewer_planet_vesta__/graphics/icons/plasmafuel.png",
		enabled = false,
		energy_required = 2.5,
		surface_conditions = {{ property = "gravity", min = 0, max = 0 }},
		ingredients =
		{
			{type = "fluid", name = "fusion-plasma", amount = 5},
			{type = "fluid", name = get_gas_name("vesta_hydrogen", "hydrogen"), amount = 400},
		},
		main_product = "plasmafuel",
		results = 
		{
			{type = "fluid", name = "plasmafuel", amount=200},
			{type = "fluid", name = "fluoroketone-hot", amount = 5, ignored_by_stats = 5, ignored_by_productivity = 999},
		},
		allow_productivity = true,
		auto_recycle= false,
		crafting_machine_tint =
		{
		  primary = {r = 0.85, g = 0.16, b = 0.77, a = 1.000}, -- #fff400ff
		  secondary = {r = 1, g = 0.15, b = 0.16, a = 1.000}, -- #ffd92bff
		  tertiary = {r = 1.0, g = 0.4, b = 0.48, a = 1.000}, -- #dfdd98ff
		  quaternary = {r = 0.7, g = 0.75, b = 1, a = 1.000}, -- #dfdd98ff
		}
	},
})
	
if mods["corrundum"]
then
else
data:extend({

-- Hydrogen Sulfide Offworld
	{
		type = "recipe",
		name = "hydrogen-sulfide",
		category = "chemistry",
		icon_size = 64,
		icon="__skewer_planet_vesta_assets__/graphics/icons/gas_hydrogen_sulfide.png",
		enabled = false,
		energy_required = 2,
		subgroup = "vesta-items-artificial",
		order = "a[vesta-artificial]-g[lithium]",
		
		ingredients =
		{
			{type = "item", name = "sulfur", amount = 1},
			{type = "fluid", name = get_gas_name("vesta_hydrogen", "hydrogen"), amount = 10}
		},
		results = 
		{
			{type = "fluid", name = get_gas_name("vesta_hydrogen_sulfide", "hydrogen-sulfide"), amount = 20}
		},
		allow_productivity = true,
		crafting_machine_tint =
		{
		  primary = {r = 0.94, g = 0.71, b = 0.46, a = 1.000},
		  secondary = {r = 1, g = 0, b = 0, a = 1.000},
		  tertiary = {r = 0.72, g = 0.76, b = 0.79, a = 1.000},
		  quaternary = {r = 0.92, g = 0.41, b = 0, a = 1.000},
		}
	},
-- Carbon Dioxide Offworld
	{
		type = "recipe",
		name = "carbon-dioxide",
		category = "chemistry-or-cryogenics",
		icon_size = 64,

    icons = {
      {  icon = "__skewer_planet_vesta_assets__/graphics/icons/gas_carbon_dioxide.png" },
      {  icon = "__base__/graphics/icons/coal.png", scale = 0.24, shift = {-8, -8} }
    },
		enabled = false,
		energy_required = 1.5,
		subgroup = "vesta-items-artificial",
		order = "a[vesta-artificial]-g[lithium]",
		
		ingredients =
		{
			{type = "item", name = "coal", amount = 2},
			{type = "fluid", name = "water", amount = 100}
		},
		results = 
		{
			{type = "fluid", name = get_gas_name("vesta_carbon_dioxide", "carbon-dioxide"), amount = 30}
		},
		allow_productivity = true,
		crafting_machine_tint =
		{
			primary = {r = 0.51, g = 0.23, b = 0.78, a = 1},
			secondary = {r = 0.21, g = 0.21, b = 0.24, a = 1},
			tertiary = {r = 0.21, g = 0.21, b = 0.24, a = 1},
			quaternary = {r = 0.51, g = 0.23, b = 0.78, a = 1},
		},
	},
	{
		type = "recipe",
		name = "carbon-dioxide-2",
		category = "chemistry-or-cryogenics",
		icon_size = 64,
    icons = {
      {  icon = "__skewer_planet_vesta_assets__/graphics/icons/gas_carbon_dioxide.png" },
      {  icon = "__space-age__/graphics/icons/carbon.png", scale = 0.24, shift = {-8, -8} }
    },
		enabled = false,
		energy_required = 1.5,
		subgroup = "vesta-items-artificial",
		order = "a[vesta-artificial]-g[lithium]",
		
		ingredients =
		{
			{type = "item", name = "carbon", amount = 1},
			{type = "fluid", name = "water", amount = 50}
		},
		results = 
		{
			{type = "fluid", name = get_gas_name("vesta_carbon_dioxide", "carbon-dioxide"), amount = 50}
		},
		allow_productivity = true,
		crafting_machine_tint =
		{
			primary = {r = 0.51, g = 0.23, b = 0.78, a = 1},
			secondary = {r = 0.21, g = 0.21, b = 0.24, a = 1},
			tertiary = {r = 0.21, g = 0.21, b = 0.24, a = 1},
			quaternary = {r = 0.51, g = 0.23, b = 0.78, a = 1},
		},
	},
})
end


if mods["multi_surface_promethium_plate_recipe"]
then
data:extend({
    {
        type = "item",
        name = "msppr-vesta-a",
        icon = "__skewer_planet_vesta_assets_2__/graphics/icons/promethium-plate-vesta-1.png",
        subgroup = "msppr",
        order = "d[promethium]-r[nauvis]",
        inventory_move_sound = item_sounds.sulfur_inventory_move,
        pick_sound = item_sounds.resource_inventory_pickup,
        drop_sound = item_sounds.sulfur_inventory_move,
        stack_size = 100,
        weight = 1 * kg,
        random_tint_color = item_tints.ice_blue,
    },
    {
        type = "item",
        name = "msppr-vesta-b",
        icon = "__skewer_planet_vesta_assets_2__/graphics/icons/promethium-plate-vesta-2.png",
        subgroup = "msppr",
        order = "d[promethium]-r[nauvis]",
        inventory_move_sound = item_sounds.sulfur_inventory_move,
        pick_sound = item_sounds.resource_inventory_pickup,
        drop_sound = item_sounds.sulfur_inventory_move,
        stack_size = 100,
        weight = 1 * kg,
        random_tint_color = item_tints.ice_blue,
    },

    {
        type = "recipe",
        name = "msppr-vesta-a",
        icon = "__skewer_planet_vesta_assets_2__/graphics/icons/promethium-plate-vesta-1.png",
        subgroup = "science-pack",
        category = "magnetizing",
		surface_conditions = {{ property = "gasous_atmosphere", min = 100, max = 100 }},
        enabled = false,
        ingredients = {
            { type = "item", name = "iridium-plate", amount = 5 },
            { type = "item", name = "ske_dt_fuel_container", amount = 1 },
            { type = "item", name = "ske_algea_clump_copper", amount = 5 },
            { type = "fluid", name = "ske_supermagnetic", amount = 25 },
        },
        energy_required = 25,
        msppr = {
            result = { type = "item", name = "msppr-vesta-a", amount = 1 },
            recipe_chain_order = "vesta-a",
        },
        results = { { type = "item", name = "msppr-vesta-a", amount = 1 } },
        allow_productivity = false,
        auto_recycle = false,
    },
    {
        type = "recipe",
        name = "msppr-vesta-b",
        icon = "__skewer_planet_vesta_assets_2__/graphics/icons/promethium-plate-vesta-2.png",
        subgroup = "science-pack",
        category = "vesta-zap",
		surface_conditions = {{ property = "gasous_atmosphere", min = 100, max = 100 }},
        enabled = false,
        ingredients = {
			{ type = "fluid", name = get_gas_name("vesta_nitrogen", "nitrogen"), amount = lm_gas(10, 100)},
			{ type = "fluid", name = get_gas_name("vesta_carbon_dioxide", "carbon-dioxide"), amount = lm_gas(10, 100)},
			{ type = "fluid", name = get_gas_name("vesta_hydrogen_sulfide", "hydrogen-sulfide"), amount = lm_gas(10, 100)}
        },
        energy_required = 25,
        msppr = {
            result = { type = "item", name = "msppr-vesta-b", amount = 1 },
            recipe_chain_order = "vesta-b",
        },
        results = { 
			{ type = "item", name = "msppr-vesta-b", amount = 1 },
			},
        allow_productivity = false,
        auto_recycle = false,
    },
})
else
end