From 05bd324175fbbd48d7ca2eb9586c902fd37db9da Mon Sep 17 00:00:00 2001 From: KiwiHawk <59639+KiwiHawk@users.noreply.github.com> Date: Tue, 12 Dec 2023 18:45:33 +1300 Subject: [PATCH] Prerequisites --- SeaBlock/data-updates/algae.lua | 2 +- SeaBlock/data-updates/misc.lua | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/SeaBlock/data-updates/algae.lua b/SeaBlock/data-updates/algae.lua index dfaaa84..566816f 100644 --- a/SeaBlock/data-updates/algae.lua +++ b/SeaBlock/data-updates/algae.lua @@ -22,7 +22,7 @@ bobmods.lib.tech.remove_recipe_unlock("water-treatment-3", "solid-lithium") bobmods.lib.recipe.hide("solid-lithium") -- Move Sodium Carbonate from Brown Algae to Sodium processing -seablock.lib.moveeffect("algae-brown-burning-wash", "bio-processing-green", "sodium-processing-1", nil) +seablock.lib.moveeffect("algae-brown-burning-wash", "bio-processing-green", "sodium-processing-2", nil) -- Move Methanol from Cellulose Fibre to Advanced chemistry 1 seablock.lib.moveeffect("gas-methanol-from-wood", "bio-processing-green", "angels-advanced-chemistry-1", 5) diff --git a/SeaBlock/data-updates/misc.lua b/SeaBlock/data-updates/misc.lua index 63ea934..4738820 100644 --- a/SeaBlock/data-updates/misc.lua +++ b/SeaBlock/data-updates/misc.lua @@ -6,6 +6,7 @@ end -- No natural gas, use methane for manganese pellet smelting seablock.lib.substingredient("pellet-manganese-smelting", "gas-natural-1", "gas-methane") +bobmods.lib.tech.add_prerequisite("angels-manganese-smelting-3", "gas-processing") -- Remove steel's prerequiste on Chemical processing 1 bobmods.lib.tech.remove_prerequisite("steel-processing", "chemical-processing-1") @@ -198,8 +199,9 @@ bobmods.lib.tech.add_prerequisite("geode-crystallization-1", "chemical-science-p if mods["bobrevamp"] and not mods["bobclasses"] then bobmods.lib.tech.add_new_science_pack("rtg", "production-science-pack", 1) bobmods.lib.tech.add_new_science_pack("rtg", "utility-science-pack", 1) - bobmods.lib.tech.add_prerequisite("rtg", "production-science-pack") bobmods.lib.tech.add_prerequisite("rtg", "utility-science-pack") + bobmods.lib.tech.remove_prerequisite("rtg", "angels-coal-processing-3") + bobmods.lib.tech.add_prerequisite("rtg", "sodium-processing-2") end if mods["cargo-ships"] then