From 0e189bc7dc3b1af18088d61f94abba1697979ac2 Mon Sep 17 00:00:00 2001 From: KiwiHawk <59639+KiwiHawk@users.noreply.github.com> Date: Sun, 26 May 2024 20:05:02 +1200 Subject: [PATCH] (Advanced) Gas Refinery Crafting Category #988 --- angelspetrochem/changelog.txt | 5 +++++ angelspetrochem/info.json | 2 +- .../prototypes/buildings/advanced-gas-refinery.lua | 8 ++++---- angelspetrochem/prototypes/petrochem-category.lua | 4 ++++ angelspetrochem/prototypes/recipes/petrochem-carbons.lua | 6 +++--- 5 files changed, 17 insertions(+), 8 deletions(-) diff --git a/angelspetrochem/changelog.txt b/angelspetrochem/changelog.txt index 2741948d2..d62acf70b 100644 --- a/angelspetrochem/changelog.txt +++ b/angelspetrochem/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.9.27 +Date: ??? + Changes: + - Added separate crafting categories for Gas Refinery and Advanced Gas Refinery (988) +--------------------------------------------------------------------------------------------------- Version: 0.9.26 Date: 21.02.2024 Changes: diff --git a/angelspetrochem/info.json b/angelspetrochem/info.json index 843c9265b..f59faa818 100644 --- a/angelspetrochem/info.json +++ b/angelspetrochem/info.json @@ -1,6 +1,6 @@ { "name": "angelspetrochem", - "version": "0.9.26", + "version": "0.9.27", "factorio_version": "1.1", "title": "Angel's Petrochemical Processing", "author": "Arch666Angel", diff --git a/angelspetrochem/prototypes/buildings/advanced-gas-refinery.lua b/angelspetrochem/prototypes/buildings/advanced-gas-refinery.lua index e4e645430..00edac77d 100644 --- a/angelspetrochem/prototypes/buildings/advanced-gas-refinery.lua +++ b/angelspetrochem/prototypes/buildings/advanced-gas-refinery.lua @@ -39,7 +39,7 @@ data:extend({ module_slots = 2, }, allowed_effects = { "consumption", "speed", "productivity", "pollution" }, - crafting_categories = { "gas-refining" }, + crafting_categories = { "advanced-gas-refining" }, crafting_speed = 1, energy_source = { type = "electric", @@ -547,7 +547,7 @@ data:extend({ module_slots = 2, }, allowed_effects = { "consumption", "speed", "productivity", "pollution" }, - crafting_categories = { "gas-refining" }, + crafting_categories = { "advanced-gas-refining" }, crafting_speed = 1.5, energy_source = { type = "electric", @@ -1055,7 +1055,7 @@ data:extend({ module_slots = 2, }, allowed_effects = { "consumption", "speed", "productivity", "pollution" }, - crafting_categories = { "gas-refining" }, + crafting_categories = { "advanced-gas-refining" }, crafting_speed = 2, energy_source = { type = "electric", @@ -1562,7 +1562,7 @@ data:extend({ module_slots = 2, }, allowed_effects = { "consumption", "speed", "productivity", "pollution" }, - crafting_categories = { "gas-refining" }, + crafting_categories = { "advanced-gas-refining" }, crafting_speed = 2.5, energy_source = { type = "electric", diff --git a/angelspetrochem/prototypes/petrochem-category.lua b/angelspetrochem/prototypes/petrochem-category.lua index 2345cff80..b3f4b9151 100644 --- a/angelspetrochem/prototypes/petrochem-category.lua +++ b/angelspetrochem/prototypes/petrochem-category.lua @@ -8,6 +8,10 @@ data:extend({ type = "recipe-category", name = "gas-refining", }, + { + type = "recipe-category", + name = "advanced-gas-refining", + }, { type = "recipe-category", name = "steam-cracking", diff --git a/angelspetrochem/prototypes/recipes/petrochem-carbons.lua b/angelspetrochem/prototypes/recipes/petrochem-carbons.lua index 1bc7c9f94..5a01bf78b 100644 --- a/angelspetrochem/prototypes/recipes/petrochem-carbons.lua +++ b/angelspetrochem/prototypes/recipes/petrochem-carbons.lua @@ -92,7 +92,7 @@ data:extend({ { type = "recipe", name = "gas-fractioning-synthesis", - category = "gas-refining", + category = "advanced-gas-refining", subgroup = "petrochem-carbon-gas-feed", energy_required = 6, enabled = false, @@ -124,7 +124,7 @@ data:extend({ { type = "recipe", name = "gas-fractioning-condensates", - category = "gas-refining", + category = "advanced-gas-refining", subgroup = "petrochem-carbon-gas-feed", energy_required = 6, enabled = false, @@ -156,7 +156,7 @@ data:extend({ { type = "recipe", name = "gas-fractioning-residual", - category = "gas-refining", + category = "advanced-gas-refining", subgroup = "petrochem-carbon-gas-feed", energy_required = 6, enabled = false,