From f142ce0ea34f3cb010f1a4e8297fbb4c517c71e1 Mon Sep 17 00:00:00 2001 From: KiwiHawk <59639+KiwiHawk@users.noreply.github.com> Date: Tue, 12 Dec 2023 16:43:05 +1300 Subject: [PATCH] Tidy up hand crafting --- SeaBlock/data-updates/algae.lua | 1 - SeaBlock/data-updates/coal.lua | 2 ++ SeaBlock/prototypes/recipe.lua | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/SeaBlock/data-updates/algae.lua b/SeaBlock/data-updates/algae.lua index f5578fc..dfaaa84 100644 --- a/SeaBlock/data-updates/algae.lua +++ b/SeaBlock/data-updates/algae.lua @@ -48,7 +48,6 @@ bobmods.lib.recipe.set_category("alien-bacteria", "bio-processing-3") bobmods.lib.recipe.set_category("solid-alginic-acid", "crafting") -- Fix handcrafting trying to use wrong crafting path -data.raw.recipe["cellulose-fiber-algae"].allow_as_intermediate = false data.raw.recipe["cellulose-fiber-raw-wood"].allow_as_intermediate = false -- Speed up algae->cellulose fiber crafting diff --git a/SeaBlock/data-updates/coal.lua b/SeaBlock/data-updates/coal.lua index bd5e160..fdbcb85 100644 --- a/SeaBlock/data-updates/coal.lua +++ b/SeaBlock/data-updates/coal.lua @@ -19,6 +19,8 @@ end -- Disable coal cracking technology seablock.lib.hide_technology("angels-coal-cracking") seablock.lib.moveeffect("pellet-coke", "angels-coal-cracking", "angels-coal-processing-2") +angelsmods.functions.move_item("pellet-coke", "bio-processing-wood", "f[pellet-coke]") +angelsmods.functions.move_item("pellet-coke", "bio-processing-wood", "f[pellet-coke]", "recipe") -- Clear fuel value so these don't appear in Helmod's fuel picker data.raw.item["carbon"].fuel_emissions_multiplier = nil diff --git a/SeaBlock/prototypes/recipe.lua b/SeaBlock/prototypes/recipe.lua index b154ff0..0145a4e 100644 --- a/SeaBlock/prototypes/recipe.lua +++ b/SeaBlock/prototypes/recipe.lua @@ -8,7 +8,7 @@ data:extend({ ingredients = { { "wood-bricks", 1 } }, result = "wood-charcoal", result_count = 5, - subgroup = "petrochem-coal", + subgroup = "bio-processing-wood", }, { type = "recipe",