aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-07-22 20:29:09 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-07-22 20:29:09 +0300
commit246520b5cb40b0a77dcf7bfdde358657327c115e (patch)
tree96a4d39b9292a51eba9a554462aea5ea7b219ad2 /src/server.cpp
parent38bb6495821e6fd6da61ae742ff0f2e2d0499cc8 (diff)
downloadminetest-246520b5cb40b0a77dcf7bfdde358657327c115e.tar.gz
minetest-246520b5cb40b0a77dcf7bfdde358657327c115e.tar.bz2
minetest-246520b5cb40b0a77dcf7bfdde358657327c115e.zip
Fix compressZlib()
Diffstat (limited to 'src/server.cpp')
0 files changed, 0 insertions, 0 deletions
class="hl kwd">register_stair(subname, recipeitem, groups, images, description) minetest.register_node("stairs:stair_" .. subname, { description = description, drawtype = "nodebox", tile_images = images, paramtype = "light", paramtype2 = "facedir", is_ground_content = true, groups = groups, 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_craft({ output = 'stairs:stair_' .. subname .. ' 4', recipe = { {recipeitem, "", ""}, {recipeitem, recipeitem, ""}, {recipeitem, recipeitem, recipeitem}, }, }) end -- Node will be called stairs:slab_<subname> function stairs.register_slab(subname, recipeitem, groups, images, description) minetest.register_node("stairs:slab_" .. subname, { description = description, drawtype = "nodebox", tile_images = images, paramtype = "light", is_ground_content = true, groups = groups, node_box = { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, }, selection_box = { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, }, })