1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

DevTest: Explain purpose of most items in tooltips (#12833)

This commit is contained in:
Wuzzy 2022-10-09 14:05:22 +02:00 committed by GitHub
parent 804a318189
commit c1c68775b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 367 additions and 173 deletions

View file

@ -1,5 +1,8 @@
local align_help = "Texture spans over a space of 8×8 nodes"
local align_help_n = "Tiles looks the same for every node"
minetest.register_node("tiled:tiled", {
description = "Tiled Node (world-aligned)",
description = "Tiled Node (world-aligned)".."\n"..align_help,
tiles = {{
name = "tiled_tiled.png",
align_style = "world",
@ -9,7 +12,7 @@ minetest.register_node("tiled:tiled", {
})
minetest.register_node("tiled:tiled_n", {
description = "Tiled Node (node-aligned)",
description = "Tiled Node (node-aligned)".."\n"..align_help_n,
tiles = {{
name = "tiled_tiled_node.png",
align_style = "node",
@ -20,13 +23,13 @@ minetest.register_node("tiled:tiled_n", {
stairs.register_stair_and_slab("tiled_n", "tiled:tiled_n",
{cracky=3},
{{name="tiled_tiled_node.png", align_style="node"}},
"Tiled Stair (node-aligned)",
"Tiled Slab (node-aligned)")
"Tiled Stair (node-aligned)".."\n"..align_help_n,
"Tiled Slab (node-aligned)".."\n"..align_help_n)
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)")
"Tiled Stair (world-aligned)".."\n"..align_help,
"Tiled Slab (world-aligned)".."\n"..align_help)