summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorOch Noe <och_noe@forksworld.de>2019-05-27 14:01:40 +0200
committerOch Noe <och_noe@forksworld.de>2019-05-27 14:01:40 +0200
commit5694bb1dfb7f167c0c5f185943c19107c5fa4ffc (patch)
tree5020787599abfb3959a0167cc51629291c1baf11 /init.lua
parent5602b46364db2249beb7fa4bc03ebe2489bcc332 (diff)
downloadadvtrains_platform-5694bb1dfb7f167c0c5f185943c19107c5fa4ffc.tar.gz
advtrains_platform-5694bb1dfb7f167c0c5f185943c19107c5fa4ffc.tar.bz2
advtrains_platform-5694bb1dfb7f167c0c5f185943c19107c5fa4ffc.zip
node with version information added
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index e9abb32..ed66ee2 100644
--- a/init.lua
+++ b/init.lua
@@ -290,3 +290,20 @@ end
end
+
+
+minetest.register_node(own_name..":version_node", {
+ description = own_name.." version node",
+ tiles = {own_name.."_version_node.png"},
+ groups = {cracky = 3,not_in_creative_inventory=1},
+ })
+
+minetest.register_craft({
+ output = own_name..":version_node",
+ recipe = {
+ { "advtrains_platform:platform_high_cobble" },
+ { "advtrains_platform:platform_high_stone" },
+ { adv_track },
+ },
+ })
+