From cc71dd485d43a608a5482f86e91abef9b251ac36 Mon Sep 17 00:00:00 2001 From: StyLuaFormatter Date: Wed, 20 Sep 2023 17:19:34 +0000 Subject: [PATCH] Format Code --- angelspetrochem/prototypes/override/bobplates.lua | 3 ++- angelssmelting/data.lua | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/angelspetrochem/prototypes/override/bobplates.lua b/angelspetrochem/prototypes/override/bobplates.lua index 7ae2f55a9..043501766 100644 --- a/angelspetrochem/prototypes/override/bobplates.lua +++ b/angelspetrochem/prototypes/override/bobplates.lua @@ -180,7 +180,8 @@ if mods["bobplates"] or mods["bobelectronics"] then OV.global_replace_item({ "solid-resin" }, "resin") angelsmods.functions.add_flag("solid-resin", "hidden") move_item("resin", "petrochem-solids", "a[petrochem-solids]-b[resin]") - local resin_icon = mods["bobplates"] and "__bobplates__/graphics/icons/resin.png" or "__bobelectronics__/graphics/icons/resin.png" + local resin_icon = mods["bobplates"] and "__bobplates__/graphics/icons/resin.png" + or "__bobelectronics__/graphics/icons/resin.png" OV.patch_recipes({ { diff --git a/angelssmelting/data.lua b/angelssmelting/data.lua index 1dba0de0a..d6383be79 100644 --- a/angelssmelting/data.lua +++ b/angelssmelting/data.lua @@ -75,7 +75,10 @@ angelsmods.trigger.smelting_products["copper"].wire = true --glass angelsmods.trigger.smelting_products["glass"].plate = mods["bobplates"] and true or false angelsmods.trigger.smelting_products["glass"].fibre = false -angelsmods.trigger.smelting_products["glass"].board = not angelsmods.functions.is_special_vanilla() and mods["bobelectronics"] and true or false +angelsmods.trigger.smelting_products["glass"].board = not angelsmods.functions.is_special_vanilla() + and mods["bobelectronics"] + and true + or false --gold angelsmods.trigger.smelting_products["gold"].plate = mods["bobplates"] and true or false angelsmods.trigger.smelting_products["gold"].wire = angelsmods.trigger.smelting_products["gold"].plate