mirror of
https://github.com/theFox6/microexpansion.git
synced 2024-11-22 15:13:51 +01:00
Made controller Recipe use microexpansion.iron_ingot_ingredient variable
This commit is contained in:
parent
c468c502b5
commit
44cac65f40
@ -5,27 +5,15 @@ local network = me.network
|
||||
local access_level = microexpansion.constants.security.access_levels
|
||||
|
||||
local ctrl_recipe = nil
|
||||
if minetest.get_modpath("mcl_core") then
|
||||
ctrl_recipe = {
|
||||
{ 1, {
|
||||
{"mcl_core:iron_ingot", "microexpansion:steel_infused_obsidian_ingot", "mcl_core:iron_ingot"},
|
||||
{"mcl_core:iron_ingot", "microexpansion:machine_casing", "mcl_core:iron_ingot"},
|
||||
{"mcl_core:iron_ingot", "microexpansion:cable", "mcl_core:iron_ingot"},
|
||||
},
|
||||
}
|
||||
|
||||
ctrl_recipe = {
|
||||
{ 1, {
|
||||
{microexpansion.iron_ingot_ingredient, "microexpansion:steel_infused_obsidian_ingot", microexpansion.iron_ingot_ingredient},
|
||||
{microexpansion.iron_ingot_ingredient, "microexpansion:machine_casing", microexpansion.iron_ingot_ingredient},
|
||||
{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
|
||||
me.register_node("ctrl", {
|
||||
|
Loading…
Reference in New Issue
Block a user