1 local align_help = "Texture spans over a space of 8×8 nodes"
2 local align_help_n = "Tiles looks the same for every node"
4 minetest.register_node("tiled:tiled", {
5 description = "Tiled Node (world-aligned)".."\n"..align_help,
7 name = "tiled_tiled.png",
14 minetest.register_node("tiled:tiled_rooted", {
15 description = "Tiled 'plantlike_rooted' Node (world-aligned)".."\n"..
16 "Base node texture spans over a space of 8×8 nodes".."\n"..
17 "A plantlike thing grows on top",
19 drawtype = "plantlike_rooted",
21 name = "tiled_tiled.png",
22 align_style = "world",
25 special_tiles = {"tiled_tiled_node.png"},
29 minetest.register_node("tiled:tiled_n", {
30 description = "Tiled Node (node-aligned)".."\n"..align_help_n,
32 name = "tiled_tiled_node.png",
38 stairs.register_stair_and_slab("tiled_n", "tiled:tiled_n",
40 {{name="tiled_tiled_node.png", align_style="node"}},
41 "Tiled Stair (node-aligned)".."\n"..align_help_n,
42 "Tiled Slab (node-aligned)".."\n"..align_help_n)
44 stairs.register_stair_and_slab("tiled", "tiled:tiled",
46 {{name="tiled_tiled.png", align_style="world", scale=8}},
47 "Tiled Stair (world-aligned)".."\n"..align_help,
48 "Tiled Slab (world-aligned)".."\n"..align_help)