Skip to content

Commit

Permalink
Format Code
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiHawk committed Jun 2, 2024
1 parent 946fcbe commit 59e38d0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
28 changes: 21 additions & 7 deletions angelsdev-unit-test/unit-tests/unit-test-006.lua
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,27 @@ local function calculate_science_pack_level()
if game.active_mods["bobmodules"] and settings.startup["bobmods-modules-enable-modules-lab"].value then
for pack_name, pack_level in pairs({
-- bobs module science packs
["speed-processor"] = (science_pack_level["angels-science-pack-orange"] or science_pack_level["logistic-science-pack"]),
["effectivity-processor"] = (science_pack_level["angels-science-pack-orange"] or science_pack_level["logistic-science-pack"]),
["productivity-processor"] = (science_pack_level["angels-science-pack-orange"] or science_pack_level["logistic-science-pack"]),
["pollution-clean-processor"] = (science_pack_level["angels-science-pack-orange"] or science_pack_level["logistic-science-pack"]),
["pollution-create-processor"] = (science_pack_level["angels-science-pack-orange"] or science_pack_level["logistic-science-pack"]),
["module-circuit-board"] = (science_pack_level["angels-science-pack-blue"] or science_pack_level["chemical-science-pack"]),
["module-case"] = (science_pack_level["angels-science-pack-yellow"] or science_pack_level["production-science-pack"]),
["speed-processor"] = (
science_pack_level["angels-science-pack-orange"] or science_pack_level["logistic-science-pack"]
),
["effectivity-processor"] = (
science_pack_level["angels-science-pack-orange"] or science_pack_level["logistic-science-pack"]
),
["productivity-processor"] = (
science_pack_level["angels-science-pack-orange"] or science_pack_level["logistic-science-pack"]
),
["pollution-clean-processor"] = (
science_pack_level["angels-science-pack-orange"] or science_pack_level["logistic-science-pack"]
),
["pollution-create-processor"] = (
science_pack_level["angels-science-pack-orange"] or science_pack_level["logistic-science-pack"]
),
["module-circuit-board"] = (
science_pack_level["angels-science-pack-blue"] or science_pack_level["chemical-science-pack"]
),
["module-case"] = (
science_pack_level["angels-science-pack-yellow"] or science_pack_level["production-science-pack"]
),
}) do
science_pack_level[pack_name] = pack_level
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ if angelsmods.industries.components then
if mods["bobwarfare"] then
OV.patch_recipes({
{
name = "power-armor",
name = "power-armor",
ingredients = {
{ type = "item", name = "circuit-green-loaded", amount = "circuit-orange-loaded" },
},
Expand Down

0 comments on commit 59e38d0

Please sign in to comment.