123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- minetest.register_node("stoneworld:meat_rock", {
- description = "Basaltic Rubble With Unidentified Meat",
- tiles = {"darkage_basalt_rubble.png^rackstone_meat.png"},
- groups = utility.dig_groups("cobble"),
- sounds = default.node_sound_stone_defaults(),
- drop = "mobs:naraxen_meat",
- silverpick_drop = true,
- place_param2 = 10,
- })
- minetest.register_node("stoneworld:meat_stone", {
- description = "Basaltic Stone With Unidentified Meat",
- tiles = {"darkage_basalt.png^rackstone_meat.png"},
- groups = utility.dig_groups("stone"),
- sounds = default.node_sound_stone_defaults(),
- drop = "mobs:naraxen_meat_raw",
- silverpick_drop = true,
- place_param2 = 10,
- })
- minetest.register_node("stoneworld:basalt_with_gold", {
- description = "Gold Ore",
- tiles = {"darkage_basalt.png^default_mineral_gold.png"},
- groups = utility.dig_groups("mineral", {ore = 1}),
- drop = "default:gold_lump",
- _tnt_drop = {
- "default:gold_lump",
- "dusts:gold 3",
- },
- silverpick_drop = true,
- sounds = default.node_sound_stone_defaults(),
- place_param2 = 10,
- })
- minetest.register_node("stoneworld:basalt_with_diamond", {
- description = "Diamond Deposit",
- tiles = {"darkage_basalt.png^default_mineral_diamond.png"},
- groups = utility.dig_groups("hardmineral"),
- drop = "default:diamond",
- _tnt_drop = {
- 'default:diamond',
- 'dusts:diamond_shard 3',
- },
- silverpick_drop = true,
- sounds = default.node_sound_stone_defaults(),
- place_param2 = 10,
- })
- minetest.register_node("stoneworld:basalt_with_mese", {
- description = "Mese Ore",
- tiles = {"darkage_basalt.png^default_mineral_mese.png"},
- groups = utility.dig_groups("hardmineral", {melts = 1}),
- drop = {
- max_items = 2,
- items = {
- {items = {'mobs:flame_bolt'}, rarity = 32},
- {items = {'default:mese_crystal'}}
- }
- },
- _tnt_drop = "default:mese_crystal_fragment",
- silverpick_drop = true,
- sounds = default.node_sound_stone_defaults(),
- -- Mese in stone reacts badly to lava.
- on_melt = function(pos, other)
- minetest.after(0, function()
- tnt.boom(pos, {
- radius = 4,
- ignore_protection = false,
- ignore_on_blast = false,
- damage_radius = 6,
- disable_drops = true,
- })
- end)
- end,
- })
- minetest.register_node("stoneworld:basalt_with_iron", {
- description = "Iron Ore",
- tiles = {"darkage_basalt.png^default_mineral_iron.png"},
- groups = utility.dig_groups("mineral", {ore = 1}),
- drop = 'default:iron_lump',
- _tnt_drop = 'default:iron_lump 2',
- silverpick_drop = true,
- sounds = default.node_sound_stone_defaults(),
- place_param2 = 10,
- })
- minetest.register_node("stoneworld:basalt_with_coal", {
- description = "Coal Deposit",
- tiles = {"darkage_basalt.png^stoneworld_mineral_coal.png"},
- -- Cannot be flammable (although I would like it to be)
- -- because that interferes with TNT mining (the TNT replaces
- -- all coal with flame instead of dropping it).
- groups = utility.dig_groups("mineral"),
- drop = 'default:coal_lump',
- silverpick_drop = true,
- sounds = default.node_sound_stone_defaults(),
- place_param2 = 10,
- })
- minetest.register_node("stoneworld:basalt_with_dauth", {
- description = "Dauth Deposit",
- tiles = {"darkage_basalt.png^stoneworld_mineral_coal.png"},
- -- Cannot be flammable (although I would like it to be)
- -- because that interferes with TNT mining (the TNT replaces
- -- all coal with flame instead of dropping it).
- groups = utility.dig_groups("mineral"),
- drop = 'rackstone:dauth_lump',
- silverpick_drop = true,
- sounds = default.node_sound_stone_defaults(),
- place_param2 = 10,
- })
- minetest.register_node("stoneworld:basalt_with_copper", {
- description = "Copper Ore",
- tiles = {"darkage_basalt.png^default_mineral_copper.png"},
- groups = utility.dig_groups("mineral", {ore = 1}),
- drop = 'default:copper_lump',
- _tnt_drop = 'default:copper_lump 2',
- silverpick_drop = true,
- sounds = default.node_sound_stone_defaults(),
- place_param2 = 10,
- })
- minetest.register_node("stoneworld:basalt_with_tin", {
- description = "Tin Ore",
- tiles = {"darkage_basalt.png^moreores_mineral_tin2.png"},
- groups = utility.dig_groups("mineral", {ore=1}),
- sounds = default.node_sound_stone_defaults(),
- drop = "moreores:tin_lump",
- _tnt_drop = "moreores:tin_lump 2",
- silverpick_drop = true,
- place_param2 = 10,
- })
|