2013-07-17 21:34:35 +02:00
|
|
|
minetest.register_craftitem(":technic:uranium", {
|
2013-03-30 11:36:45 +01:00
|
|
|
description = "Uranium",
|
|
|
|
inventory_image = "technic_uranium.png",
|
|
|
|
on_place_on_ground = minetest.craftitem_place_item,
|
|
|
|
})
|
|
|
|
|
2013-07-17 21:34:35 +02:00
|
|
|
minetest.register_craftitem(":technic:chromium_lump", {
|
2013-03-30 11:36:45 +01:00
|
|
|
description = "Chromium Lump",
|
|
|
|
inventory_image = "technic_chromium_lump.png",
|
|
|
|
on_place_on_ground = minetest.craftitem_place_item,
|
|
|
|
})
|
|
|
|
|
2013-07-17 21:34:35 +02:00
|
|
|
minetest.register_craftitem(":technic:chromium_ingot", {
|
2013-03-30 11:36:45 +01:00
|
|
|
description = "Chromium Ingot",
|
|
|
|
inventory_image = "technic_chromium_ingot.png",
|
|
|
|
on_place_on_ground = minetest.craftitem_place_item,
|
|
|
|
})
|
|
|
|
|
2013-07-17 21:34:35 +02:00
|
|
|
minetest.register_craftitem(":technic:zinc_lump", {
|
2013-03-30 11:36:45 +01:00
|
|
|
description = "Zinc Lump",
|
|
|
|
inventory_image = "technic_zinc_lump.png",
|
|
|
|
})
|
|
|
|
|
2013-07-17 21:34:35 +02:00
|
|
|
minetest.register_craftitem(":technic:zinc_ingot", {
|
2013-03-30 11:36:45 +01:00
|
|
|
description = "Zinc Ingot",
|
|
|
|
inventory_image = "technic_zinc_ingot.png",
|
|
|
|
})
|
|
|
|
|
2013-10-26 09:13:17 +02:00
|
|
|
minetest.register_craftitem(":technic:brass_ingot", {
|
|
|
|
description = "Brass Ingot",
|
|
|
|
inventory_image = "technic_brass_ingot.png",
|
|
|
|
})
|
|
|
|
|
2013-07-17 21:34:35 +02:00
|
|
|
minetest.register_craftitem(":technic:stainless_steel_ingot", {
|
2013-03-30 11:36:45 +01:00
|
|
|
description = "Stainless Steel Ingot",
|
|
|
|
inventory_image = "technic_stainless_steel_ingot.png",
|
|
|
|
})
|
|
|
|
|
2013-07-17 21:34:35 +02:00
|
|
|
local function register_block(block, ingot)
|
|
|
|
minetest.register_craft({
|
|
|
|
output = block,
|
|
|
|
recipe = {
|
|
|
|
{ingot, ingot, ingot},
|
|
|
|
{ingot, ingot, ingot},
|
|
|
|
{ingot, ingot, ingot},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = ingot.." 9",
|
|
|
|
recipe = {
|
|
|
|
{block}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
register_block("technic:uranium_block", "technic:uranium")
|
|
|
|
register_block("technic:chromium_block", "technic:chromium_ingot")
|
|
|
|
register_block("technic:zinc_block", "technic:zinc_ingot")
|
2013-10-26 09:13:17 +02:00
|
|
|
register_block("technic:brass_block", "technic:brass_ingot")
|
2013-07-17 21:34:35 +02:00
|
|
|
register_block("technic:stainless_steel_block", "technic:stainless_steel_ingot")
|
2013-06-27 04:13:44 +02:00
|
|
|
|
2013-03-30 11:36:45 +01:00
|
|
|
minetest.register_craft({
|
|
|
|
type = 'cooking',
|
2013-07-17 21:34:35 +02:00
|
|
|
recipe = "technic:zinc_lump",
|
2013-03-30 11:36:45 +01:00
|
|
|
output = "technic:zinc_ingot",
|
|
|
|
})
|
2013-06-27 04:13:44 +02:00
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = 'cooking',
|
2013-07-17 21:34:35 +02:00
|
|
|
recipe = "technic:chromium_lump",
|
2013-06-27 04:13:44 +02:00
|
|
|
output = "technic:chromium_ingot",
|
2013-07-05 05:32:20 +02:00
|
|
|
})
|
2013-07-17 21:34:35 +02:00
|
|
|
|