Skip to content

Commit

Permalink
Hide steam science pack #986
Browse files Browse the repository at this point in the history
Steam science pack is being removed from all techs. No reason to keep it around.
  • Loading branch information
KiwiHawk committed May 21, 2024
1 parent bcf7669 commit 2a8ccfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions angelsindustries/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
---------------------------------------------------------------------------------------------------
Expand Down
8 changes: 3 additions & 5 deletions angelsindustries/prototypes/overrides/tech-mod-update.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 2a8ccfe

Please sign in to comment.