summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2015-03-08 13:32:41 +0100
committerNovatux <nathanael.courant@laposte.net>2015-03-08 13:32:59 +0100
commit8b16fc1176bbebac42298c704cb0a0b0f3961a1f (patch)
tree2bd7d0b598d49c7a6a34c23fe1a036831fcd112c
parent011397516088882f40768a63e7f862b03bd00009 (diff)
Add lead block, and lead & sulfur dusts
-rw-r--r--technic/machines/register/grinder_recipes.lua4
-rw-r--r--technic_worldgen/crafts.lua13
2 files changed, 17 insertions, 0 deletions
diff --git a/technic/machines/register/grinder_recipes.lua b/technic/machines/register/grinder_recipes.lua
index 4a1d2be..87c6ade 100644
--- a/technic/machines/register/grinder_recipes.lua
+++ b/technic/machines/register/grinder_recipes.lua
@@ -18,6 +18,8 @@ local recipes = {
{"technic:chromium_lump", "technic:chromium_dust 2"},
{"technic:uranium_lump", "technic:uranium_dust 2"},
{"technic:zinc_lump", "technic:zinc_dust 2"},
+ {"technic:lead_lump", "technic:lead_dust 2"},
+ {"technic:sulfur_lump", "technic:sulfur_dust 2"},
-- Other
{"default:cobble", "default:gravel"},
@@ -92,10 +94,12 @@ register_dust("Cast Iron", "technic:cast_iron_ingot")
register_dust("Chromium", "technic:chromium_ingot")
register_dust("Coal", nil)
register_dust("Copper", "default:copper_ingot")
+register_dust("Lead", "technic:lead_ingot")
register_dust("Gold", "default:gold_ingot")
register_dust("Mithril", "moreores:mithril_ingot")
register_dust("Silver", "moreores:silver_ingot")
register_dust("Stainless Steel", "technic:stainless_steel_ingot")
+register_dust("Sulfur", nil)
register_dust("Tin", "moreores:tin_ingot")
register_dust("Wrought Iron", "technic:wrought_iron_ingot")
register_dust("Zinc", "technic:zinc_ingot")
diff --git a/technic_worldgen/crafts.lua b/technic_worldgen/crafts.lua
index ac84652..fba9df9 100644
--- a/technic_worldgen/crafts.lua
+++ b/technic_worldgen/crafts.lua
@@ -38,6 +38,11 @@ minetest.register_craftitem(":technic:lead_lump", {
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",
@@ -91,6 +96,7 @@ end
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:lead_block", "technic:lead_ingot")
register_block("technic:brass_block", "technic:brass_ingot")
register_block("technic:cast_iron_block", "technic:cast_iron_ingot")
register_block("technic:carbon_steel_block", "technic:carbon_steel_ingot")
@@ -116,6 +122,13 @@ minetest.register_craft({
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",
})