use default metal sounds on all pipes and pipe devices
This commit is contained in:
parent
6ad2c9f568
commit
d5fe933456
32
devices.lua
32
devices.lua
@ -142,7 +142,7 @@ for s in ipairs(states) do
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = dgroups,
|
groups = dgroups,
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
pipe_connections = { top = 1 },
|
pipe_connections = { top = 1 },
|
||||||
after_place_node = function(pos)
|
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 }
|
fixed = { -5/16, -4/16, -8/16, 5/16, 5/16, 8/16 }
|
||||||
},
|
},
|
||||||
groups = dgroups,
|
groups = dgroups,
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
on_place = pipeworks.rotate_on_place,
|
on_place = pipeworks.rotate_on_place,
|
||||||
after_dig_node = function(pos)
|
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 }
|
fixed = { -5/16, -4/16, -8/16, 5/16, 5/16, 8/16 }
|
||||||
},
|
},
|
||||||
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
|
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
on_place = pipeworks.rotate_on_place,
|
on_place = pipeworks.rotate_on_place,
|
||||||
after_dig_node = function(pos)
|
after_dig_node = function(pos)
|
||||||
@ -289,7 +289,7 @@ minetest.register_node("pipeworks:grating", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
groups = {snappy=3, pipe=1},
|
groups = {snappy=3, pipe=1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
pipe_connections = { top = 1 },
|
pipe_connections = { top = 1 },
|
||||||
after_place_node = function(pos)
|
after_place_node = function(pos)
|
||||||
@ -313,7 +313,7 @@ minetest.register_node(nodename_spigot_empty, {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {snappy=3, pipe=1},
|
groups = {snappy=3, pipe=1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
pipe_connections = { left=1, right=1, front=1, back=1,
|
pipe_connections = { left=1, right=1, front=1, back=1,
|
||||||
left_param2 = 3, right_param2 = 1, front_param2 = 2, back_param2 = 0 },
|
left_param2 = 3, right_param2 = 1, front_param2 = 2, back_param2 = 0 },
|
||||||
@ -355,7 +355,7 @@ minetest.register_node(nodename_spigot_loaded, {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
|
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
pipe_connections = { left=1, right=1, front=1, back=1,
|
pipe_connections = { left=1, right=1, front=1, back=1,
|
||||||
left_param2 = 3, right_param2 = 1, front_param2 = 2, back_param2 = 0 },
|
left_param2 = 3, right_param2 = 1, front_param2 = 2, back_param2 = 0 },
|
||||||
@ -409,7 +409,7 @@ minetest.register_node(nodename_panel_empty, {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {snappy=3, pipe=1},
|
groups = {snappy=3, pipe=1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
on_place = pipeworks.rotate_on_place,
|
on_place = pipeworks.rotate_on_place,
|
||||||
after_dig_node = function(pos)
|
after_dig_node = function(pos)
|
||||||
@ -429,7 +429,7 @@ minetest.register_node(nodename_panel_loaded, {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
|
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
on_place = pipeworks.rotate_on_place,
|
on_place = pipeworks.rotate_on_place,
|
||||||
after_dig_node = function(pos)
|
after_dig_node = function(pos)
|
||||||
@ -456,7 +456,7 @@ minetest.register_node(nodename_sensor_empty, {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {snappy=3, pipe=1},
|
groups = {snappy=3, pipe=1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
on_place = pipeworks.rotate_on_place,
|
on_place = pipeworks.rotate_on_place,
|
||||||
after_dig_node = function(pos)
|
after_dig_node = function(pos)
|
||||||
@ -495,7 +495,7 @@ minetest.register_node(nodename_sensor_loaded, {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
|
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
on_place = pipeworks.rotate_on_place,
|
on_place = pipeworks.rotate_on_place,
|
||||||
after_dig_node = function(pos)
|
after_dig_node = function(pos)
|
||||||
@ -560,7 +560,7 @@ for fill = 0, 10 do
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {snappy=3, pipe=1, tankfill=fill+1, not_in_creative_inventory=1},
|
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,
|
walkable = true,
|
||||||
drop = "pipeworks:storage_tank_0",
|
drop = "pipeworks:storage_tank_0",
|
||||||
pipe_connections = { top = 1, bottom = 1},
|
pipe_connections = { top = 1, bottom = 1},
|
||||||
@ -588,7 +588,7 @@ for fill = 0, 10 do
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = sgroups,
|
groups = sgroups,
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
drop = "pipeworks:storage_tank_0",
|
drop = "pipeworks:storage_tank_0",
|
||||||
pipe_connections = { top = 1, bottom = 1},
|
pipe_connections = { top = 1, bottom = 1},
|
||||||
@ -614,7 +614,7 @@ minetest.register_node(nodename_fountain_empty, {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
groups = {snappy=3, pipe=1},
|
groups = {snappy=3, pipe=1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
pipe_connections = { bottom = 1 },
|
pipe_connections = { bottom = 1 },
|
||||||
after_place_node = function(pos)
|
after_place_node = function(pos)
|
||||||
@ -648,7 +648,7 @@ minetest.register_node(nodename_fountain_loaded, {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
|
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
pipe_connections = { bottom = 1 },
|
pipe_connections = { bottom = 1 },
|
||||||
after_place_node = function(pos)
|
after_place_node = function(pos)
|
||||||
@ -698,7 +698,7 @@ minetest.register_node(nodename_sp_empty, {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {snappy=3, pipe=1},
|
groups = {snappy=3, pipe=1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
on_place = pipeworks.rotate_on_place,
|
on_place = pipeworks.rotate_on_place,
|
||||||
after_dig_node = function(pos)
|
after_dig_node = function(pos)
|
||||||
@ -718,7 +718,7 @@ minetest.register_node(nodename_sp_loaded, {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
|
groups = {snappy=3, pipe=1, not_in_creative_inventory=1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
on_place = pipeworks.rotate_on_place,
|
on_place = pipeworks.rotate_on_place,
|
||||||
after_dig_node = function(pos)
|
after_dig_node = function(pos)
|
||||||
|
@ -73,7 +73,7 @@ for index, connects in ipairs(cconnects) do
|
|||||||
fixed = outsel
|
fixed = outsel
|
||||||
},
|
},
|
||||||
groups = pgroups,
|
groups = pgroups,
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
drop = "pipeworks:pipe_1_empty",
|
drop = "pipeworks:pipe_1_empty",
|
||||||
after_place_node = function(pos)
|
after_place_node = function(pos)
|
||||||
@ -104,7 +104,7 @@ for index, connects in ipairs(cconnects) do
|
|||||||
fixed = outsel
|
fixed = outsel
|
||||||
},
|
},
|
||||||
groups = pgroups,
|
groups = pgroups,
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_metal_defaults(),
|
||||||
walkable = true,
|
walkable = true,
|
||||||
drop = "pipeworks:pipe_1_empty",
|
drop = "pipeworks:pipe_1_empty",
|
||||||
after_place_node = function(pos)
|
after_place_node = function(pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user