Put iron ingredient under microexpansion namespace

This commit is contained in:
James David Clarke 2023-12-27 14:22:56 +00:00
parent ba009fad0f
commit c468c502b5
No known key found for this signature in database
GPG Key ID: 9F5ECFD0E20F1C4C
4 changed files with 12 additions and 12 deletions

@ -52,15 +52,15 @@ item_transfer.register_io_device("exporter", {
connect_sides = { "left" }, connect_sides = { "left" },
recipe = { recipe = {
{ 1, { { 1, {
{"", "basic_materials:ic", iron_ingot_ingredient }, {"", "basic_materials:ic", microexpansion.iron_ingot_ingredient },
{"", "microexpansion:cable", "group:shovel" }, {"", "microexpansion:cable", "group:shovel" },
{"", "", iron_ingot_ingredient }, {"", "", microexpansion.iron_ingot_ingredient },
}, },
}, },
{ 1, { { 1, {
{"", "microexpansion:logic_chip", iron_ingot_ingredient }, {"", "microexpansion:logic_chip", microexpansion.iron_ingot_ingredient },
{"", "microexpansion:cable", "group:shovel" }, {"", "microexpansion:cable", "group:shovel" },
{"", "", iron_ingot_ingredient }, {"", "", microexpansion.iron_ingot_ingredient },
}, },
} }
}, },

@ -59,15 +59,15 @@ item_transfer.register_io_device("importer", {
connect_sides = { "left" }, connect_sides = { "left" },
recipe = { recipe = {
{ 1, { { 1, {
{"", "basic_materials:ic", iron_ingot_ingredient }, {"", "basic_materials:ic", microexpansion.iron_ingot_ingredient },
{"", "microexpansion:cable", "group:hoe" }, {"", "microexpansion:cable", "group:hoe" },
{"", "", iron_ingot_ingredient }, {"", "", microexpansion.iron_ingot_ingredient },
}, },
}, },
{ 1, { { 1, {
{"", "microexpansion:logic_chip", iron_ingot_ingredient }, {"", "microexpansion:logic_chip", microexpansion.iron_ingot_ingredient },
{"", "microexpansion:cable", "group:hoe" }, {"", "microexpansion:cable", "group:hoe" },
{"", "", iron_ingot_ingredient }, {"", "", microexpansion.iron_ingot_ingredient },
}, },
} }
}, },

@ -6,11 +6,11 @@ microexpansion.require_module("network")
-- Iron Ingot Ingredient for MineClone2 -- Iron Ingot Ingredient for MineClone2
iron_ingot_ingredient = nil microexpansion.iron_ingot_ingredient = nil
if minetest.get_modpath("mcl_core") then if minetest.get_modpath("mcl_core") then
iron_ingot_ingredient = "mcl_core:iron_ingot" microexpansion.iron_ingot_ingredient = "mcl_core:iron_ingot"
else else
iron_ingot_ingredient = "default:steel_ingot" microexpansion.iron_ingot_ingredient = "default:steel_ingot"
end end
-- Load API -- Load API

@ -11,7 +11,7 @@ me.register_item("upgrade_base", {
recipe = { recipe = {
{ 1, { { 1, {
{ "microexpansion:quartz_crystal" }, { "microexpansion:quartz_crystal" },
{ iron_ingot_ingredient }, { microexpansion.iron_ingot_ingredient },
}, },
}, },
}, },