Added Ores module

This commit is contained in:
XtremeHacker 2017-02-26 09:12:52 -08:00
parent 9cb4790f40
commit 169ea1ce76
5 changed files with 43 additions and 2 deletions

View File

@ -1,3 +1,4 @@
shared = true
power = true
storage = true
oregen = true

32
modules/crafting/init.lua Normal file
View File

@ -0,0 +1,32 @@
--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"}
}
})

0
modules/ores/init.lua Normal file
View File

View File

@ -19,4 +19,12 @@ me.register_item("steel_infused_obsidian_ingot", {
-- [register item] Machine Casing
me.register_item("machine_casing", {
description = "Machine Casing",
recipe = {
"single",
{ 1,
{"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"}
},
},
})