From 2a8ccfe6a314a3c8b938250f36dc749fff47ad34 Mon Sep 17 00:00:00 2001 From: KiwiHawk <59639+KiwiHawk@users.noreply.github.com> Date: Tue, 21 May 2024 22:02:30 +1200 Subject: [PATCH] Hide steam science pack #986 Steam science pack is being removed from all techs. No reason to keep it around. --- angelsindustries/changelog.txt | 1 + angelsindustries/prototypes/overrides/tech-mod-update.lua | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/angelsindustries/changelog.txt b/angelsindustries/changelog.txt index b8d194da8..f4d7f704a 100644 --- a/angelsindustries/changelog.txt +++ b/angelsindustries/changelog.txt @@ -4,6 +4,7 @@ Date: ??? Changes: - Added item description to Gravitational analyzer (984) - Adjusted the recipes and science packs for Bob's Assembling Machines when Components or Technology Overhauls are enabled (985) + - Tech Overhaul: Hid Steam science pack from Bob's Technology mod (986) Bugfixes: - Fixed potential softlock with Tech Overhaul and Bob's Technology mod (986) --------------------------------------------------------------------------------------------------- diff --git a/angelsindustries/prototypes/overrides/tech-mod-update.lua b/angelsindustries/prototypes/overrides/tech-mod-update.lua index b7380215b..0cb65c1c5 100644 --- a/angelsindustries/prototypes/overrides/tech-mod-update.lua +++ b/angelsindustries/prototypes/overrides/tech-mod-update.lua @@ -19,11 +19,9 @@ if angelsmods.industries.tech then angelsmods.functions.add_flag("burner-lab", "hidden") OV.global_replace_item("lab", "angels-basic-lab") - -- Allow steam science in basic lab - local lab = data.raw.lab["angels-basic-lab"] - if lab then - table.insert(lab.inputs, 1, "steam-science-pack") - end + -- hide steam science pack + OV.disable_recipe("steam-science-pack") + angelsmods.functions.add_flag("steam-science-pack", "hidden") end else OV.global_replace_item("lab", "angels-basic-lab")