aboutsummaryrefslogtreecommitdiff
path: root/misc_nodes.lua
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2016-09-12 21:06:00 +0200
committerorwell96 <mono96.mml@gmail.com>2016-09-12 21:06:00 +0200
commitf54d3b2e6cbba105f6ddd8c7f006db3e04d05b0e (patch)
tree85e375bae1e658798e239c186820afab9411adb6 /misc_nodes.lua
parent1cffe6a9b63305eaccce007af5db522cfb5989d1 (diff)
downloadadvtrains-f54d3b2e6cbba105f6ddd8c7f006db3e04d05b0e.tar.gz
advtrains-f54d3b2e6cbba105f6ddd8c7f006db3e04d05b0e.tar.bz2
advtrains-f54d3b2e6cbba105f6ddd8c7f006db3e04d05b0e.zip
Adding crafting recipes
Diffstat (limited to 'misc_nodes.lua')
-rw-r--r--misc_nodes.lua14
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({