--require("__skewer_planet_vesta__/prototypes/modified_technologies.lua")
local function get_gas_name(name, alternative)
  if settings.startup["ske_vesta_gases"].value then
    return name
  else
    return alternative
  end
end
data:extend({
--Unlock the Planet
  {
    type = "technology",
    name = "planet-discovery-vesta",
    icons = util.technology_icon_constant_planet("__skewer_planet_vesta_assets_2__/graphics/technology/vesta.png"),
    icon_size = 256,
    essential = true,
    effects =
    {
		{ type = "unlock-space-location", space_location = "vesta", use_icon_overlay_constant = true },
		{ type = "unlock-recipe", recipe = "ske_liquid_nitrogen" },
		{ type = "unlock-recipe", recipe = "sand" },
    },
    prerequisites = {"cryogenic-science-pack", "fusion-reactor", "biochamber" },
    unit =
    {
      count = 1500,
      ingredients =
		{
			{"automation-science-pack", 1},
			{"logistic-science-pack", 1},
			{"chemical-science-pack", 1},
			{"military-science-pack", 1},
			{"utility-science-pack", 1},
			{"space-science-pack", 1},
			{"cryogenic-science-pack", 1},
		},
      time = 75
    }
  }, 
  
--===================================================---
--========== Techs exclusive to the Planet ==========---
--===================================================---
-- Stage 1, Gas giant platform
  {
    type = "technology",
    name = "ske_gas_giant_platform",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/gas-giant-platform.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "vesta-foundation" },
    },
    prerequisites = {"s1_algea_filtering" },
    research_trigger =
    {
		type = "craft-item",
		item = "ceramic",
		count = 50
    }
  },
-- Stage 1, Algea; a new way to cultivate resources
  {
    type = "technology",
    name = "s1_algea_culturing",
    icon = "__skewer_planet_vesta_assets__/graphics/technology/algea_culturing.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "vesta-combustion-furnace" },
		{ type = "unlock-recipe", recipe = "ske_coal_mineralization" },
		{ type = "unlock-recipe", recipe = "ske_algea_clump_stonite" },
		{ type = "unlock-recipe", recipe = "ske-algea-stone-electrolysis" },
    },
    prerequisites = {"ske_working_with_gases" },
    research_trigger =
    {
      type = "craft-fluid",
      fluid = "ske_algea_water",
      count = 15000
    }
  },
  {
    type = "technology",
    name = "s1_nutrients_from_co2",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/nutrients-from-co2.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "nutrients-from-co2" },
    },
    prerequisites = {"ske_working_with_gases" },
    research_trigger =
    {
      type = "craft-fluid",
      fluid = get_gas_name("vesta_carbon", "carbon-gas"),
      count = 15000
    }
  },
-- Calcized Smelting
  {
    type = "technology",
    name = "s1_cluster_processing",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/cluster-processing.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "calcized-iron-plate" },
		{ type = "unlock-recipe", recipe = "calcized-copper-plate" },
    },
    prerequisites = {"ske_working_with_gases" },
    research_trigger =
    {
      type = "mine-entity",
      entity = "vesta_rock_huge"
    }
  },
  {
    type = "technology",
    name = "s1_vestan_char",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/vestan-char.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_charcoal" },
    },
    prerequisites = {"ske_working_with_gases" },
    research_trigger =
    {
      type = "craft-item",
      item = "carbon",
      count = 50
    }
  },
  {
    type = "technology",
    name = "s1_sandceramicmesh",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/sand-ceramic-mesh.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ceramic" },
		{ type = "unlock-recipe", recipe = "ske_mesh" },
    },
    prerequisites = {"ske_working_with_gases" },
    research_trigger =
    {
      type = "craft-item",
      item = "sand",
      count = 25
    }
  },
  {
    type = "technology",
    name = "s1_algea_filtering",
    icon = "__skewer_planet_vesta_assets__/graphics/technology/filter.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_water_filter" },
		{ type = "unlock-recipe", recipe = "ske_algea_clump" },
		{ type = "unlock-recipe", recipe = "ske_co2_filter_carbon" },
		{ type = "unlock-recipe", recipe = "ske_co2_filter_oxygen" },
    },
    prerequisites = {"s1_vestan_char", "s1_sandceramicmesh" },
    research_trigger =
    {
      type = "craft-item",
      item = "ske_charcoal",
      count = 32
    }
  },
  {
    type = "technology",
    name = "s1_brine",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/brine-processing.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_brine_vesta" },
    },
    prerequisites = {"ske_working_with_gases" },
    research_trigger =
    {
      type = "craft-item",
      item = "ske_algea_clump",
      count = 100
    }
  },
  {
    type = "technology",
    name = "s1_algea_filtering_2",
    icon = "__skewer_planet_vesta_assets__/graphics/technology/algea_filter.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_algea_filter_cleaning" },
    },
    prerequisites = {"s1_algea_filtering" },
    research_trigger =
    {
      type = "craft-item",
      item = "ske_algea_filter",
      count = 10
    }
  },
  {
    type = "technology",
    name = "s1_algea_treatment",
    icon = "__skewer_planet_vesta_assets__/graphics/technology/CombustionFurnace_manual.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "vesta-electrolyzer" },
		{ type = "unlock-recipe", recipe = "ske_algea_clump_iron" },
		{ type = "unlock-recipe", recipe = "ske_algea_iron_extraction" },
		{ type = "unlock-recipe", recipe = "ske_algea_steel_extraction" },
		{ type = "unlock-recipe", recipe = "ske_algea_clump_copper" },
		{ type = "unlock-recipe", recipe = "ske_algea_copper_extraction" },
		{ type = "unlock-recipe", recipe = "ske_algea_clump_petrite" },
		{ type = "unlock-recipe", recipe = "ske_algea_petrite_extraction" },
    },
    prerequisites = {"s1_algea_culturing" },
    research_trigger =
    {
      type = "craft-item",
      item = "vesta-combustion-furnace",
      count = 1
    }
  },
-- Ammonia Chilled Plates
  {
    type = "technology",
    name = "s1_ammonia_chilled_plate",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/ammonia-chilled-plates-2.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_ammonia_chilled_plate" },
    },
    prerequisites = {"s1_algea_treatment" },
    research_trigger =
    {
      type = "craft-fluid",
      fluid = "ammonia",
      count = 16000
    }
  },
-- Electrolysis
  {
    type = "technology",
    name = "s1_electrolysis",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/Electrolyzer.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "supermagnet" },
		{ type = "unlock-recipe", recipe = "ske_heavy_solution" },
		{ type = "unlock-recipe", recipe = "ske_vesta_electrolyte" },
		{ type = "unlock-recipe", recipe = "vesta-sulfur" },
    },
    prerequisites = {"s1_algea_treatment", "s1_ammonia_chilled_plate" },
    research_trigger =
    {
      type = "craft-item",
      item = "vesta-electrolyzer",
      count = 1
    }
  },
-- Exotic algae
  {
    type = "technology",
    name = "s1_exotic_algae",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/exotic-algae.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_algea_clump_tritium" },
		{ type = "unlock-recipe", recipe = "ske_algea_clump_agitated" },
		{ type = "unlock-recipe", recipe = "ske_algea_clump_iritite" },
		{ type = "unlock-recipe", recipe = "ske_algea_clump_iridium" },
		{ type = "unlock-recipe", recipe = "ske_algea_clump_rare" },
		{ type = "unlock-recipe", recipe = "ske_algea_clump_holmium" },
		{ type = "unlock-recipe", recipe = "ske_algea_rare_holmium_treatment" },
    },
    prerequisites = {"s1_electrolysis" },
    research_trigger =
    {
      type = "craft-item",
      item = "ske_algea_clump_rare",
      count = 256
    }
  },
-- Iridium Plate
  {
    type = "technology",
    name = "s1_iridium_plate",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/iridium-plates-2.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "iridium-plate" },
    },
    prerequisites = {"s1_electrolysis", "s1_exotic_algae" },
    research_trigger =
    {
      type = "craft-item",
      item = "ske_algea_clump_iridium",
      count = 32
    }
  },
-- Vesta Heating Conductor
  {
    type = "technology",
    name = "ske_heating_conductor",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/heating-conductor.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "vesta-heater" },
    },
    prerequisites = {"s1_brine", "s1_ammonia_chilled_plate" },
    research_trigger =
    {
      type = "craft-fluid",
      fluid = "ske_brine",
      count = 15000
    }
  },
-- Tritium and Deuterium production
  {
    type = "technology",
    name = "s1_t2d2",
    icon = "__skewer_planet_vesta_assets__/graphics/technology/tritium_deuterium_production.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_lithium" },
		{ type = "unlock-recipe", recipe = "ske_heavy_water" },
    },
    prerequisites = {"ske_heating_conductor" },
    research_trigger =
    {
      type = "craft-item",
      item = "vesta-heater",
      count = 1
    }
  },
-- Hot Lithium production
  {
    type = "technology",
    name = "hot-lithium-production",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/hot-lithium-production.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_hot_lithium" },
    },
    prerequisites = {"s1_t2d2" },
    research_trigger =
    {
      type = "craft-fluid",
      fluid = "ske_lithium",
      count = 16000
    }
  },
-- Tritium production
  {
    type = "technology",
    name = "tritium-production",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/tritium-production.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "tritium" },
    },
    prerequisites = {"hot-lithium-production" },
    research_trigger =
    {
      type = "craft-fluid",
      fluid = "ske_hot_lithium",
      count = 16000
    }
  },
-- Hot Heavy Water production
  {
    type = "technology",
    name = "hot-heavy-water-production",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/hot-heavy-water.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_hot_heavy_water" },
    },
    prerequisites = {"s1_t2d2" },
    research_trigger =
    {
      type = "craft-fluid",
      fluid = "ske_heavy_water",
      count = 16000
    }
  },
-- Deuterium production
  {
    type = "technology",
    name = "deuterium-production",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/deuterium-production.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "deuterium" },
    },
    prerequisites = {"hot-heavy-water-production" },
    research_trigger =
    {
      type = "craft-fluid",
      fluid = "ske_hot_heavy_water",
      count = 16000
    }
  },
-- The Supermagnet!
  {
    type = "technology",
    name = "s1_supermagnet",
    icon = "__skewer_planet_vesta_assets__/graphics/technology/supermagnet.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_supermagnetic" },
		{ type = "unlock-recipe", recipe = "ske_crude_solution" },
		{ type = "unlock-recipe", recipe = "ske_crude_sludge" },
		{ type = "unlock-recipe", recipe = "ske_crude_oil" },
		{ type = "unlock-recipe", recipe = "ske-rocket-fuel-from-vesta" },
		{ type = "unlock-recipe", recipe = "ske-lds-from-vesta" },
    },
    prerequisites = {"s1_electrolysis", "s1_iridium_plate", "deuterium-production", "tritium-production" },
    research_trigger =
    {
      type = "craft-item",
      item = "supermagnet",
      count = 1
    }
  },
  {
    type = "technology",
    name = "s1_gas_manipulation_science_pack",
    prerequisites = {"s1_supermagnet"},
    icon = "__skewer_planet_vesta_assets__/graphics/technology/gas-manipulation-science-pack.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "gas-manipulation-science-pack" },
    },
    research_trigger =
    {
      type = "craft-fluid",
      fluid = "deuterium",
      count = 64000
    }
  },
-- DT Fuel
  {
    type = "technology",
    name = "dt-fuel",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/dt-fuel.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_empty_dt_canister" },
		{ type = "unlock-recipe", recipe = "ske_dt_fuel" },
		{ type = "unlock-recipe", recipe = "ske_dt_fuel_cell" },
    },
    prerequisites = {"s1_gas_manipulation_science_pack" },
	unit =
	{
		count = 1250,
     ingredients =
		{
        {"automation-science-pack", 1},
        {"logistic-science-pack", 1},
        {"chemical-science-pack", 1},
        {"production-science-pack", 1},
        {"utility-science-pack", 1},
        {"space-science-pack", 1},
        {"electromagnetic-science-pack", 1},
        {"cryogenic-science-pack", 1},
        {"gas-manipulation-science-pack", 1}
		},
		time = 120
	}
  },
-- Rewards
-- Fusion Robots
  {
    type = "technology",
    name = "s2_fusion_robots",
    icon = "__skewer_planet_vesta_assets__/graphics/technology/fusion_robotics.png",
    icon_size = 128,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_heavy_solution_lubricant" },
		{ type = "unlock-recipe", recipe = "ske_fusion_framework" },
		{ type = "unlock-recipe", recipe = "fusion-construction-robot" },
		{ type = "unlock-recipe", recipe = "fusion-logistic-robot" },
--		{ type = "unlock-recipe", recipe = "ske_algea_zapping_exotic" },
    },
    prerequisites = {"s1_gas_manipulation_science_pack", "dt-fuel" },
	unit =
	{
		count = 2500,
     ingredients =
		{
        {"automation-science-pack", 1},
        {"logistic-science-pack", 1},
        {"chemical-science-pack", 1},
        {"production-science-pack", 1},
        {"utility-science-pack", 1},
        {"space-science-pack", 1},
        {"electromagnetic-science-pack", 1},
        {"cryogenic-science-pack", 1},
        {"gas-manipulation-science-pack", 1}
		},
		time = 120
	}
  },
-- Plasma Pipes
  {
    type = "technology",
    name = "s2_plasma_pipes",
    icon = "__skewer_planet_vesta_assets__/graphics/technology/plasma_handling.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_magnetic_pipe" },
--		{ type = "unlock-recipe", recipe = "ske_algea_zapping_exotic" },
    },
    prerequisites = {"s1_gas_manipulation_science_pack" },
	unit =
	{
		count = 1500,
     ingredients =
		{
        {"automation-science-pack", 1},
        {"logistic-science-pack", 1},
        {"chemical-science-pack", 1},
        {"production-science-pack", 1},
        {"utility-science-pack", 1},
        {"space-science-pack", 1},
        {"electromagnetic-science-pack", 1},
        {"cryogenic-science-pack", 1},
        {"gas-manipulation-science-pack", 1}
		},
		time = 120
	}
  },
-- Increase belt stacking by one
  {
    type = "technology",
    name = "s2_transport-belt-capacity-vesta",
    localised_description = {"technology-description.belt-capacity"},
    icons = util.technology_icon_constant_stack_size("__space-age__/graphics/technology/transport-belt-capacity.png"),
    effects =
    {
      {
        type = "belt-stack-size-bonus",
        modifier = 1
      },
      {
        type = "inserter-stack-size-bonus",
        modifier = 1
      }
    },
    prerequisites = {"transport-belt-capacity-2", "s1_gas_manipulation_science_pack"},
    unit =
    {
      count = 5000,
      ingredients =
      {
        {"automation-science-pack", 1},
        {"logistic-science-pack", 1},
        {"chemical-science-pack", 1},
        {"production-science-pack", 1},
        {"utility-science-pack", 1},
        {"space-science-pack", 1},
        {"agricultural-science-pack", 1},
        {"gas-manipulation-science-pack", 1}
      },
      time = 180
    },
    upgrade = true
  },
-- Increase worker robot storage capacity by 1
  {
    type = "technology",
    name = "s2_worker-robots-storage-vesta",
    icons = util.technology_icon_constant_capacity("__base__/graphics/technology/worker-robots-storage.png"),
    effects =
    {
      {
        type = "worker-robot-storage",
        modifier = 1
      }
    },
    prerequisites = {"worker-robots-storage-3", "s1_gas_manipulation_science_pack"},
    unit =
    {
      count = 2500,
      ingredients =
      {
        {"automation-science-pack", 1},
        {"logistic-science-pack", 1},
        {"chemical-science-pack", 1},
        {"production-science-pack", 1},
        {"utility-science-pack", 1},
        {"space-science-pack", 1},
        {"agricultural-science-pack", 1},
        {"gas-manipulation-science-pack", 1}
      },
      time = 180
    },
    upgrade = true
  },
-- Plate processing for offworld
  {
    type = "technology",
    name = "s2_plateworkings",
    icon = "__skewer_planet_vesta_assets__/graphics/technology/plate_combustion.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_water_electrolysis" },
		{ type = "unlock-recipe", recipe = "ske_cf_copper_hyd" },
		{ type = "unlock-recipe", recipe = "ske_cf_copper_oxy" },
		{ type = "unlock-recipe", recipe = "ske_cf_iron_hyd" },
		{ type = "unlock-recipe", recipe = "ske_cf_iron_oxy" },
		{ type = "unlock-recipe", recipe = "ske_cf_steel_hyd" },
		{ type = "unlock-recipe", recipe = "ske_cf_steel_oxy" },
    },
    prerequisites = {"s1_gas_manipulation_science_pack" },
	unit =
	{
	count = 2000,
	ingredients =
		{
        {"automation-science-pack", 1},
        {"logistic-science-pack", 1},
        {"chemical-science-pack", 1},
        {"production-science-pack", 1},
        {"utility-science-pack", 1},
        {"electromagnetic-science-pack", 1},
        {"gas-manipulation-science-pack", 1}
		},
		time = 60
	}
  },
  
-- Stage 2, Noble Gases
--	{
--    type = "technology",
--    name = "s2_noblegases",
--    icon = "__skewer_planet_vesta_assets__/graphics/technology/noble_gas_production.png",
--    icon_size = 256,
--    effects =
--    {
--		{ type = "unlock-recipe", recipe = "ske_liquid_nitrogen_cooling" },
--		{ type = "unlock-recipe", recipe = "ske_xenon_seperation" },
--		{ type = "unlock-recipe", recipe = "ske_noble_gas_seperation" },
--		{ type = "unlock-recipe", recipe = "ske_helium_loop" },
--		{ type = "unlock-recipe", recipe = "ske_helium_capsule" },
--		{ type = "unlock-recipe", recipe = "ske_xenon_capsule" },
--    },
--    prerequisites = {"s1_supermagnet"},
--    unit =
--    {
--      count = 1000,
--     ingredients =
--		{
--			{"ske_heu_science_pack", 1},
--			{"ske_hep_science_pack", 1},
--			{"ske_hea_science_pack", 1}
--		},
--		time = 120
--	}
--  },
--	{
--	type = "technology",
--	name = "noble_gas_productivity",
--	icon = "__skewer_planet_vesta_assets__/graphics/technology/noble_gas_productivity.png",
--	icon_size = 256,
--	effects =
--	{
--		{ type = "change-recipe-productivity", recipe = "ske_xenon_seperation", change = 0.1 },
--		{ type = "change-recipe-productivity", recipe = "ske_noble_gas_seperation", change = 0.1 },
--		{ type = "change-recipe-productivity", recipe = "ske_helium_loop", change = 0.1 },
--	},
--	prerequisites = { "s2_noblegases" },
--	unit =
--		{
--		count_formula = "1.5^L*250",      
--		ingredients =
--		{
--			{"ske_heu_science_pack", 1},
--			{"ske_hep_science_pack", 1},
--			{"ske_hea_science_pack", 1},
--			{"ske_hec_science_pack", 1},
--			{"ske_hef_science_pack", 1}
--		},
--		time = 60
--		},
--	max_level = "infinite",
--	upgrade = true
--	},
})
if mods["vanilla_galore_continued"] and mods["space_age_galore"]
then
data:extend({
	{
	type = "technology",
	name = "s2_intermediate_productivity",
	icon = "__skewer_planet_vesta_assets__/graphics/technology/intermediate_productivity.png",
	icon_size = 256,
	effects =
	{
		{ type = "change-recipe-productivity", recipe = "iron-gear-wheel", change = 0.1 },
		{ type = "change-recipe-productivity", recipe = "iron-stick", change = 0.1 },
		{ type = "change-recipe-productivity", recipe = "copper-cable", change = 0.1 },
		{ type = "change-recipe-productivity", recipe = "casting-iron-stick", change = 0.1 },
		{ type = "change-recipe-productivity", recipe = "casting-iron-gear-wheel", change = 0.1 },
-- Space Age Galore and Vanilla Galore)
		{ type = "change-recipe-productivity", recipe = "vgal-steel-plate-iron-gear-wheel", change = 0.1 },
		{ type = "change-recipe-productivity", recipe = "vgal-steel-plate-iron-stick", change = 0.1 },
		{ type = "change-recipe-productivity", recipe = "vgal-holmium-solution-copper-cable", change = 0.1 },
	},
	prerequisites = { "s1_gas_manipulation_science_pack" },
	unit =
		{
		count_formula = "1.5^L*2500",      
		ingredients =
		{
        {"automation-science-pack", 1},
        {"logistic-science-pack", 1},
        {"chemical-science-pack", 1},
        {"production-science-pack", 1},
        {"gas-manipulation-science-pack", 1}
		},
		time = 60
		},
	max_level = "infinite",
	upgrade = true
	},
})
else
data:extend({
	{
	type = "technology",
	name = "s2_intermediate_productivity",
	icon = "__skewer_planet_vesta_assets__/graphics/technology/intermediate_productivity.png",
	icon_size = 256,
	effects =
	{
		{ type = "change-recipe-productivity", recipe = "iron-gear-wheel", change = 0.1 },
		{ type = "change-recipe-productivity", recipe = "iron-stick", change = 0.1 },
		{ type = "change-recipe-productivity", recipe = "copper-cable", change = 0.1 },
		{ type = "change-recipe-productivity", recipe = "casting-iron-stick", change = 0.1 },
		{ type = "change-recipe-productivity", recipe = "casting-iron-gear-wheel", change = 0.1 },
	},
	prerequisites = { "s1_gas_manipulation_science_pack" },
	unit =
		{
		count_formula = "1.5^L*2500",      
		ingredients =
		{
        {"automation-science-pack", 1},
        {"logistic-science-pack", 1},
        {"chemical-science-pack", 1},
        {"production-science-pack", 1},
        {"gas-manipulation-science-pack", 1}
		},
		time = 60
		},
	max_level = "infinite",
	upgrade = true
	},
})
end

-- Krastorio 2 Spaced Out Rare Metals Algea
if mods["Krastorio2-spaced-out"]
then
data:extend({
	{
		type = "technology",
		name = "s1_algea_rare_metals",
		icon = "__skewer_planet_vesta_assets__/graphics/technology/rare_metals_algea.png",
		icon_size = 128,
		effects =
		{
			{ type = "unlock-recipe", recipe = "ske_algea_rare_metals_irritation" },
			{ type = "unlock-recipe", recipe = "ske_algea_rare_metals_activation" },
			{ type = "unlock-recipe", recipe = "ske_algea_rare_metals_extraction" },
		},
		prerequisites = { "s1_gas_manipulation_science_pack" },
		research_trigger =
		{
		  type = "craft-item",
		  item = "ske_algea_clump_rare",
		  count = 250
		}
	},
})
else
end

data:extend({
  {
    type = "technology",
    name = "ske_fusion_thruster",
    prerequisites = {"s2_plasma_pipes" },
    icon = "__skewer_planet_vesta_assets__/graphics/technology/fusion-thruster.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_fusion_thruster" },
		{ type = "unlock-recipe", recipe = "fluorofuel" },
		{ type = "unlock-recipe", recipe = "plasmafuel" },
    },
	unit =
	{
	count = 2000,
	ingredients =
		{
        {"automation-science-pack", 1},
        {"logistic-science-pack", 1},
        {"chemical-science-pack", 1},
        {"production-science-pack", 1},
        {"utility-science-pack", 1},
        {"electromagnetic-science-pack", 1},
        {"gas-manipulation-science-pack", 1}
		},
		time = 90
	}
  },
  {
    type = "technology",
    name = "fusion-missile",
    prerequisites = {"s2_plasma_pipes" },
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/fusion-missile.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "fusion-missile" },
    },
	unit =
	{
	count = 1000,
	ingredients =
		{
        {"automation-science-pack", 1},
        {"logistic-science-pack", 1},
        {"chemical-science-pack", 1},
        {"production-science-pack", 1},
        {"utility-science-pack", 1},
        {"electromagnetic-science-pack", 1},
        {"gas-manipulation-science-pack", 1}
		},
		time = 90
	}
  },
})


if settings.startup["ske_realistic_gases"].value then
data:extend({
  {
    type = "technology",
    name = "ske_working_with_gases",
    prerequisites = {"planet-discovery-vesta" },
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/working-with-gases-realistic.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_h2o" },
		{ type = "unlock-recipe", recipe = "ske_carbon_seperation" },
		{ type = "unlock-recipe", recipe = "ske_carbon_super_cooling" },
		{ type = "unlock-recipe", recipe = "ske_ammonia_vesta" },
		{ type = "unlock-recipe", recipe = "ske_algea_water" },
    },
    research_trigger =
    {
      type = "craft-fluid",
      fluid = "ske_liquid_nitrogen",
      count = 5000
    }
  },
})
else
data:extend({
  {
    type = "technology",
    name = "ske_working_with_gases",
    prerequisites = {"planet-discovery-vesta" },
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/working-with-gases-colorful.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "ske_h2o" },
		{ type = "unlock-recipe", recipe = "ske_carbon_seperation" },
		{ type = "unlock-recipe", recipe = "ske_carbon_super_cooling" },
		{ type = "unlock-recipe", recipe = "ske_ammonia_vesta" },
		{ type = "unlock-recipe", recipe = "ske_algea_water" },
    },
    research_trigger =
    {
      type = "craft-fluid",
      fluid = "ske_liquid_nitrogen",
      count = 5000
    }
  },
})
end

if mods["corrundum"]
then
else
data:extend({
-- Hydrogen Sulfide processing for offworld
  {
    type = "technology",
    name = "hydrogen-sulfide",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/hydrogen-sulfide.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "hydrogen-sulfide" },
    },
    prerequisites = {"s1_gas_manipulation_science_pack" },
	unit =
	{
	count = 2000,
	ingredients =
		{
        {"automation-science-pack", 1},
        {"logistic-science-pack", 1},
        {"chemical-science-pack", 1},
        {"production-science-pack", 1},
        {"utility-science-pack", 1},
        {"electromagnetic-science-pack", 1},
        {"gas-manipulation-science-pack", 1}
		},
		time = 60
	}
  },
-- Carbon Dioxide processing for offworld
  {
    type = "technology",
    name = "carbon-dioxide",
    icon = "__skewer_planet_vesta_assets_2__/graphics/technology/carbon-dioxide-production.png",
    icon_size = 256,
    effects =
    {
		{ type = "unlock-recipe", recipe = "carbon-dioxide" },
		{ type = "unlock-recipe", recipe = "carbon-dioxide-2" },
    },
    prerequisites = {"s1_gas_manipulation_science_pack" },
	unit =
	{
	count = 1500,
	ingredients =
		{
        {"automation-science-pack", 1},
        {"logistic-science-pack", 1},
        {"chemical-science-pack", 1},
        {"production-science-pack", 1},
        {"utility-science-pack", 1},
        {"electromagnetic-science-pack", 1},
        {"gas-manipulation-science-pack", 1}
		},
		time = 30
	}
  },
})
end