summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-01 21:17:52 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-01 21:17:52 -0700
commit5ba5b76ba74f1c71eb89dc5935a19cfea2b0a014 (patch)
tree91df21b553df13a446c4e05378ee3911334dc41f
parentbaadc7533486f9f6d11596746b5ce40904bfdd6a (diff)
add node sounds
-rw-r--r--node_builders.lua1
-rw-r--r--node_controllers.lua2
-rw-r--r--node_diggers.lua2
-rw-r--r--node_misc.lua4
4 files changed, 9 insertions, 0 deletions
diff --git a/node_builders.lua b/node_builders.lua
index 0ad2ea6..ceed288 100644
--- a/node_builders.lua
+++ b/node_builders.lua
@@ -5,6 +5,7 @@ minetest.register_node("digtron:builder", {
description = "Builder Unit",
groups = {cracky = 3, stone = 1, digtron = 4},
drop = "digtron:builder",
+ sounds = default.node_sound_metal_defaults(),
paramtype2= 'facedir',
tiles = {
"digtron_plate.png^[transformR90",
diff --git a/node_controllers.lua b/node_controllers.lua
index 9f720bb..899bb12 100644
--- a/node_controllers.lua
+++ b/node_controllers.lua
@@ -16,6 +16,7 @@ minetest.register_node("digtron:controller", {
description = "Digtron Control Unit",
groups = {cracky = 3, stone = 1, digtron = 1},
drop = 'digtron:controller',
+ sounds = default.node_sound_metal_defaults(),
paramtype2= 'facedir',
-- Aims in the +Z direction by default
tiles = {
@@ -281,6 +282,7 @@ minetest.register_node("digtron:pusher", {
description = "Digtron Pusher Unit",
groups = {cracky = 3, stone = 1, digtron = 1},
drop = 'digtron:pusher',
+ sounds = default.node_sound_metal_defaults(),
paramtype2= 'facedir',
-- Aims in the +Z direction by default
tiles = {
diff --git a/node_diggers.lua b/node_diggers.lua
index 676b86e..28073a6 100644
--- a/node_diggers.lua
+++ b/node_diggers.lua
@@ -14,6 +14,7 @@ minetest.register_node("digtron:digger", {
description = "Digger Head",
groups = {cracky = 3, stone = 1, digtron = 3},
drop = 'digtron:digger',
+ sounds = default.node_sound_metal_defaults(),
paramtype = "light",
paramtype2= 'facedir',
@@ -97,6 +98,7 @@ minetest.register_node("digtron:soft_digger", {
description = "Soft Material Digger Head",
groups = {cracky = 3, stone = 1, digtron = 3},
drop = 'digtron:soft_digger',
+ sounds = default.node_sound_metal_defaults(),
paramtype = "light",
paramtype2= 'facedir',
diff --git a/node_misc.lua b/node_misc.lua
index 262ef6e..08a044a 100644
--- a/node_misc.lua
+++ b/node_misc.lua
@@ -5,6 +5,7 @@ minetest.register_node("digtron:structure", {
drop = 'digtron:structure',
tiles = {"digtron_plate.png"},
drawtype = "nodebox",
+ sounds = default.node_sound_metal_defaults(),
climbable = true,
walkable = false,
paramtype = "light",
@@ -36,6 +37,7 @@ minetest.register_node("digtron:light", {
drawtype = "nodebox",
paramtype = "light",
light_source = 10,
+ sounds = default.node_sound_glass_defaults(),
paramtype2 = "wallmounted",
node_box = {
type = "wallmounted",
@@ -52,6 +54,7 @@ minetest.register_node("digtron:inventory",
description = "Digtron Inventory Hopper",
groups = {cracky = 3, stone = 1, digtron = 2},
drop = 'digtron:inventory',
+ sounds = default.node_sound_metal_defaults(),
paramtype2= 'facedir',
tiles = {"digtron_inventory.png"},
@@ -88,6 +91,7 @@ minetest.register_node("digtron:fuelstore",
description = "Digtron Fuel Hopper",
groups = {cracky = 3, stone = 1, digtron = 5},
drop = 'digtron:fuelstore',
+ sounds = default.node_sound_metal_defaults(),
paramtype2= 'facedir',
tiles = {"digtron_fuelstore.png"},