From f54d3b2e6cbba105f6ddd8c7f006db3e04d05b0e Mon Sep 17 00:00:00 2001 From: orwell96 Date: Mon, 12 Sep 2016 21:06:00 +0200 Subject: Adding crafting recipes --- misc_nodes.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'misc_nodes.lua') 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({ -- cgit v1.2.3