Add extended tooltips
This commit is contained in:
parent
71cee9920a
commit
ba74546d48
81 changed files with 647 additions and 22 deletions
|
@ -4,6 +4,7 @@ local S = minetest.get_translator("mcl_core")
|
|||
|
||||
minetest.register_node("mcl_core:cactus", {
|
||||
description = S("Cactus"),
|
||||
_tt_help = S("Grows on sand").."\n"..S("Contact damage: @1 per half second", 1),
|
||||
_doc_items_longdesc = S("This is a piece of cactus commonly found in dry areas, especially deserts. Over time, cacti will grow up to 3 blocks high on sand or red sand. A cactus hurts living beings touching it with a damage of 1 HP every half second. When a cactus block is broken, all cactus blocks connected above it will break as well."),
|
||||
_doc_items_usagehelp = S("A cactus can only be placed on top of another cactus or any sand."),
|
||||
drawtype = "nodebox",
|
||||
|
@ -47,6 +48,7 @@ minetest.register_node("mcl_core:cactus", {
|
|||
|
||||
minetest.register_node("mcl_core:reeds", {
|
||||
description = S("Sugar Canes"),
|
||||
_tt_help = S("Grows on sand or dirt next to water"),
|
||||
_doc_items_longdesc = S("Sugar canes are a plant which has some uses in crafting. Sugar canes will slowly grow up to 3 blocks when they are next to water and are placed on a grass block, dirt, sand, red sand, podzol or coarse dirt. When a sugar cane is broken, all sugar canes connected above will break as well."),
|
||||
_doc_items_usagehelp = S("Sugar canes can only be placed top of other sugar canes and on top of blocks on which they would grow."),
|
||||
drawtype = "plantlike",
|
||||
|
|
|
@ -56,6 +56,7 @@ minetest.register_node("mcl_core:slimeblock", {
|
|||
|
||||
minetest.register_node("mcl_core:cobweb", {
|
||||
description = S("Cobweb"),
|
||||
_tt_help = S("Slows down movement"),
|
||||
_doc_items_longdesc = S("Cobwebs can be walked through, but significantly slow you down."),
|
||||
drawtype = "plantlike",
|
||||
paramtype2 = "degrotate",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue