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:
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:6sides", {
|
||||
description = S("Six Textures Test Node"),
|
||||
description = S("Six Textures Test Node").."\n"..
|
||||
S("Has 1 texture per face"),
|
||||
tiles = {
|
||||
"testnodes_normal1.png",
|
||||
"testnodes_normal2.png",
|
||||
|
@ -17,7 +18,8 @@ minetest.register_node("testnodes:6sides", {
|
|||
})
|
||||
|
||||
minetest.register_node("testnodes:anim", {
|
||||
description = S("Animated Test Node"),
|
||||
description = S("Animated Test Node").."\n"..
|
||||
S("Tiles animate from A to D in 4s cycle"),
|
||||
tiles = {
|
||||
{ name = "testnodes_anim.png",
|
||||
animation = {
|
||||
|
@ -40,7 +42,8 @@ for a=1,#alphas do
|
|||
|
||||
-- Transparency taken from texture
|
||||
minetest.register_node("testnodes:alpha_texture_"..alpha, {
|
||||
description = S("Texture Alpha Test Node (@1)", alpha),
|
||||
description = S("Texture Alpha Test Node (@1)", alpha).."\n"..
|
||||
S("Semi-transparent"),
|
||||
drawtype = "glasslike",
|
||||
paramtype = "light",
|
||||
tiles = {
|
||||
|
@ -53,7 +56,8 @@ for a=1,#alphas do
|
|||
|
||||
-- Transparency set via texture modifier
|
||||
minetest.register_node("testnodes:alpha_"..alpha, {
|
||||
description = S("Alpha Test Node (@1)", alpha),
|
||||
description = S("Alpha Test Node (@1)", alpha).."\n"..
|
||||
S("Semi-transparent"),
|
||||
drawtype = "glasslike",
|
||||
paramtype = "light",
|
||||
tiles = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue