diff options
author | orwell96 <mono96.mml@gmail.com> | 2016-09-12 21:06:00 +0200 |
---|---|---|
committer | orwell96 <mono96.mml@gmail.com> | 2016-09-12 21:06:00 +0200 |
commit | f54d3b2e6cbba105f6ddd8c7f006db3e04d05b0e (patch) | |
tree | 85e375bae1e658798e239c186820afab9411adb6 /misc_nodes.lua | |
parent | 1cffe6a9b63305eaccce007af5db522cfb5989d1 (diff) | |
download | advtrains-f54d3b2e6cbba105f6ddd8c7f006db3e04d05b0e.tar.gz advtrains-f54d3b2e6cbba105f6ddd8c7f006db3e04d05b0e.tar.bz2 advtrains-f54d3b2e6cbba105f6ddd8c7f006db3e04d05b0e.zip |
Adding crafting recipes
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({ |