Add lead block, and lead & sulfur dusts

This commit is contained in:
Novatux 2015-03-08 13:32:41 +01:00
parent 0113975160
commit 8b16fc1176
2 changed files with 17 additions and 0 deletions

@ -18,6 +18,8 @@ local recipes = {
{"technic:chromium_lump", "technic:chromium_dust 2"}, {"technic:chromium_lump", "technic:chromium_dust 2"},
{"technic:uranium_lump", "technic:uranium_dust 2"}, {"technic:uranium_lump", "technic:uranium_dust 2"},
{"technic:zinc_lump", "technic:zinc_dust 2"}, {"technic:zinc_lump", "technic:zinc_dust 2"},
{"technic:lead_lump", "technic:lead_dust 2"},
{"technic:sulfur_lump", "technic:sulfur_dust 2"},
-- Other -- Other
{"default:cobble", "default:gravel"}, {"default:cobble", "default:gravel"},
@ -92,10 +94,12 @@ register_dust("Cast Iron", "technic:cast_iron_ingot")
register_dust("Chromium", "technic:chromium_ingot") register_dust("Chromium", "technic:chromium_ingot")
register_dust("Coal", nil) register_dust("Coal", nil)
register_dust("Copper", "default:copper_ingot") register_dust("Copper", "default:copper_ingot")
register_dust("Lead", "technic:lead_ingot")
register_dust("Gold", "default:gold_ingot") register_dust("Gold", "default:gold_ingot")
register_dust("Mithril", "moreores:mithril_ingot") register_dust("Mithril", "moreores:mithril_ingot")
register_dust("Silver", "moreores:silver_ingot") register_dust("Silver", "moreores:silver_ingot")
register_dust("Stainless Steel", "technic:stainless_steel_ingot") register_dust("Stainless Steel", "technic:stainless_steel_ingot")
register_dust("Sulfur", nil)
register_dust("Tin", "moreores:tin_ingot") register_dust("Tin", "moreores:tin_ingot")
register_dust("Wrought Iron", "technic:wrought_iron_ingot") register_dust("Wrought Iron", "technic:wrought_iron_ingot")
register_dust("Zinc", "technic:zinc_ingot") register_dust("Zinc", "technic:zinc_ingot")

@ -38,6 +38,11 @@ minetest.register_craftitem(":technic:lead_lump", {
inventory_image = "technic_lead_lump.png", 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", { minetest.register_craftitem(":technic:sulfur_lump", {
description = S("Sulfur Lump"), description = S("Sulfur Lump"),
inventory_image = "technic_sulfur_lump.png", inventory_image = "technic_sulfur_lump.png",
@ -91,6 +96,7 @@ end
register_block("technic:uranium_block", "technic:uranium_ingot") register_block("technic:uranium_block", "technic:uranium_ingot")
register_block("technic:chromium_block", "technic:chromium_ingot") register_block("technic:chromium_block", "technic:chromium_ingot")
register_block("technic:zinc_block", "technic:zinc_ingot") register_block("technic:zinc_block", "technic:zinc_ingot")
register_block("technic:lead_block", "technic:lead_ingot")
register_block("technic:brass_block", "technic:brass_ingot") register_block("technic:brass_block", "technic:brass_ingot")
register_block("technic:cast_iron_block", "technic:cast_iron_ingot") register_block("technic:cast_iron_block", "technic:cast_iron_ingot")
register_block("technic:carbon_steel_block", "technic:carbon_steel_ingot") register_block("technic:carbon_steel_block", "technic:carbon_steel_ingot")
@ -114,6 +120,13 @@ minetest.register_craft({
output = "technic:uranium_ingot", output = "technic:uranium_ingot",
}) })
minetest.register_craft({
type = 'cooking',
recipe = "technic:lead_lump",
output = "technic:lead_ingot",
})
minetest.register_craft({ minetest.register_craft({
type = 'cooking', type = 'cooking',
recipe = minetest.registered_aliases["technic:wrought_iron_ingot"], recipe = minetest.registered_aliases["technic:wrought_iron_ingot"],