mirror of
https://github.com/theFox6/microexpansion.git
synced 2024-08-20 21:14:05 +02:00
Made controller Recipe use microexpansion.iron_ingot_ingredient variable
This commit is contained in:
parent
c468c502b5
commit
44cac65f40
@ -5,28 +5,16 @@ local network = me.network
|
|||||||
local access_level = microexpansion.constants.security.access_levels
|
local access_level = microexpansion.constants.security.access_levels
|
||||||
|
|
||||||
local ctrl_recipe = nil
|
local ctrl_recipe = nil
|
||||||
if minetest.get_modpath("mcl_core") then
|
|
||||||
ctrl_recipe = {
|
ctrl_recipe = {
|
||||||
{ 1, {
|
{ 1, {
|
||||||
{"mcl_core:iron_ingot", "microexpansion:steel_infused_obsidian_ingot", "mcl_core:iron_ingot"},
|
{microexpansion.iron_ingot_ingredient, "microexpansion:steel_infused_obsidian_ingot", microexpansion.iron_ingot_ingredient},
|
||||||
{"mcl_core:iron_ingot", "microexpansion:machine_casing", "mcl_core:iron_ingot"},
|
{microexpansion.iron_ingot_ingredient, "microexpansion:machine_casing", microexpansion.iron_ingot_ingredient},
|
||||||
{"mcl_core:iron_ingot", "microexpansion:cable", "mcl_core:iron_ingot"},
|
{microexpansion.iron_ingot_ingredient, "microexpansion:cable", microexpansion.iron_ingot_ingredient},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
else
|
|
||||||
ctrl_recipe = {
|
|
||||||
{ 1, {
|
|
||||||
{"default:steel_ingot", "microexpansion:steel_infused_obsidian_ingot", "default:steel_ingot"},
|
|
||||||
{"default:steel_ingot", "microexpansion:machine_casing", "default:steel_ingot"},
|
|
||||||
{"default:steel_ingot", "microexpansion:cable", "default:steel_ingot"},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
||||||
-- [register node] Controller
|
-- [register node] Controller
|
||||||
me.register_node("ctrl", {
|
me.register_node("ctrl", {
|
||||||
description = "ME Controller",
|
description = "ME Controller",
|
||||||
|
Loading…
Reference in New Issue
Block a user