diff options
author | webdesigner97 <Christian_D_97@gmx.de> | 2013-10-16 10:10:19 +0200 |
---|---|---|
committer | webdesigner97 <Christian_D_97@gmx.de> | 2013-10-16 10:10:19 +0200 |
commit | 5508d85d407282c391336bdcb8937a26f21e8c6d (patch) | |
tree | 576e28479f4fd8f3647e970abaa2bccfecd42425 /asphaltstairs/function.lua | |
parent | fe7607750f24d1ee8daa38d648fc39e056ef6779 (diff) | |
download | roads-5508d85d407282c391336bdcb8937a26f21e8c6d.tar roads-5508d85d407282c391336bdcb8937a26f21e8c6d.tar.gz roads-5508d85d407282c391336bdcb8937a26f21e8c6d.tar.bz2 roads-5508d85d407282c391336bdcb8937a26f21e8c6d.tar.xz roads-5508d85d407282c391336bdcb8937a26f21e8c6d.zip |
Lightened code
Diffstat (limited to 'asphaltstairs/function.lua')
-rw-r--r-- | asphaltstairs/function.lua | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/asphaltstairs/function.lua b/asphaltstairs/function.lua deleted file mode 100644 index 9879d4c..0000000 --- a/asphaltstairs/function.lua +++ /dev/null @@ -1,56 +0,0 @@ --- StreetsMod needs a special slab definition, so it needs its own register_stair_and_slab -streets.register_stair_and_slab = function(node,desc,tile,item) - minetest.register_node(":streets:"..node.."_stair",{ - description = desc.."stair", - groups = {cracky = 3}, - tiles = tile, - paramtype = "light", - paramtype2 = "facedir", - drawtype = "nodebox", - node_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, - {-0.5, 0, 0, 0.5, 0.5, 0.5} - } - } - }) - minetest.register_node(":streets:"..node.."_slab",{ - description = desc.." slab", - groups = {cracky = 3}, - tiles = tile, - paramtype = "light", - paramtype2 = "facedir", - drawtype = "nodebox", - node_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, - } - } - }) - minetest.register_craft({ - output = "streets:"..node.."_stair 4", - recipe = { - {"","",item}, - {"",item,item}, - {item,item,item} - } - }) - minetest.register_craft({ - output = "streets:"..node.."_stair 4", - recipe = { - {item,"",""}, - {item,item,""}, - {item,item,item} - } - }) - minetest.register_craft({ - output = "streets:"..node.."_slab 3", - recipe = { - {"","",""}, - {"","",""}, - {item,item,item} - } - }) -end
\ No newline at end of file |