From 6f444cd10e6d43404c1f12a8eaf092805724268b Mon Sep 17 00:00:00 2001 From: orwell96 Date: Thu, 24 Nov 2016 21:52:17 +0100 Subject: drop player on the platform if there is one --- misc_nodes.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc_nodes.lua') 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 = { -- cgit v1.2.3