aboutsummaryrefslogtreecommitdiff
path: root/misc_nodes.lua
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-11-25 10:32:26 +0100
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-11-25 10:32:26 +0100
commit942b2a11e30dce52843526a58506ffb8b8ce29da (patch)
tree24ff70391127d16bfad6daefcd46a0c120abb86d /misc_nodes.lua
parent5f377f7b6c3530635064aa5d7d11f034c6eece45 (diff)
parent6f444cd10e6d43404c1f12a8eaf092805724268b (diff)
downloadadvtrains-942b2a11e30dce52843526a58506ffb8b8ce29da.tar.gz
advtrains-942b2a11e30dce52843526a58506ffb8b8ce29da.tar.bz2
advtrains-942b2a11e30dce52843526a58506ffb8b8ce29da.zip
Merge branch 'master' of https://github.com/orwell96/advtrains
Diffstat (limited to 'misc_nodes.lua')
-rw-r--r--misc_nodes.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc_nodes.lua b/misc_nodes.lua
index f792664..93829f0 100644
--- a/misc_nodes.lua
+++ b/misc_nodes.lua
@@ -15,7 +15,7 @@ function advtrains.register_platform(preset)
minetest.register_node("advtrains:platform_low_"..nodename, {
description = desc.." Platform (low)",
tiles = {btex.."^advtrains_platform.png", btex, btex, btex, btex, btex},
- groups = {cracky = 1, not_blocking_trains = 1},
+ groups = {cracky = 1, not_blocking_trains = 1, platform=1},
sounds = default.node_sound_stone_defaults(),
drawtype = "nodebox",
node_box = {
@@ -32,7 +32,7 @@ function advtrains.register_platform(preset)
minetest.register_node("advtrains:platform_high_"..nodename, {
description = desc.." Platform (high)",
tiles = {btex.."^advtrains_platform.png", btex, btex, btex, btex, btex},
- groups = {cracky = 1, not_blocking_trains = 1},
+ groups = {cracky = 1, not_blocking_trains = 1, platform=2},
sounds = default.node_sound_stone_defaults(),
drawtype = "nodebox",
node_box = {