Skip to content

Commit

Permalink
Softlock with Tech Overhaul and Bob's Technology #986
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiHawk committed May 21, 2024
1 parent d01bcd5 commit bcf7669
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
2 changes: 2 additions & 0 deletions angelsindustries/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ 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)
Bugfixes:
- Fixed potential softlock with Tech Overhaul and Bob's Technology mod (986)
---------------------------------------------------------------------------------------------------
Version: 0.4.21
Date: 21.02.2024
Expand Down
32 changes: 17 additions & 15 deletions angelsindustries/prototypes/overrides/global-tech-bobs-packs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -461,22 +461,24 @@ if angelsmods.industries.tech then
OV.disable_technology({ "automation-science-pack" })
OV.add_prereq("automation", "steam-automation")

local burner_lab = data.raw["lab"]["angels-basic-lab"]
if burner_lab then
burner_lab.energy_source = {
type = "burner",
fuel_category = "chemical",
effectivity = 0.65,
fuel_inventory_size = 1,
emissions_per_minute = 6,
smoke = {
{
name = "smoke",
deviation = { 0.1, 0.1 },
frequency = 3,
for _, lab_name in pairs({"angels-main-lab-1", "angels-basic-lab"}) do
local burner_lab = data.raw["lab"][lab_name]
if burner_lab then
burner_lab.energy_source = {
type = "burner",
fuel_category = "chemical",
effectivity = 0.65,
fuel_inventory_size = 1,
emissions_per_minute = 6,
smoke = {
{
name = "smoke",
deviation = { 0.1, 0.1 },
frequency = 3,
},
},
},
}
}
end
end
end
end
Expand Down

0 comments on commit bcf7669

Please sign in to comment.