diff --git a/boblibrary/auto-bottle.lua b/boblibrary/auto-bottle.lua index e41008815..33861b1f3 100644 --- a/boblibrary/auto-bottle.lua +++ b/boblibrary/auto-bottle.lua @@ -37,10 +37,7 @@ end local function generate_fill_recipe_icons(fluid, icon) if fluid.icon then local iconsize = fluid.icon_size or 64 - table.insert( - icon, - { icon = fluid.icon, icon_size = iconsize, scale = 16.0 / iconsize, shift = { 4, -8 } } - ) + table.insert(icon, { icon = fluid.icon, icon_size = iconsize, scale = 16.0 / iconsize, shift = { 4, -8 } }) elseif fluid.icons and util.combine_icons then icon = util.combine_icons(icon, fluid.icons, { scale = 0.5, shift = { 4, -8 } }) end @@ -61,10 +58,7 @@ end local function generate_empty_recipe_icons(fluid, icon) if fluid.icon then local iconsize = fluid.icon_size or 64 - table.insert( - icon, - { icon = fluid.icon, icon_size = iconsize, scale = 16.0 / iconsize, shift = { 7, 8 } } - ) + table.insert(icon, { icon = fluid.icon, icon_size = iconsize, scale = 16.0 / iconsize, shift = { 7, 8 } }) elseif fluid.icons and util.combine_icons then icon = util.combine_icons(icon, fluid.icons, { scale = 0.5, shift = { 7, 8 } }) end diff --git a/bobplates/data-updates.lua b/bobplates/data-updates.lua index 6a186ee83..0303c6991 100644 --- a/bobplates/data-updates.lua +++ b/bobplates/data-updates.lua @@ -195,10 +195,7 @@ bobmods.lib.create_fluid_canister(data.raw.fluid["alien-poison"]) bobmods.lib.create_fluid_canister(data.raw.fluid["alien-fire"]) for i, recipe in pairs(data.raw.recipe) do - if - string.sub(recipe.name, -7) == "-barrel" - and recipe.category == "crafting-with-fluid" - then + if string.sub(recipe.name, -7) == "-barrel" and recipe.category == "crafting-with-fluid" then data.raw.recipe[recipe.name].category = "barrelling" if bobmods.lib.tech.has_recipe_unlock("fluid-handling", recipe.name) then bobmods.lib.tech.remove_recipe_unlock("fluid-handling", recipe.name)