aboutsummaryrefslogtreecommitdiff
path: root/advtrains/misc_nodes.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2021-04-04 19:48:35 +0200
committerorwell96 <orwell@bleipb.de>2021-04-04 19:48:35 +0200
commit3dc6426e861b7c7e7fa14ab82d62a7d818ea0d2e (patch)
treed935a61f39404d53992cf2defd3289910c0dea6d /advtrains/misc_nodes.lua
parent99e619a2e57683196e2da5dba2346184554a3019 (diff)
downloadadvtrains-3dc6426e861b7c7e7fa14ab82d62a7d818ea0d2e.tar.gz
advtrains-3dc6426e861b7c7e7fa14ab82d62a7d818ea0d2e.tar.bz2
advtrains-3dc6426e861b7c7e7fa14ab82d62a7d818ea0d2e.zip
Remove sounds = default.sound_stone_defaults() as default is no longer a dependency
Diffstat (limited to 'advtrains/misc_nodes.lua')
-rw-r--r--advtrains/misc_nodes.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/advtrains/misc_nodes.lua b/advtrains/misc_nodes.lua
index fe484ac..bcf7329 100644
--- a/advtrains/misc_nodes.lua
+++ b/advtrains/misc_nodes.lua
@@ -16,7 +16,7 @@ function advtrains.register_platform(modprefix, preset)
description = attrans("@1 Platform (low)", desc),
tiles = {btex.."^advtrains_platform.png", btex, btex, btex, btex, btex},
groups = {cracky = 1, not_blocking_trains = 1, platform=1},
- sounds = default.node_sound_stone_defaults(),
+ sounds = ndef.sounds,
drawtype = "nodebox",
node_box = {
type = "fixed",
@@ -33,7 +33,7 @@ function advtrains.register_platform(modprefix, preset)
description = attrans("@1 Platform (high)", desc),
tiles = {btex.."^advtrains_platform.png", btex, btex, btex, btex, btex},
groups = {cracky = 1, not_blocking_trains = 1, platform=2},
- sounds = default.node_sound_stone_defaults(),
+ sounds = ndef.sounds,
drawtype = "nodebox",
node_box = {
type = "fixed",
@@ -58,7 +58,7 @@ function advtrains.register_platform(modprefix, preset)
minetest.register_node(modprefix..":platform_45_"..nodename, {
description = attrans("@1 Platform (45 degree)", desc),
groups = {cracky = 1, not_blocking_trains = 1, platform=2},
- sounds = default.node_sound_stone_defaults(),
+ sounds = ndef.sounds,
drawtype = "mesh",
mesh = "advtrains_platform_diag.b3d",
selection_box = diagonalbox,
@@ -80,7 +80,7 @@ function advtrains.register_platform(modprefix, preset)
minetest.register_node(modprefix..":platform_45_low_"..nodename, {
description = attrans("@1 Platform (low, 45 degree)", desc),
groups = {cracky = 1, not_blocking_trains = 1, platform=2},
- sounds = default.node_sound_stone_defaults(),
+ sounds = ndef.sounds,
drawtype = "mesh",
mesh = "advtrains_platform_diag_low.b3d",
selection_box = diagonalbox_low,