Crafting: Remove module
This commit is contained in:
parent
ce8269fb03
commit
1638d081eb
2
api.lua
2
api.lua
|
@ -25,8 +25,6 @@ function microexpansion.register_recipe(output, recipe)
|
||||||
output = output.." "..tostring(get_amount(_)),
|
output = output.." "..tostring(get_amount(_)),
|
||||||
recipe = recipe[_][3] or recipe[_][2]
|
recipe = recipe[_][3] or recipe[_][2]
|
||||||
}
|
}
|
||||||
|
|
||||||
microexpansion.log("Recipe: "..dump(def))
|
|
||||||
minetest.register_craft(def)
|
minetest.register_craft(def)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
--ME Steel Infused Obsidian Ingot
|
|
||||||
minetest.register_craftitem("microexpansion:steel_infused_obsidian_ingot", {
|
|
||||||
description = "Steel Infused Obsidian Ingot",
|
|
||||||
inventory_image = "infused_obsidian_ingot.png"
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "microexpansion:steel_infused_obsidian_ingot",
|
|
||||||
recipe = {"default:steel_ingot", "default:obsidian_shard", "default:steel_ingot"}
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craftitem("microexpansion:machine_casing", {
|
|
||||||
description = "ME Machine Casing",
|
|
||||||
inventory_image = "machine_casing.png"
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
--ME Machine Casing
|
|
||||||
minetest.register_craftitem("microexpansion:machine_casing", {
|
|
||||||
description = "machine_casing",
|
|
||||||
inventory_image = "machine_casing.png"
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "microexpansion:machine_casing",
|
|
||||||
recipe = {
|
|
||||||
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
|
|
||||||
{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
|
|
||||||
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}
|
|
||||||
}
|
|
||||||
})
|
|
Loading…
Reference in New Issue
Block a user