From 3eefa2f18134ab59139f73f4bbf918024c494d7f Mon Sep 17 00:00:00 2001
From: Novatux <nathanael.courant@laposte.net>
Date: Sun, 22 Feb 2015 12:42:46 +0100
Subject: [PATCH] Add sulfur and lead, and make them generate

---
 technic_worldgen/nodes.lua |   32 +++++++++++++++++++++++++++++---
 1 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/technic_worldgen/nodes.lua b/technic_worldgen/nodes.lua
index d38173d..54ddfca 100644
--- a/technic_worldgen/nodes.lua
+++ b/technic_worldgen/nodes.lua
@@ -7,7 +7,7 @@
 	is_ground_content = true,
 	groups = {cracky=3, radioactive=1000},
 	sounds = default.node_sound_stone_defaults(),
-	drop = 'craft "technic:uranium_lump" 1',
+	drop = "technic:uranium_lump",
 }) 
 
 minetest.register_node( ":technic:mineral_chromium", {
@@ -16,7 +16,7 @@
 	is_ground_content = true,
 	groups = {cracky=3},
 	sounds = default.node_sound_stone_defaults(),
-	drop = 'craft "technic:chromium_lump" 1',
+	drop = "technic:chromium_lump",
 }) 
 
 minetest.register_node( ":technic:mineral_zinc", {
@@ -25,7 +25,25 @@
 	is_ground_content = true,
 	groups = {cracky=3},
 	sounds = default.node_sound_stone_defaults(),
-	drop = 'craft "technic:zinc_lump" 1',
+	drop = "technic:zinc_lump",
+})
+
+minetest.register_node( ":technic:mineral_lead", {
+	description = S("Lead Ore"),
+	tile_images = { "default_stone.png^technic_mineral_lead.png" },
+	is_ground_content = true,
+	groups = {cracky=3},
+	sounds = default.node_sound_stone_defaults(),
+	drop = "technic:lead_lump",
+})
+
+minetest.register_node( ":technic:mineral_sulfur", {
+	description = S("Sulfur Ore"),
+	tile_images = { "default_stone.png^technic_mineral_sulfur.png" },
+	is_ground_content = true,
+	groups = {cracky=3},
+	sounds = default.node_sound_stone_defaults(),
+	drop = "technic:sulfur_lump",
 })
 
 minetest.register_node( ":technic:granite", {
@@ -76,6 +94,14 @@
 	sounds = default.node_sound_stone_defaults()
 })
 
+minetest.register_node(":technic:lead_block", {
+	description = S("Lead Block"),
+	tiles = { "technic_lead_block.png" },
+	is_ground_content = true,
+	groups = {cracky=1, level=2},
+	sounds = default.node_sound_stone_defaults()
+})
+
 minetest.register_alias("technic:wrought_iron_block", "default:steelblock")
 
 minetest.override_item("default:steelblock", {

--
Gitblit v1.8.0