aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_settings.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-06-28 12:11:06 +0200
committersfan5 <sfan5@live.de>2022-06-28 12:21:12 +0200
commita5f385917d0db5097e3cd4a1c6de794bda20c01f (patch)
treec9a94eecf4f2fafcc5b0d09acff90d5a8d911671 /src/script/lua_api/l_settings.h
parent18fbc0394b9b3fc4e1e72550fb0e1113ee72ce64 (diff)
downloadminetest-a5f385917d0db5097e3cd4a1c6de794bda20c01f.tar.gz
minetest-a5f385917d0db5097e3cd4a1c6de794bda20c01f.tar.bz2
minetest-a5f385917d0db5097e3cd4a1c6de794bda20c01f.zip
Remove an unused method and header includes
Diffstat (limited to 'src/script/lua_api/l_settings.h')
0 files changed, 0 insertions, 0 deletions
, 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}, }, }) minetest.register_craft({ output = 'stairs:slab_' .. subname .. ' 3', recipe = { {recipeitem, recipeitem, recipeitem}, }, }) end -- Nodes will be called stairs:{stair,slab}_<subname> function stairs.register_stair_and_slab(subname, recipeitem, groups, images, desc_stair, desc_slab) stairs.register_stair(subname, recipeitem, groups, images, desc_stair) stairs.register_slab(subname, recipeitem, groups, images, desc_slab) end stairs.register_stair_and_slab("wood", "default:wood", {snappy=2,choppy=2,oddly_breakable_by_hand=2}, {"default_wood.png"}, "Wooden stair", "Wooden slab") stairs.register_stair_and_slab("stone", "default:stone", {cracky=3}, {"default_stone.png"}, "Stone stair", "Stone slab") stairs.register_stair_and_slab("cobble", "default:cobble", {cracky=3}, {"default_cobble.png"}, "Cobble stair", "Cobble slab") stairs.register_stair_and_slab("brick", "default:brick", {cracky=3}, {"default_brick.png"}, "Brick stair", "Brick slab") stairs.register_stair_and_slab("sandstone", "default:sandstone", {crumbly=2,cracky=2}, {"default_sandstone.png"}, "Sandstone stair", "Sandstone slab")