summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-09-23 15:36:33 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-09-23 15:40:28 -0400
commitd5fe93345694f2d24f3f9006df5d05be5f9fe298 (patch)
treedd4500c2d69f1a81ed6a36244e8ee9afa3d03a26
parent6ad2c9f568c52297f82316d9b8528dd17962b81b (diff)
downloadpipeworks-d5fe93345694f2d24f3f9006df5d05be5f9fe298.tar
pipeworks-d5fe93345694f2d24f3f9006df5d05be5f9fe298.tar.gz
pipeworks-d5fe93345694f2d24f3f9006df5d05be5f9fe298.tar.bz2
pipeworks-d5fe93345694f2d24f3f9006df5d05be5f9fe298.tar.xz
pipeworks-d5fe93345694f2d24f3f9006df5d05be5f9fe298.zip
use default metal sounds on all pipes and pipe devices
-rw-r--r--devices.lua32
-rw-r--r--pipes.lua4
2 files changed, 18 insertions, 18 deletions
diff --git a/devices.lua b/devices.lua
index 2ace81f..340fc4d 100644
--- a/devices.lua
+++ b/devices.lua
@@ -142,7 +142,7 @@ for s in ipairs(states) do
paramtype = "light",
paramtype2 = "facedir",
groups = dgroups,
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
pipe_connections = { top = 1 },
after_place_node = function(pos)
@@ -194,7 +194,7 @@ for s in ipairs(states) do
fixed = { -5/16, -4/16, -8/16, 5/16, 5/16, 8/16 }
},
groups = dgroups,
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
on_place = pipeworks.rotate_on_place,
after_dig_node = function(pos)
@@ -240,7 +240,7 @@ minetest.register_node(nodename_valve_loaded, {
fixed = { -5/16, -4/16, -8/16, 5/16, 5/16, 8/16 }
},
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
on_place = pipeworks.rotate_on_place,
after_dig_node = function(pos)
@@ -289,7 +289,7 @@ minetest.register_node("pipeworks:grating", {
sunlight_propagates = true,
paramtype = "light",
groups = {snappy=3, pipe=1},
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
pipe_connections = { top = 1 },
after_place_node = function(pos)
@@ -313,7 +313,7 @@ minetest.register_node(nodename_spigot_empty, {
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3, pipe=1},
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
pipe_connections = { left=1, right=1, front=1, back=1,
left_param2 = 3, right_param2 = 1, front_param2 = 2, back_param2 = 0 },
@@ -355,7 +355,7 @@ minetest.register_node(nodename_spigot_loaded, {
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
pipe_connections = { left=1, right=1, front=1, back=1,
left_param2 = 3, right_param2 = 1, front_param2 = 2, back_param2 = 0 },
@@ -409,7 +409,7 @@ minetest.register_node(nodename_panel_empty, {
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3, pipe=1},
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
on_place = pipeworks.rotate_on_place,
after_dig_node = function(pos)
@@ -429,7 +429,7 @@ minetest.register_node(nodename_panel_loaded, {
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
on_place = pipeworks.rotate_on_place,
after_dig_node = function(pos)
@@ -456,7 +456,7 @@ minetest.register_node(nodename_sensor_empty, {
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3, pipe=1},
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
on_place = pipeworks.rotate_on_place,
after_dig_node = function(pos)
@@ -495,7 +495,7 @@ minetest.register_node(nodename_sensor_loaded, {
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
on_place = pipeworks.rotate_on_place,
after_dig_node = function(pos)
@@ -560,7 +560,7 @@ for fill = 0, 10 do
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3, pipe=1, tankfill=fill+1, not_in_creative_inventory=1},
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
drop = "pipeworks:storage_tank_0",
pipe_connections = { top = 1, bottom = 1},
@@ -588,7 +588,7 @@ for fill = 0, 10 do
paramtype = "light",
paramtype2 = "facedir",
groups = sgroups,
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
drop = "pipeworks:storage_tank_0",
pipe_connections = { top = 1, bottom = 1},
@@ -614,7 +614,7 @@ minetest.register_node(nodename_fountain_empty, {
sunlight_propagates = true,
paramtype = "light",
groups = {snappy=3, pipe=1},
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
pipe_connections = { bottom = 1 },
after_place_node = function(pos)
@@ -648,7 +648,7 @@ minetest.register_node(nodename_fountain_loaded, {
sunlight_propagates = true,
paramtype = "light",
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
pipe_connections = { bottom = 1 },
after_place_node = function(pos)
@@ -698,7 +698,7 @@ minetest.register_node(nodename_sp_empty, {
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3, pipe=1},
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
on_place = pipeworks.rotate_on_place,
after_dig_node = function(pos)
@@ -718,7 +718,7 @@ minetest.register_node(nodename_sp_loaded, {
paramtype = "light",
paramtype2 = "facedir",
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
on_place = pipeworks.rotate_on_place,
after_dig_node = function(pos)
diff --git a/pipes.lua b/pipes.lua
index 82fadb1..04988ca 100644
--- a/pipes.lua
+++ b/pipes.lua
@@ -73,7 +73,7 @@ for index, connects in ipairs(cconnects) do
fixed = outsel
},
groups = pgroups,
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
drop = "pipeworks:pipe_1_empty",
after_place_node = function(pos)
@@ -104,7 +104,7 @@ for index, connects in ipairs(cconnects) do
fixed = outsel
},
groups = pgroups,
- sounds = default.node_sound_wood_defaults(),
+ sounds = default.node_sound_metal_defaults(),
walkable = true,
drop = "pipeworks:pipe_1_empty",
after_place_node = function(pos)