2023-09-07 15:20:57 +02:00
|
|
|
-- sound definitions with fallback to empty sound-table
|
2021-08-27 09:22:15 +02:00
|
|
|
|
2022-12-03 18:30:28 +01:00
|
|
|
function scifi_nodes.node_sound_defaults(param)
|
2021-08-27 09:22:15 +02:00
|
|
|
if minetest.get_modpath("default") then
|
|
|
|
-- default game
|
2022-12-03 18:30:28 +01:00
|
|
|
return default.node_sound_defaults(param)
|
2021-08-27 09:22:15 +02:00
|
|
|
end
|
2023-09-07 15:20:57 +02:00
|
|
|
return {}
|
2021-08-27 09:22:15 +02:00
|
|
|
end
|
|
|
|
|
2022-12-03 18:30:28 +01:00
|
|
|
function scifi_nodes.node_sound_wood_defaults(param)
|
2021-08-27 09:22:15 +02:00
|
|
|
if minetest.get_modpath("default") then
|
|
|
|
-- default game
|
2022-12-03 18:30:28 +01:00
|
|
|
return default.node_sound_wood_defaults(param)
|
2021-08-27 09:22:15 +02:00
|
|
|
end
|
2023-09-07 15:20:57 +02:00
|
|
|
return {}
|
2021-08-27 09:22:15 +02:00
|
|
|
end
|
|
|
|
|
2022-12-03 18:30:28 +01:00
|
|
|
function scifi_nodes.node_sound_glass_defaults(param)
|
2021-08-27 09:22:15 +02:00
|
|
|
if minetest.get_modpath("default") then
|
|
|
|
-- default game
|
2022-12-03 18:30:28 +01:00
|
|
|
return default.node_sound_glass_defaults(param)
|
2021-08-27 09:22:15 +02:00
|
|
|
end
|
2023-09-07 15:20:57 +02:00
|
|
|
return {}
|
2021-08-27 09:22:15 +02:00
|
|
|
end
|
|
|
|
|
2022-12-03 18:30:28 +01:00
|
|
|
function scifi_nodes.node_sound_metal_defaults(param)
|
2021-08-27 09:22:15 +02:00
|
|
|
if minetest.get_modpath("default") then
|
|
|
|
-- default game
|
2022-12-03 18:30:28 +01:00
|
|
|
return default.node_sound_metal_defaults(param)
|
2021-08-27 09:22:15 +02:00
|
|
|
end
|
2023-09-07 15:20:57 +02:00
|
|
|
return {}
|
2022-12-03 18:30:28 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
function scifi_nodes.node_sound_stone_defaults(param)
|
|
|
|
if minetest.get_modpath("default") then
|
|
|
|
-- default game
|
|
|
|
return default.node_sound_stone_defaults(param)
|
|
|
|
end
|
2023-09-07 15:20:57 +02:00
|
|
|
return {}
|
2022-12-03 18:30:28 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
function scifi_nodes.node_sound_dirt_defaults(param)
|
|
|
|
if minetest.get_modpath("default") then
|
|
|
|
-- default game
|
|
|
|
return default.node_sound_dirt_defaults(param)
|
|
|
|
end
|
2023-09-07 15:20:57 +02:00
|
|
|
return {}
|
2022-12-03 18:30:28 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
function scifi_nodes.node_sound_plant_defaults(param)
|
|
|
|
if minetest.get_modpath("default") then
|
|
|
|
-- default game
|
|
|
|
return default.node_sound_leaves_defaults(param)
|
|
|
|
end
|
2023-09-07 15:20:57 +02:00
|
|
|
return {}
|
2022-12-03 18:30:28 +01:00
|
|
|
end
|