summaryrefslogtreecommitdiff
path: root/games/devtest/mods/tiled/init.lua
blob: 68ead8e3a54b43955a0200304f121fc9548fcfa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
minetest.register_node("tiled:tiled", {
        description = "Tiled Node (world-aligned)",
        tiles = {{
                name = "tiled_tiled.png",
                align_style = "world",
                scale = 8,
        }},
        groups = {cracky=3},
})

minetest.register_node("tiled:tiled_n", {
        description = "Tiled Node (node-aligned)",
        tiles = {{
                name = "tiled_tiled.png",
                align_style = "node",
                scale = 8,
        }},
        groups = {cracky=3},
})

stairs.register_stair_and_slab("tiled_n", "tiled:tiled",
		{cracky=3},
		{{name="tiled_tiled.png", align_style="node", scale=8}},
		"Tiled Stair (node-aligned)",
		"Tiled Slab (node-aligned)")

stairs.register_stair_and_slab("tiled", "tiled:tiled",
		{cracky=3},
		{{name="tiled_tiled.png", align_style="world", scale=8}},
		"Tiled Stair (world-aligned)",
		"Tiled Slab (world-aligned)")