mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +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
|
@ -4,7 +4,8 @@ local S = minetest.get_translator("testnodes")
|
|||
|
||||
-- An simple example nodebox with one centered box
|
||||
minetest.register_node("testnodes:nodebox_fixed", {
|
||||
description = S("Fixed Nodebox Test Node"),
|
||||
description = S("Fixed Nodebox Test Node").."\n"..
|
||||
S("Nodebox is always the same"),
|
||||
tiles = {"testnodes_nodebox.png"},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
|
@ -47,7 +48,8 @@ minetest.register_node("testnodes:nodebox_overhigh2", {
|
|||
|
||||
-- Height of nodebox changes with its param2 value
|
||||
minetest.register_node("testnodes:nodebox_leveled", {
|
||||
description = S("Leveled Nodebox Test Node"),
|
||||
description = S("Leveled Nodebox Test Node").."\n"..
|
||||
S("param2 = height (0..127)"),
|
||||
tiles = {"testnodes_nodebox.png"},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
|
@ -81,7 +83,8 @@ local nodebox_wall_thick = {
|
|||
|
||||
-- Wall-like nodebox that connects to neighbors
|
||||
minetest.register_node("testnodes:nodebox_connected", {
|
||||
description = S("Connected Nodebox Test Node"),
|
||||
description = S("Connected Nodebox Test Node").."\n"..
|
||||
S("Connects to neighbors"),
|
||||
tiles = {"testnodes_nodebox.png"},
|
||||
groups = {connected_nodebox=1, dig_immediate=3},
|
||||
drawtype = "nodebox",
|
||||
|
@ -92,7 +95,9 @@ minetest.register_node("testnodes:nodebox_connected", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:nodebox_connected_facedir", {
|
||||
description = S("Facedir Connected Nodebox Test Node"),
|
||||
description = S("Facedir Connected Nodebox Test Node").."\n"..
|
||||
S("Connects to neighbors").."\n"..
|
||||
S("param2 = facedir rotation of textures (not of the nodebox!)"),
|
||||
tiles = {
|
||||
"testnodes_1.png",
|
||||
"testnodes_2.png",
|
||||
|
@ -111,7 +116,9 @@ minetest.register_node("testnodes:nodebox_connected_facedir", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:nodebox_connected_4dir", {
|
||||
description = S("4Dir Connected Nodebox Test Node"),
|
||||
description = S("4Dir Connected Nodebox Test Node").."\n"..
|
||||
S("Connects to neighbors").."\n"..
|
||||
S("param2 = 4dir rotation of textures (not of the nodebox!)"),
|
||||
tiles = {
|
||||
"testnodes_1.png^[colorize:#FFFF00:127",
|
||||
"testnodes_2.png^[colorize:#FFFF00:127",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue