thetaepsilon-gamedev
2020-01-28 fbc4cc851125bc0a1d48043f78210f4836491beb
technic_worldgen/nodes.lua
@@ -5,10 +5,10 @@
   description = S("Uranium Ore"),
   tiles = { "default_stone.png^technic_mineral_uranium.png" },
   is_ground_content = true,
   groups = {cracky=3, radioactive=1000},
   groups = {cracky=3, radioactive=1},
   sounds = default.node_sound_stone_defaults(),
   drop = 'craft "technic:uranium_lump" 1',
})
   drop = "technic:uranium_lump",
})
minetest.register_node( ":technic:mineral_chromium", {
   description = S("Chromium Ore"),
@@ -16,16 +16,34 @@
   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", {
   description = S("Zinc Ore"),
   tile_images = { "default_stone.png^technic_mineral_zinc.png" },
   tiles = { "default_stone.png^technic_mineral_zinc.png" },
   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"),
   tiles = { "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"),
   tiles = { "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", {
@@ -34,15 +52,15 @@
   is_ground_content = true,
   groups = {cracky=1},
   sounds = default.node_sound_stone_defaults(),
})
})
minetest.register_node( ":technic:marble", {
   description = S("Marble"),
   tiles = { "technic_marble.png" },
   is_ground_content = true,
   groups = {cracky=3},
   groups = {cracky=3, marble=1},
   sounds = default.node_sound_stone_defaults(),
})
})
minetest.register_node( ":technic:marble_bricks", {
   description = S("Marble Bricks"),
@@ -50,13 +68,13 @@
   is_ground_content = true,
   groups = {cracky=3},
   sounds = default.node_sound_stone_defaults(),
})
})
minetest.register_node(":technic:uranium_block", {
   description = S("Uranium Block"),
   tiles = { "technic_uranium_block.png" },
   is_ground_content = true,
   groups = {uranium_block=1, cracky=1, level=2, radioactive=3000},
   groups = {uranium_block=1, cracky=1, level=2, radioactive=2},
   sounds = default.node_sound_stone_defaults()
})
@@ -71,6 +89,14 @@
minetest.register_node(":technic:zinc_block", {
   description = S("Zinc Block"),
   tiles = { "technic_zinc_block.png" },
   is_ground_content = true,
   groups = {cracky=1, level=2},
   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()
@@ -102,14 +128,6 @@
minetest.register_node(":technic:stainless_steel_block", {
   description = S("Stainless Steel Block"),
   tiles = { "technic_stainless_steel_block.png" },
   is_ground_content = true,
   groups = {cracky=1, level=2},
   sounds = default.node_sound_stone_defaults()
})
minetest.register_node(":technic:brass_block", {
   description = S("Brass Block"),
   tiles = { "technic_brass_block.png" },
   is_ground_content = true,
   groups = {cracky=1, level=2},
   sounds = default.node_sound_stone_defaults()