mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Code style fixes.
This commit is contained in:
parent
24e9db07ec
commit
af3f696423
43 changed files with 493 additions and 484 deletions
|
@ -2,37 +2,38 @@ local align_help = "Texture spans over a space of 8×8 nodes"
|
|||
local align_help_n = "Tiles looks the same for every node"
|
||||
|
||||
core.register_node("tiled:tiled", {
|
||||
description = "Tiled Node (world-aligned)".."\n"..align_help,
|
||||
tiles = {{
|
||||
name = "tiled_tiled.png",
|
||||
align_style = "world",
|
||||
scale = 8,
|
||||
}},
|
||||
groups = {cracky=3},
|
||||
description = "Tiled Node (world-aligned)".."\n"..align_help,
|
||||
tiles = {{
|
||||
name = "tiled_tiled.png",
|
||||
align_style = "world",
|
||||
scale = 8,
|
||||
}},
|
||||
groups = {cracky=3},
|
||||
})
|
||||
|
||||
core.register_node("tiled:tiled_rooted", {
|
||||
description = "Tiled 'plantlike_rooted' Node (world-aligned)".."\n"..
|
||||
"Base node texture spans over a space of 8×8 nodes".."\n"..
|
||||
"A plantlike thing grows on top",
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike_rooted",
|
||||
tiles = {{
|
||||
name = "tiled_tiled.png",
|
||||
align_style = "world",
|
||||
scale = 8,
|
||||
}},
|
||||
special_tiles = {"tiled_tiled_node.png"},
|
||||
groups = {cracky=3},
|
||||
description =
|
||||
"Tiled 'plantlike_rooted' Node (world-aligned)".."\n"..
|
||||
"Base node texture spans over a space of 8×8 nodes".."\n"..
|
||||
"A plantlike thing grows on top",
|
||||
paramtype = "light",
|
||||
drawtype = "plantlike_rooted",
|
||||
tiles = {{
|
||||
name = "tiled_tiled.png",
|
||||
align_style = "world",
|
||||
scale = 8,
|
||||
}},
|
||||
special_tiles = {"tiled_tiled_node.png"},
|
||||
groups = {cracky=3},
|
||||
})
|
||||
|
||||
core.register_node("tiled:tiled_n", {
|
||||
description = "Tiled Node (node-aligned)".."\n"..align_help_n,
|
||||
tiles = {{
|
||||
name = "tiled_tiled_node.png",
|
||||
align_style = "node",
|
||||
}},
|
||||
groups = {cracky=3},
|
||||
description = "Tiled Node (node-aligned)".."\n"..align_help_n,
|
||||
tiles = {{
|
||||
name = "tiled_tiled_node.png",
|
||||
align_style = "node",
|
||||
}},
|
||||
groups = {cracky=3},
|
||||
})
|
||||
|
||||
stairs.register_stair_and_slab("tiled_n", "tiled:tiled_n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue