From 91be31f550d63e3335a038a6e1a520803d218c1d Mon Sep 17 00:00:00 2001 From: StyLuaFormatter Date: Thu, 10 Oct 2024 20:21:50 +0000 Subject: [PATCH] Format Code --- angelsindustries/data.lua | 12 ++++++-- .../recipes/components-cabling-recipes.lua | 30 +++++++++++++++---- .../components-construction-recipes.lua | 30 +++++++++++++++---- .../components-electronics-recipes.lua | 18 +++++++++-- 4 files changed, 75 insertions(+), 15 deletions(-) diff --git a/angelsindustries/data.lua b/angelsindustries/data.lua index 3070024a4..bed362d50 100644 --- a/angelsindustries/data.lua +++ b/angelsindustries/data.lua @@ -51,7 +51,11 @@ elseif component_result_multiplier == "easy" then angelsmods.industries.component_result_multiplier = 2 angelsmods.industries.component_crafting_time_multiplier = 1 elseif component_result_multiplier ~= "hard" then - console.log("Error: Angels startup setting 'angels-components-component-difficulty' has an invalid value '"..block_result_multiplier.."' configured! Falling back to default...") + console.log( + "Error: Angels startup setting 'angels-components-component-difficulty' has an invalid value '" + .. block_result_multiplier + .. "' configured! Falling back to default..." + ) end angelsmods.industries.block_result_multiplier = 1 @@ -64,7 +68,11 @@ elseif block_result_multiplier == "easy" then angelsmods.industries.block_result_multiplier = 2 angelsmods.industries.block_crafting_time_multiplier = 1 elseif block_result_multiplier ~= "hard" then - console.log("Error: Angels startup setting 'angels-components-block-difficulty' has an invalid value '"..block_result_multiplier.." configured! Falling back to default...") + console.log( + "Error: Angels startup setting 'angels-components-block-difficulty' has an invalid value '" + .. block_result_multiplier + .. " configured! Falling back to default..." + ) end -- set triggers for other angel mods diff --git a/angelsindustries/prototypes/recipes/components-cabling-recipes.lua b/angelsindustries/prototypes/recipes/components-cabling-recipes.lua index f7ab2b890..7dae63044 100644 --- a/angelsindustries/prototypes/recipes/components-cabling-recipes.lua +++ b/angelsindustries/prototypes/recipes/components-cabling-recipes.lua @@ -287,7 +287,11 @@ if angelsmods.industries.components then { type = "item", name = "angels-cabling", amount = 1 }, }, results = { - { type = "item", name = "angels-servo-motor-1", amount = 1 * angelsmods.industries.component_result_multiplier }, + { + type = "item", + name = "angels-servo-motor-1", + amount = 1 * angelsmods.industries.component_result_multiplier, + }, }, allow_decomposition = true, icon_size = 32, @@ -304,7 +308,11 @@ if angelsmods.industries.components then { type = "item", name = "angels-cabling", amount = 1 }, }, results = { - { type = "item", name = "angels-servo-motor-2", amount = 1 * angelsmods.industries.component_result_multiplier }, + { + type = "item", + name = "angels-servo-motor-2", + amount = 1 * angelsmods.industries.component_result_multiplier, + }, }, icon_size = 32, }, @@ -320,7 +328,11 @@ if angelsmods.industries.components then { type = "item", name = "cable-shielding-3", amount = 1 }, }, results = { - { type = "item", name = "angels-servo-motor-3", amount = 1 * angelsmods.industries.component_result_multiplier }, + { + type = "item", + name = "angels-servo-motor-3", + amount = 1 * angelsmods.industries.component_result_multiplier, + }, }, icon_size = 32, }, @@ -336,7 +348,11 @@ if angelsmods.industries.components then { type = "item", name = "cable-shielding-4", amount = 1 }, }, results = { - { type = "item", name = "angels-servo-motor-4", amount = 1 * angelsmods.industries.component_result_multiplier }, + { + type = "item", + name = "angels-servo-motor-4", + amount = 1 * angelsmods.industries.component_result_multiplier, + }, }, icon_size = 32, }, @@ -352,7 +368,11 @@ if angelsmods.industries.components then { type = "item", name = "cable-shielding-5", amount = 1 }, }, results = { - { type = "item", name = "angels-servo-motor-5", amount = 1 * angelsmods.industries.component_result_multiplier }, + { + type = "item", + name = "angels-servo-motor-5", + amount = 1 * angelsmods.industries.component_result_multiplier, + }, }, icon_size = 32, }, diff --git a/angelsindustries/prototypes/recipes/components-construction-recipes.lua b/angelsindustries/prototypes/recipes/components-construction-recipes.lua index c46c8ddc7..ced20b577 100644 --- a/angelsindustries/prototypes/recipes/components-construction-recipes.lua +++ b/angelsindustries/prototypes/recipes/components-construction-recipes.lua @@ -88,7 +88,11 @@ if angelsmods.industries.components then { type = "item", name = "angels-girder", amount = 1 }, }, results = { - { type = "item", name = "construction-frame-1", amount = 2 * angelsmods.industries.component_result_multiplier }, + { + type = "item", + name = "construction-frame-1", + amount = 2 * angelsmods.industries.component_result_multiplier, + }, }, allow_decomposition = true, icon_size = 32, @@ -105,7 +109,11 @@ if angelsmods.industries.components then { type = "item", name = "angels-rivet", amount = 1 }, }, results = { - { type = "item", name = "construction-frame-2", amount = 2 * angelsmods.industries.component_result_multiplier }, + { + type = "item", + name = "construction-frame-2", + amount = 2 * angelsmods.industries.component_result_multiplier, + }, }, icon_size = 32, }, @@ -122,7 +130,11 @@ if angelsmods.industries.components then { type = "item", name = "angels-bracket", amount = 1 }, }, results = { - { type = "item", name = "construction-frame-3", amount = 2 * angelsmods.industries.component_result_multiplier }, + { + type = "item", + name = "construction-frame-3", + amount = 2 * angelsmods.industries.component_result_multiplier, + }, }, icon_size = 32, }, @@ -140,7 +152,11 @@ if angelsmods.industries.components then { type = "item", name = "angels-plating", amount = 1 }, }, results = { - { type = "item", name = "construction-frame-4", amount = 2 * angelsmods.industries.component_result_multiplier }, + { + type = "item", + name = "construction-frame-4", + amount = 2 * angelsmods.industries.component_result_multiplier, + }, }, icon_size = 32, }, @@ -159,7 +175,11 @@ if angelsmods.industries.components then { type = "item", name = "angels-strut", amount = 1 }, }, results = { - { type = "item", name = "construction-frame-5", amount = 2 * angelsmods.industries.component_result_multiplier }, + { + type = "item", + name = "construction-frame-5", + amount = 2 * angelsmods.industries.component_result_multiplier, + }, }, icon_size = 32, }, diff --git a/angelsindustries/prototypes/recipes/components-electronics-recipes.lua b/angelsindustries/prototypes/recipes/components-electronics-recipes.lua index 1055ff651..0bf3ea730 100644 --- a/angelsindustries/prototypes/recipes/components-electronics-recipes.lua +++ b/angelsindustries/prototypes/recipes/components-electronics-recipes.lua @@ -453,7 +453,11 @@ if angelsmods.industries.components then { type = "item", name = "angels-solder", amount = 2 }, }, results = { - { type = "item", name = "circuit-green-loaded", amount = 1 * angelsmods.industries.component_result_multiplier }, + { + type = "item", + name = "circuit-green-loaded", + amount = 1 * angelsmods.industries.component_result_multiplier, + }, }, icon_size = 32, }, @@ -471,7 +475,11 @@ if angelsmods.industries.components then { type = "item", name = "angels-solder", amount = 3 }, }, results = { - { type = "item", name = "circuit-orange-loaded", amount = 1 * angelsmods.industries.component_result_multiplier }, + { + type = "item", + name = "circuit-orange-loaded", + amount = 1 * angelsmods.industries.component_result_multiplier, + }, }, icon_size = 32, }, @@ -510,7 +518,11 @@ if angelsmods.industries.components then { type = "item", name = "angels-solder", amount = 5 }, }, results = { - { type = "item", name = "circuit-yellow-loaded", amount = 1 * angelsmods.industries.component_result_multiplier }, + { + type = "item", + name = "circuit-yellow-loaded", + amount = 1 * angelsmods.industries.component_result_multiplier, + }, }, icon_size = 32, },