mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
DevTest: Explain purpose of most items in tooltips (#12833)
This commit is contained in:
parent
804a318189
commit
c1c68775b2
19 changed files with 367 additions and 173 deletions
|
@ -3,7 +3,8 @@
|
|||
local S = minetest.get_translator("testnodes")
|
||||
|
||||
minetest.register_node("testnodes:facedir", {
|
||||
description = S("Facedir Test Node"),
|
||||
description = S("Facedir Test Node").."\n"..
|
||||
S("param2 = facedir rotation (0..23)"),
|
||||
paramtype2 = "facedir",
|
||||
tiles = {
|
||||
"testnodes_1.png",
|
||||
|
@ -18,7 +19,8 @@ minetest.register_node("testnodes:facedir", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:4dir", {
|
||||
description = S("4dir Test Node"),
|
||||
description = S("4dir Test Node").."\n"..
|
||||
S("param2 = 4dir rotation (0..3)"),
|
||||
paramtype2 = "4dir",
|
||||
tiles = {
|
||||
"testnodes_1.png^[colorize:#FFFF00:127",
|
||||
|
@ -33,7 +35,8 @@ minetest.register_node("testnodes:4dir", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:facedir_nodebox", {
|
||||
description = S("Facedir Nodebox Test Node"),
|
||||
description = S("Facedir Nodebox Test Node").."\n"..
|
||||
S("param2 = facedir rotation (0..23)"),
|
||||
tiles = {
|
||||
"testnodes_1.png",
|
||||
"testnodes_2.png",
|
||||
|
@ -54,7 +57,8 @@ minetest.register_node("testnodes:facedir_nodebox", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:4dir_nodebox", {
|
||||
description = S("4dir Nodebox Test Node"),
|
||||
description = S("4dir Nodebox Test Node").."\n"..
|
||||
S("param2 = 4dir rotation (0..3)"),
|
||||
tiles = {
|
||||
"testnodes_1.png^[colorize:#ffff00:127",
|
||||
"testnodes_2.png^[colorize:#ffff00:127",
|
||||
|
@ -75,7 +79,8 @@ minetest.register_node("testnodes:4dir_nodebox", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:wallmounted", {
|
||||
description = S("Wallmounted Test Node"),
|
||||
description = S("Wallmounted Test Node").."\n"..
|
||||
S("param2 = wallmounted rotation (0..5)"),
|
||||
paramtype2 = "wallmounted",
|
||||
tiles = {
|
||||
"testnodes_1w.png",
|
||||
|
@ -90,7 +95,8 @@ minetest.register_node("testnodes:wallmounted", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:wallmounted_nodebox", {
|
||||
description = S("Wallmounted Nodebox Test Node"),
|
||||
description = S("Wallmounted Nodebox Test Node").."\n"..
|
||||
S("param2 = wallmounted rotation (0..5)"),
|
||||
paramtype2 = "wallmounted",
|
||||
paramtype = "light",
|
||||
tiles = {
|
||||
|
@ -113,7 +119,8 @@ minetest.register_node("testnodes:wallmounted_nodebox", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:color", {
|
||||
description = S("Color Test Node"),
|
||||
description = S("Color Test Node").."\n"..
|
||||
S("param2 = color (0..255)"),
|
||||
paramtype2 = "color",
|
||||
palette = "testnodes_palette_full.png",
|
||||
tiles = {
|
||||
|
@ -124,7 +131,8 @@ minetest.register_node("testnodes:color", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:colorfacedir", {
|
||||
description = S("Color Facedir Test Node"),
|
||||
description = S("Color Facedir Test Node").."\n"..
|
||||
S("param2 = color + facedir rotation (0..23, 32..55, ...)"),
|
||||
paramtype2 = "colorfacedir",
|
||||
palette = "testnodes_palette_facedir.png",
|
||||
tiles = {
|
||||
|
@ -140,7 +148,8 @@ minetest.register_node("testnodes:colorfacedir", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:colorfacedir_nodebox", {
|
||||
description = S("Color Facedir Nodebox Test Node"),
|
||||
description = S("Color Facedir Nodebox Test Node").."\n"..
|
||||
S("param2 = color + facedir rotation (0..23, 32..55, ...)"),
|
||||
tiles = {
|
||||
"testnodes_1g.png",
|
||||
"testnodes_2g.png",
|
||||
|
@ -162,7 +171,8 @@ minetest.register_node("testnodes:colorfacedir_nodebox", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:color4dir", {
|
||||
description = S("Color 4dir Test Node"),
|
||||
description = S("Color 4dir Test Node").."\n"..
|
||||
S("param2 = color + 4dir rotation (0..255)"),
|
||||
paramtype2 = "color4dir",
|
||||
palette = "testnodes_palette_4dir.png",
|
||||
tiles = {
|
||||
|
@ -178,7 +188,8 @@ minetest.register_node("testnodes:color4dir", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:color4dir_nodebox", {
|
||||
description = S("Color 4dir Nodebox Test Node"),
|
||||
description = S("Color 4dir Nodebox Test Node").."\n"..
|
||||
S("param2 = color + 4dir rotation (0..255)"),
|
||||
tiles = {
|
||||
"testnodes_1g.png",
|
||||
"testnodes_2g.png",
|
||||
|
@ -200,7 +211,8 @@ minetest.register_node("testnodes:color4dir_nodebox", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:colorwallmounted", {
|
||||
description = S("Color Wallmounted Test Node"),
|
||||
description = S("Color Wallmounted Test Node").."\n"..
|
||||
S("param2 = color + wallmounted rotation (0..5, 8..13, ...)"),
|
||||
paramtype2 = "colorwallmounted",
|
||||
paramtype = "light",
|
||||
palette = "testnodes_palette_wallmounted.png",
|
||||
|
@ -217,7 +229,8 @@ minetest.register_node("testnodes:colorwallmounted", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:colorwallmounted_nodebox", {
|
||||
description = S("Color Wallmounted Nodebox Test Node"),
|
||||
description = S("Color Wallmounted Nodebox Test Node").."\n"..
|
||||
S("param2 = color + wallmounted rotation (0..5, 8..13, ...)"),
|
||||
paramtype2 = "colorwallmounted",
|
||||
paramtype = "light",
|
||||
palette = "testnodes_palette_wallmounted.png",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue