d-stephane
2019-08-26 768fbecc641325eedcca6f1abcf5d1aec4a7e4f1
technic_worldgen/crafts.lua
@@ -38,14 +38,14 @@
   inventory_image = "technic_lead_lump.png",
})
minetest.register_craftitem(":technic:lead_ingot", {
   description = S("Lead Ingot"),
   inventory_image = "technic_lead_ingot.png",
})
minetest.register_craftitem(":technic:sulfur_lump", {
   description = S("Sulfur Lump"),
   inventory_image = "technic_sulfur_lump.png",
})
minetest.register_craftitem(":technic:brass_ingot", {
   description = S("Brass Ingot"),
   inventory_image = "technic_brass_ingot.png",
})
minetest.register_alias("technic:wrought_iron_ingot", "default:steel_ingot")
@@ -91,7 +91,7 @@
register_block("technic:uranium_block", "technic:uranium_ingot")
register_block("technic:chromium_block", "technic:chromium_ingot")
register_block("technic:zinc_block", "technic:zinc_ingot")
register_block("technic:brass_block", "technic:brass_ingot")
register_block("technic:lead_block", "technic:lead_ingot")
register_block("technic:cast_iron_block", "technic:cast_iron_ingot")
register_block("technic:carbon_steel_block", "technic:carbon_steel_ingot")
register_block("technic:stainless_steel_block", "technic:stainless_steel_ingot")
@@ -116,6 +116,13 @@
minetest.register_craft({
   type = 'cooking',
   recipe = "technic:lead_lump",
   output = "technic:lead_ingot",
})
minetest.register_craft({
   type = 'cooking',
   recipe = minetest.registered_aliases["technic:wrought_iron_ingot"],
   output = "technic:cast_iron_ingot",
})