From d9036ef36c724081181768acaa6bc0806d7cbc7c Mon Sep 17 00:00:00 2001 From: StyLuaFormatter Date: Wed, 15 Nov 2023 10:48:18 +0000 Subject: [PATCH] Format Code --- boblogistics/prototypes/aai-loaders.lua | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/boblogistics/prototypes/aai-loaders.lua b/boblogistics/prototypes/aai-loaders.lua index 491f47486..53959f92a 100644 --- a/boblogistics/prototypes/aai-loaders.lua +++ b/boblogistics/prototypes/aai-loaders.lua @@ -157,9 +157,8 @@ if mods["aai-loaders"] then { "automation-science-pack", 1 }, { "logistic-science-pack", 1 }, { "chemical-science-pack", 1 }, - bobmods.tech and bobmods.tech.advanced_logistic_science and - { "advanced-logistic-science-pack", 1 } or - { "production-science-pack", 1 }, + bobmods.tech and bobmods.tech.advanced_logistic_science and { "advanced-logistic-science-pack", 1 } + or { "production-science-pack", 1 }, { "utility-science-pack", 1 }, }, time = 30, @@ -252,10 +251,14 @@ if mods["aai-loaders"] then end -- Add prerequisites - + if bobmods.tech and bobmods.tech.advanced_logistic_science then bobmods.lib.tech.add_prerequisite("aai-express-loader", "advanced-logistic-science-pack") - bobmods.lib.tech.replace_science_pack("aai-express-loader", "production-science-pack", "advanced-logistic-science-pack") + bobmods.lib.tech.replace_science_pack( + "aai-express-loader", + "production-science-pack", + "advanced-logistic-science-pack" + ) else bobmods.lib.tech.add_prerequisite("aai-express-loader", "production-science-pack") end