aboutsummaryrefslogtreecommitdiff
path: root/src/porting.h
diff options
context:
space:
mode:
authorJoan CipriĆ  Moreno <joancipria@gmail.com>2015-11-12 12:48:26 +0100
committerest31 <MTest31@outlook.com>2015-11-15 13:40:13 +0100
commitb54f5ddfec1765351e5ef14eb8f630da3d0a122a (patch)
tree1f98c8cf613938bce35830421a1e621d2bd18e62 /src/porting.h
parentc0e2bc30e5b6adab8fab7b03326d462120cd7707 (diff)
downloadminetest-b54f5ddfec1765351e5ef14eb8f630da3d0a122a.tar.gz
minetest-b54f5ddfec1765351e5ef14eb8f630da3d0a122a.tar.bz2
minetest-b54f5ddfec1765351e5ef14eb8f630da3d0a122a.zip
Translated using Weblate (Spanish)
Currently translated at 31.6% (249 of 787 strings)
Diffstat (limited to 'src/porting.h')
0 files changed, 0 insertions, 0 deletions
class="hl opt">, recipeitem, groups, images, description) minetest.register_node("stairs:stair_" .. subname, { description = description, drawtype = "nodebox", tiles = 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", tiles = 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",