microexpansion/modules/storage/storage.lua

111 lines
3.1 KiB
Lua
Raw Normal View History

2017-02-09 07:29:04 +01:00
-- microexpansion/storage.lua
2020-03-04 16:46:22 +01:00
--TODO: use storagecomp for crafting
if minetest.get_modpath("mcl_core") then
microexpansion.register_cell("cell_1k", {
description = "1k ME Storage Cell",
capacity = 1000,
recipe = {
{ 1, {
{"moreores:tin_ingot", "mcl_copper:copper_ingot", "moreores:tin_ingot"},
{"mcl_copper:copper_ingot", "microexpansion:steel_infused_obsidian_ingot", "mcl_copper:copper_ingot"},
{"moreores:tin_ingot", "mcl_copper:copper_ingot", "moreores:tin_ingot"}
}},
}
})
microexpansion.register_cell("cell_2k", {
description = "2k ME Storage Cell",
capacity = 2000,
recipe = {
{ 1, {
{"mcl_copper:copper_ingot", "mcl_core:iron_ingot", "mcl_copper:copper_ingot"},
{"mcl_core:iron_ingot", "mcl_core:obsidian", "mcl_core:iron_ingot"},
{"mcl_copper:copper_ingot", "mcl_core:iron_ingot", "mcl_copper:copper_ingot"}
}},
{ 1, "shapeless", {"microexpansion:cell_1k", "microexpansion:cell_1k"}}
},
})
else
2017-02-23 02:16:09 +01:00
-- [drive] 8k
2019-05-02 05:26:50 +02:00
microexpansion.register_cell("cell_1k", {
description = "1k ME Storage Cell",
capacity = 1000,
2020-03-04 16:46:22 +01:00
recipe = {
{ 1, {
{"default:tin_ingot", "default:copper_ingot", "default:tin_ingot"},
{"default:copper_ingot","microexpansion:steel_infused_obsidian_ingot","default:copper_ingot"},
{"default:tin_ingot", "default:copper_ingot", "default:tin_ingot"},
},
}
},
2019-05-02 05:26:50 +02:00
})
-- [drive] 8k
microexpansion.register_cell("cell_2k", {
description = "2k ME Storage Cell",
capacity = 2000,
2020-03-04 16:46:22 +01:00
recipe = {
{ 1, {
{"default:copper_ingot","default:steel_ingot", "default:copper_ingot"},
{"default:steel_ingot", "default:obsidian_shard", "default:steel_ingot"},
{"default:copper_ingot","default:steel_ingot", "default:copper_ingot"},
},
},
{ 1, "shapeless", {"microexpansion:cell_1k","microexpansion:cell_1k"}}
},
2019-05-02 05:26:50 +02:00
})
end
2019-05-02 05:26:50 +02:00
-- [drive] 16k
microexpansion.register_cell("cell_4k", {
description = "4k ME Storage Cell",
capacity = 4000,
2020-03-04 16:46:22 +01:00
recipe = {
{ 1, "shapeless", {
"microexpansion:steel_infused_obsidian_ingot", "microexpansion:machine_casing", "microexpansion:steel_infused_obsidian_ingot"
},
},
{ 1, "shapeless", {"microexpansion:cell_2k","microexpansion:cell_2k"}}
},
2019-05-02 05:26:50 +02:00
})
-- [drive] 16k
2017-02-23 02:16:09 +01:00
microexpansion.register_cell("cell_8k", {
2017-07-25 19:47:25 +02:00
description = "8k ME Storage Cell",
capacity = 8000,
2020-03-04 16:46:22 +01:00
recipe = {
{ 1, "shapeless", {"microexpansion:cell_4k","microexpansion:cell_4k"}}
},
2017-02-09 07:29:04 +01:00
})
2019-05-02 05:26:50 +02:00
-- [drive] 32k
microexpansion.register_cell("cell_16k", {
2017-07-25 19:47:25 +02:00
description = "16k ME Storage Cell",
capacity = 16000,
2020-03-04 16:46:22 +01:00
recipe = {
{ 1, "shapeless", {"microexpansion:cell_8k","microexpansion:cell_8k"}}
},
})
-- [drive] 32k
microexpansion.register_cell("cell_32k", {
2017-07-25 19:47:25 +02:00
description = "32k ME Storage Cell",
capacity = 32000,
2020-03-04 16:46:22 +01:00
recipe = {
{ 1, "shapeless", {"microexpansion:cell_16k","microexpansion:cell_16k"}}
},
})
-- [drive] 64k
microexpansion.register_cell("cell_64k", {
2017-07-25 19:47:25 +02:00
description = "64k ME Storage Cell",
capacity = 64000,
2020-03-04 16:46:22 +01:00
recipe = {
{ 1, "shapeless", {"microexpansion:cell_32k","microexpansion:cell_32k"}}
},
})