Unify spacing

* Fix spacing in various files

---------

Co-authored-by: theFox6 <the.Fox6@gmx.de>
This commit is contained in:
beepbopbeepboop 2024-01-24 00:53:14 -08:00 committed by GitHub
parent e00028cc09
commit a21dbd9b82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
23 changed files with 2110 additions and 2109 deletions

@ -3,6 +3,7 @@
local me = microexpansion local me = microexpansion
local substitute_basic_materials = microexpansion.settings.simple_craft == true or not minetest.get_modpath("basic_materials") local substitute_basic_materials = microexpansion.settings.simple_craft == true or not minetest.get_modpath("basic_materials")
local gold_wire_recipe
if minetest.get_modpath("mcl_core") then if minetest.get_modpath("mcl_core") then
gold_wire_recipe = { gold_wire_recipe = {

@ -3,6 +3,7 @@
local me = microexpansion local me = microexpansion
-- custom items that are used by multiple devices -- custom items that are used by multiple devices
local steel_infused_obsidian_ingot_recipe, machine_casing_recipe
if minetest.get_modpath("mcl_core") then if minetest.get_modpath("mcl_core") then
steel_infused_obsidian_ingot_recipe = { steel_infused_obsidian_ingot_recipe = {

@ -260,4 +260,3 @@ if me.uinv_category_enabled then
unified_inventory.add_category_item("storage", "microexpansion:ctrl") unified_inventory.add_category_item("storage", "microexpansion:ctrl")
unified_inventory.add_category_item("storage", "microexpansion:cable") unified_inventory.add_category_item("storage", "microexpansion:cable")
end end

@ -5,9 +5,9 @@ local fuel_fired_generator_recipe = nil
if minetest.get_modpath("mcl_core") then if minetest.get_modpath("mcl_core") then
fuel_fired_generator_recipe = { fuel_fired_generator_recipe = {
{ 1, { { 1, {
{ "mcl_core:iron_ingot", "mcl_furnaces:furnace", "mcl_core:iron_ingot" }, {"mcl_core:iron_ingot", "mcl_furnaces:furnace", "mcl_core:iron_ingot"},
{ "mcl_core:iron_ingot", "microexpansion:machine_casing", "mcl_core:iron_ingot" }, {"mcl_core:iron_ingot", "microexpansion:machine_casing", "mcl_core:iron_ingot"},
{ "mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot" }, {"mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot"},
}, },
} }
} }
@ -15,9 +15,9 @@ fuel_fired_generator_recipe = {
else else
fuel_fired_generator_recipe = { fuel_fired_generator_recipe = {
{ 1, { { 1, {
{ "default:steel_ingot", "default:furnace", "default:steel_ingot" }, {"default:steel_ingot", "default:furnace", "default:steel_ingot"},
{"default:steel_ingot", "microexpansion:machine_casing", "default:steel_ingot" }, {"default:steel_ingot", "microexpansion:machine_casing", "default:steel_ingot"},
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }, {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
}, },
} }
} }
@ -62,9 +62,9 @@ me.register_node("super_smelter", {
}, },
recipe = { recipe = {
{ 1, { { 1, {
{ "default:furnace", "default:furnace", "default:furnace" }, {"default:furnace", "default:furnace", "default:furnace"},
{ "default:steel_ingot", "microexpansion:machine_casing", "default:steel_ingot" }, {"default:steel_ingot", "microexpansion:machine_casing", "default:steel_ingot"},
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }, {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
}, },
}, },
}, },

@ -12,7 +12,7 @@ microexpansion.register_cell("cell_1k", {
{"mcl_copper:copper_ingot", "microexpansion:steel_infused_obsidian_ingot", "mcl_copper:copper_ingot"}, {"mcl_copper:copper_ingot", "microexpansion:steel_infused_obsidian_ingot", "mcl_copper:copper_ingot"},
{"moreores:tin_ingot", "mcl_copper:copper_ingot", "moreores:tin_ingot"} {"moreores:tin_ingot", "mcl_copper:copper_ingot", "moreores:tin_ingot"}
}}, }},
} },
}) })
microexpansion.register_cell("cell_2k", { microexpansion.register_cell("cell_2k", {
@ -36,7 +36,7 @@ microexpansion.register_cell("cell_1k", {
recipe = { recipe = {
{ 1, { { 1, {
{"default:tin_ingot", "default:copper_ingot", "default:tin_ingot"}, {"default:tin_ingot", "default:copper_ingot", "default:tin_ingot"},
{"default:copper_ingot","microexpansion:steel_infused_obsidian_ingot","default:copper_ingot"}, {"default:copper_ingot", "microexpansion:steel_infused_obsidian_ingot", "default:copper_ingot"},
{"default:tin_ingot", "default:copper_ingot", "default:tin_ingot"}, {"default:tin_ingot", "default:copper_ingot", "default:tin_ingot"},
}, },
} }
@ -49,12 +49,12 @@ microexpansion.register_cell("cell_2k", {
capacity = 2000, capacity = 2000,
recipe = { recipe = {
{ 1, { { 1, {
{"default:copper_ingot","default:steel_ingot", "default:copper_ingot"}, {"default:copper_ingot", "default:steel_ingot", "default:copper_ingot"},
{"default:steel_ingot", "default:obsidian_shard", "default:steel_ingot"}, {"default:steel_ingot", "default:obsidian_shard", "default:steel_ingot"},
{"default:copper_ingot","default:steel_ingot", "default:copper_ingot"}, {"default:copper_ingot", "default:steel_ingot", "default:copper_ingot"},
}, },
}, },
{ 1, "shapeless", {"microexpansion:cell_1k","microexpansion:cell_1k"}} { 1, "shapeless", {"microexpansion:cell_1k", "microexpansion:cell_1k"}}
}, },
}) })
@ -69,7 +69,7 @@ microexpansion.register_cell("cell_4k", {
"microexpansion:steel_infused_obsidian_ingot", "microexpansion:machine_casing", "microexpansion:steel_infused_obsidian_ingot" "microexpansion:steel_infused_obsidian_ingot", "microexpansion:machine_casing", "microexpansion:steel_infused_obsidian_ingot"
}, },
}, },
{ 1, "shapeless", {"microexpansion:cell_2k","microexpansion:cell_2k"}} { 1, "shapeless", {"microexpansion:cell_2k", "microexpansion:cell_2k"}}
}, },
}) })
@ -78,7 +78,7 @@ microexpansion.register_cell("cell_8k", {
description = "8k ME Storage Cell", description = "8k ME Storage Cell",
capacity = 8000, capacity = 8000,
recipe = { recipe = {
{ 1, "shapeless", {"microexpansion:cell_4k","microexpansion:cell_4k"}} { 1, "shapeless", {"microexpansion:cell_4k", "microexpansion:cell_4k"}}
}, },
}) })
@ -87,7 +87,7 @@ microexpansion.register_cell("cell_16k", {
description = "16k ME Storage Cell", description = "16k ME Storage Cell",
capacity = 16000, capacity = 16000,
recipe = { recipe = {
{ 1, "shapeless", {"microexpansion:cell_8k","microexpansion:cell_8k"}} { 1, "shapeless", {"microexpansion:cell_8k", "microexpansion:cell_8k"}}
}, },
}) })
@ -96,7 +96,7 @@ microexpansion.register_cell("cell_32k", {
description = "32k ME Storage Cell", description = "32k ME Storage Cell",
capacity = 32000, capacity = 32000,
recipe = { recipe = {
{ 1, "shapeless", {"microexpansion:cell_16k","microexpansion:cell_16k"}} { 1, "shapeless", {"microexpansion:cell_16k", "microexpansion:cell_16k"}}
}, },
}) })
@ -105,6 +105,6 @@ microexpansion.register_cell("cell_64k", {
description = "64k ME Storage Cell", description = "64k ME Storage Cell",
capacity = 64000, capacity = 64000,
recipe = { recipe = {
{ 1, "shapeless", {"microexpansion:cell_32k","microexpansion:cell_32k"}} { 1, "shapeless", {"microexpansion:cell_32k", "microexpansion:cell_32k"}}
}, },
}) })