summaryrefslogtreecommitdiff
path: root/technic_worldgen/nodes.lua
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2015-02-22 12:42:46 +0100
committerNovatux <nathanael.courant@laposte.net>2015-02-22 12:42:46 +0100
commit3eefa2f18134ab59139f73f4bbf918024c494d7f (patch)
treebfca957a5c88c48a436dcec587dae85e0a653914 /technic_worldgen/nodes.lua
parent4b179821d3bc6cc3f01a6919e2182da8a9a62ea0 (diff)
Add sulfur and lead, and make them generate
Diffstat (limited to 'technic_worldgen/nodes.lua')
-rw-r--r--technic_worldgen/nodes.lua32
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 @@ minetest.register_node( ":technic:mineral_uranium", {
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 @@ minetest.register_node( ":technic:mineral_chromium", {
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 @@ minetest.register_node( ":technic:mineral_zinc", {
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 @@ minetest.register_node(":technic:zinc_block", {
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", {