From 905be0e9e35f56ae6f71847019dfd8b3853c3554 Mon Sep 17 00:00:00 2001
From: Cristiano Magro <cristiano.magro@vola.it>
Date: Thu, 03 Dec 2020 13:06:12 +0100
Subject: [PATCH] xno_pick set some sound

---
 technic_worldgen/crafts.lua |   29 +++++++++++++++++++++--------
 1 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/technic_worldgen/crafts.lua b/technic_worldgen/crafts.lua
index 3965258..0590e70 100644
--- a/technic_worldgen/crafts.lua
+++ b/technic_worldgen/crafts.lua
@@ -4,27 +4,23 @@
 minetest.register_craftitem(":technic:uranium_lump", {
 	description = S("Uranium Lump"),
 	inventory_image = "technic_uranium_lump.png",
-	on_place_on_ground = minetest.craftitem_place_item,
 })
 minetest.register_alias("technic:uranium", "technic:uranium_lump")
 
 minetest.register_craftitem(":technic:uranium_ingot", {
 	description = S("Uranium Ingot"),
 	inventory_image = "technic_uranium_ingot.png",
-	on_place_on_ground = minetest.craftitem_place_item,
 	groups = {uranium_ingot=1},
 })
 
 minetest.register_craftitem(":technic:chromium_lump", {
 	description = S("Chromium Lump"),
 	inventory_image = "technic_chromium_lump.png",
-	on_place_on_ground = minetest.craftitem_place_item,
 })
 
 minetest.register_craftitem(":technic:chromium_ingot", {
 	description = S("Chromium Ingot"),
 	inventory_image = "technic_chromium_ingot.png",
-	on_place_on_ground = minetest.craftitem_place_item,
 })
 
 minetest.register_craftitem(":technic:zinc_lump", {
@@ -37,9 +33,19 @@
 	inventory_image = "technic_zinc_ingot.png",
 })
 
-minetest.register_craftitem(":technic:brass_ingot", {
-	description = S("Brass Ingot"),
-	inventory_image = "technic_brass_ingot.png",
+minetest.register_craftitem(":technic:lead_lump", {
+	description = S("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",
 })
 
 minetest.register_alias("technic:wrought_iron_ingot", "default:steel_ingot")
@@ -85,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")
@@ -110,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",
 })

--
Gitblit v1.8.0