diff options
author | webdesigner97 <Christian_D_97@gmx.de> | 2013-11-24 20:11:27 +0100 |
---|---|---|
committer | webdesigner97 <Christian_D_97@gmx.de> | 2013-11-24 20:11:27 +0100 |
commit | 09ab936c5c1f73cff63d309badf6c2d0742768ae (patch) | |
tree | 18ad5ac274d8625071bd941a76e419dd9765770d /asphaltstairs/function.lua | |
parent | b1ac7abba79201778f60e1b4ec44f90ca1ed1ba4 (diff) | |
parent | 4fab78d25b26bb9111aa5d5da0511c8395f0c5ca (diff) | |
download | roads-09ab936c5c1f73cff63d309badf6c2d0742768ae.tar roads-09ab936c5c1f73cff63d309badf6c2d0742768ae.tar.gz roads-09ab936c5c1f73cff63d309badf6c2d0742768ae.tar.bz2 roads-09ab936c5c1f73cff63d309badf6c2d0742768ae.tar.xz roads-09ab936c5c1f73cff63d309badf6c2d0742768ae.zip |
Merge branch 'indev'
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 |