diff options
Diffstat (limited to 'misc_nodes.lua')
-rw-r--r-- | misc_nodes.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/misc_nodes.lua b/misc_nodes.lua index 3e4742c..aeb1cfc 100644 --- a/misc_nodes.lua +++ b/misc_nodes.lua @@ -47,6 +47,20 @@ function advtrains.register_platform(preset) paramtype = "light", sunlight_propagates = true, }) + minetest.register_craft({ + type="shapeless", + output = "advtrains:platform_high_"..nodename.." 4", + recipe = { + "dye:yellow", preset, preset + }, + }) + minetest.register_craft({ + type="shapeless", + output = "advtrains:platform_low_"..nodename.." 4", + recipe = { + "dye:yellow", preset + }, + }) end minetest.register_abm({ |