add node sounds

This commit is contained in:
FaceDeer 2017-01-01 21:17:52 -07:00
parent baadc75334
commit 5ba5b76ba7
4 changed files with 9 additions and 0 deletions

@ -5,6 +5,7 @@ minetest.register_node("digtron:builder", {
description = "Builder Unit", description = "Builder Unit",
groups = {cracky = 3, stone = 1, digtron = 4}, groups = {cracky = 3, stone = 1, digtron = 4},
drop = "digtron:builder", drop = "digtron:builder",
sounds = default.node_sound_metal_defaults(),
paramtype2= 'facedir', paramtype2= 'facedir',
tiles = { tiles = {
"digtron_plate.png^[transformR90", "digtron_plate.png^[transformR90",

@ -16,6 +16,7 @@ minetest.register_node("digtron:controller", {
description = "Digtron Control Unit", description = "Digtron Control Unit",
groups = {cracky = 3, stone = 1, digtron = 1}, groups = {cracky = 3, stone = 1, digtron = 1},
drop = 'digtron:controller', drop = 'digtron:controller',
sounds = default.node_sound_metal_defaults(),
paramtype2= 'facedir', paramtype2= 'facedir',
-- Aims in the +Z direction by default -- Aims in the +Z direction by default
tiles = { tiles = {
@ -281,6 +282,7 @@ minetest.register_node("digtron:pusher", {
description = "Digtron Pusher Unit", description = "Digtron Pusher Unit",
groups = {cracky = 3, stone = 1, digtron = 1}, groups = {cracky = 3, stone = 1, digtron = 1},
drop = 'digtron:pusher', drop = 'digtron:pusher',
sounds = default.node_sound_metal_defaults(),
paramtype2= 'facedir', paramtype2= 'facedir',
-- Aims in the +Z direction by default -- Aims in the +Z direction by default
tiles = { tiles = {

@ -14,6 +14,7 @@ minetest.register_node("digtron:digger", {
description = "Digger Head", description = "Digger Head",
groups = {cracky = 3, stone = 1, digtron = 3}, groups = {cracky = 3, stone = 1, digtron = 3},
drop = 'digtron:digger', drop = 'digtron:digger',
sounds = default.node_sound_metal_defaults(),
paramtype = "light", paramtype = "light",
paramtype2= 'facedir', paramtype2= 'facedir',
@ -97,6 +98,7 @@ minetest.register_node("digtron:soft_digger", {
description = "Soft Material Digger Head", description = "Soft Material Digger Head",
groups = {cracky = 3, stone = 1, digtron = 3}, groups = {cracky = 3, stone = 1, digtron = 3},
drop = 'digtron:soft_digger', drop = 'digtron:soft_digger',
sounds = default.node_sound_metal_defaults(),
paramtype = "light", paramtype = "light",
paramtype2= 'facedir', paramtype2= 'facedir',

@ -5,6 +5,7 @@ minetest.register_node("digtron:structure", {
drop = 'digtron:structure', drop = 'digtron:structure',
tiles = {"digtron_plate.png"}, tiles = {"digtron_plate.png"},
drawtype = "nodebox", drawtype = "nodebox",
sounds = default.node_sound_metal_defaults(),
climbable = true, climbable = true,
walkable = false, walkable = false,
paramtype = "light", paramtype = "light",
@ -36,6 +37,7 @@ minetest.register_node("digtron:light", {
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
light_source = 10, light_source = 10,
sounds = default.node_sound_glass_defaults(),
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
node_box = { node_box = {
type = "wallmounted", type = "wallmounted",
@ -52,6 +54,7 @@ minetest.register_node("digtron:inventory",
description = "Digtron Inventory Hopper", description = "Digtron Inventory Hopper",
groups = {cracky = 3, stone = 1, digtron = 2}, groups = {cracky = 3, stone = 1, digtron = 2},
drop = 'digtron:inventory', drop = 'digtron:inventory',
sounds = default.node_sound_metal_defaults(),
paramtype2= 'facedir', paramtype2= 'facedir',
tiles = {"digtron_inventory.png"}, tiles = {"digtron_inventory.png"},
@ -88,6 +91,7 @@ minetest.register_node("digtron:fuelstore",
description = "Digtron Fuel Hopper", description = "Digtron Fuel Hopper",
groups = {cracky = 3, stone = 1, digtron = 5}, groups = {cracky = 3, stone = 1, digtron = 5},
drop = 'digtron:fuelstore', drop = 'digtron:fuelstore',
sounds = default.node_sound_metal_defaults(),
paramtype2= 'facedir', paramtype2= 'facedir',
tiles = {"digtron_fuelstore.png"}, tiles = {"digtron_fuelstore.png"},