aboutsummaryrefslogtreecommitdiff
path: root/misc_nodes.lua
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2016-11-24 21:52:17 +0100
committerorwell96 <mono96.mml@gmail.com>2016-11-24 21:52:51 +0100
commit6f444cd10e6d43404c1f12a8eaf092805724268b (patch)
tree6e885e80a13358080e5353a10a4f9585c80dc1a9 /misc_nodes.lua
parent8c43f4d02693cddde0eb136ad9fe5d2f2bf210a4 (diff)
downloadadvtrains-6f444cd10e6d43404c1f12a8eaf092805724268b.tar.gz
advtrains-6f444cd10e6d43404c1f12a8eaf092805724268b.tar.bz2
advtrains-6f444cd10e6d43404c1f12a8eaf092805724268b.zip
drop player on the platform if there is one
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 = {