mirror of
https://github.com/minetest/minetest.git
synced 2024-12-18 04:05:43 +01:00
34 lines
918 B
Lua
34 lines
918 B
Lua
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)")
|
|
|
|
|