Add help texts for deco and building blocks

Wuzzy 2017-03-18 18:01:28 +01:00
parent 7f572f1dcd
commit 1b3a2550f1
6 changed files with 23 additions and 2 deletions

@ -176,6 +176,7 @@ end)
-- Bookshelf -- Bookshelf
minetest.register_node("mcl_books:bookshelf", { minetest.register_node("mcl_books:bookshelf", {
description = "Bookshelf", description = "Bookshelf",
_doc_items_longdesc = "Bookshelves are used for decoration.",
tiles = {"default_wood.png", "default_wood.png", "default_bookshelf.png"}, tiles = {"default_wood.png", "default_wood.png", "default_bookshelf.png"},
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,

@ -1,3 +1,4 @@
mcl_init mcl_init
mcl_sounds mcl_sounds
mcl_util mcl_util
doc_items

@ -237,6 +237,7 @@ minetest.register_node("mcl_core:stone_with_diamond", {
minetest.register_node("mcl_core:stonebrick", { minetest.register_node("mcl_core:stonebrick", {
description = "Stone Bricks", description = "Stone Bricks",
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_stone_brick.png"}, tiles = {"default_stone_brick.png"},
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, deco_block=1, material_stone=1}, groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, deco_block=1, material_stone=1},
@ -248,6 +249,7 @@ minetest.register_node("mcl_core:stonebrick", {
minetest.register_node("mcl_core:stonebrickcarved", { minetest.register_node("mcl_core:stonebrickcarved", {
description = "Chiseled Stone Bricks", description = "Chiseled Stone Bricks",
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_stonebrick_carved.png"}, tiles = {"default_stonebrick_carved.png"},
is_ground_content = false, is_ground_content = false,
stack_max = 64, stack_max = 64,
@ -260,6 +262,7 @@ minetest.register_node("mcl_core:stonebrickcarved", {
minetest.register_node("mcl_core:stonebrickcracked", { minetest.register_node("mcl_core:stonebrickcracked", {
description = "Cracked Stone Bricks", description = "Cracked Stone Bricks",
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_stonebrick_cracked.png"}, tiles = {"default_stonebrick_cracked.png"},
is_ground_content = false, is_ground_content = false,
stack_max = 64, stack_max = 64,
@ -272,6 +275,7 @@ minetest.register_node("mcl_core:stonebrickcracked", {
minetest.register_node("mcl_core:stonebrickmossy", { minetest.register_node("mcl_core:stonebrickmossy", {
description = "Mossy Stone Bricks", description = "Mossy Stone Bricks",
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_stonebrick_mossy.png"}, tiles = {"default_stonebrick_mossy.png"},
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, deco_block=1, material_stone=1}, groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, deco_block=1, material_stone=1},
@ -597,6 +601,7 @@ minetest.register_node("mcl_core:brick_block", {
minetest.register_node("mcl_core:bone_block", { minetest.register_node("mcl_core:bone_block", {
description = "Bone Block", description = "Bone Block",
_doc_items_longdesc = "Bone blocks are decorational blocks and a compact storage of bone meal.",
tiles = {"mcl_core_bone_block_top.png", "mcl_core_bone_block_top.png", "mcl_core_bone_block_side.png"}, tiles = {"mcl_core_bone_block_top.png", "mcl_core_bone_block_top.png", "mcl_core_bone_block_side.png"},
is_ground_content = false, is_ground_content = false,
paramtype2 = "facedir", paramtype2 = "facedir",
@ -681,6 +686,7 @@ minetest.register_node("mcl_core:leaves", {
minetest.register_node("mcl_core:wood", { minetest.register_node("mcl_core:wood", {
description = "Oak Wood Planks", description = "Oak Wood Planks",
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_wood.png"}, tiles = {"default_wood.png"},
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
@ -761,6 +767,7 @@ minetest.register_node("mcl_core:darkleaves", {
minetest.register_node("mcl_core:darkwood", { minetest.register_node("mcl_core:darkwood", {
description = "Dark Oak Wood Planks", description = "Dark Oak Wood Planks",
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_planks_big_oak.png"}, tiles = {"default_planks_big_oak.png"},
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
@ -809,6 +816,7 @@ minetest.register_node("mcl_core:jungletree", {
minetest.register_node("mcl_core:junglewood", { minetest.register_node("mcl_core:junglewood", {
description = "Jungle Wood Planks", description = "Jungle Wood Planks",
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_junglewood.png"}, tiles = {"default_junglewood.png"},
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
@ -886,6 +894,7 @@ minetest.register_node("mcl_core:acaciatree", {
minetest.register_node("mcl_core:acaciawood", { minetest.register_node("mcl_core:acaciawood", {
description = "Acacia Wood Planks", description = "Acacia Wood Planks",
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_acaciawood.png"}, tiles = {"default_acaciawood.png"},
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
@ -961,6 +970,7 @@ minetest.register_node("mcl_core:sprucetree", {
minetest.register_node("mcl_core:sprucewood", { minetest.register_node("mcl_core:sprucewood", {
description = "Spruce Wood Planks", description = "Spruce Wood Planks",
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_sprucewood.png"}, tiles = {"default_sprucewood.png"},
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
@ -1042,6 +1052,7 @@ minetest.register_node("mcl_core:birchtree", {
minetest.register_node("mcl_core:birchwood", { minetest.register_node("mcl_core:birchwood", {
description = "Birch Wood Planks", description = "Birch Wood Planks",
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_planks_birch.png"}, tiles = {"default_planks_birch.png"},
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
@ -1552,6 +1563,7 @@ minetest.register_node("mcl_core:lava_source", {
minetest.register_node("mcl_core:cobble", { minetest.register_node("mcl_core:cobble", {
description = "Cobblestone", description = "Cobblestone",
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_cobble.png"}, tiles = {"default_cobble.png"},
is_ground_content = false, is_ground_content = false,
stack_max = 64, stack_max = 64,
@ -1563,6 +1575,7 @@ minetest.register_node("mcl_core:cobble", {
minetest.register_node("mcl_core:mossycobble", { minetest.register_node("mcl_core:mossycobble", {
description = "Moss Stone", description = "Moss Stone",
_doc_items_longdesc = doc.sub.items.temp.build,
tiles = {"default_mossycobble.png"}, tiles = {"default_mossycobble.png"},
is_ground_content = false, is_ground_content = false,
stack_max = 64, stack_max = 64,

@ -39,8 +39,8 @@ local function addhead(node, desc, longdesc)
end end
-- Add heads -- Add heads
addhead("zombie", "Zombie Head", "A zombie heads is a small decorative block which resembles the head of a zombie.") addhead("zombie", "Zombie Head", "A zombie head is a small decorative block which resembles the head of a zombie.")
addhead("creeper", "Creeper Head", "A creeper heads is a small decorative block which resembles the head of a creeper.") addhead("creeper", "Creeper Head", "A creeper head is a small decorative block which resembles the head of a creeper.")
-- Original Minecraft name: “Head” -- Original Minecraft name: “Head”
addhead("steve", "Human Head", "A human head is a small decorative block which resembles the head of a human (i.e. a player character).") addhead("steve", "Human Head", "A human head is a small decorative block which resembles the head of a human (i.e. a player character).")
addhead("skeleton", "Skeleton Skull", "A skeleton skull is a small decorative block which resembles the head of a skeleton.") addhead("skeleton", "Skeleton Skull", "A skeleton skull is a small decorative block which resembles the head of a skeleton.")

@ -1,3 +1,4 @@
mcl_sounds mcl_sounds
mcl_util mcl_util
walkover walkover
doc_items

@ -84,6 +84,7 @@ minetest.register_node("mcl_nether:soul_sand", {
minetest.register_node("mcl_nether:nether_brick", { minetest.register_node("mcl_nether:nether_brick", {
-- Original name: Nether Brick -- Original name: Nether Brick
description = "Nether Brick Block", description = "Nether Brick Block",
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64, stack_max = 64,
tiles = {"mcl_nether_nether_brick.png"}, tiles = {"mcl_nether_nether_brick.png"},
is_ground_content = false, is_ground_content = false,
@ -96,6 +97,7 @@ minetest.register_node("mcl_nether:nether_brick", {
minetest.register_node("mcl_nether:red_nether_brick", { minetest.register_node("mcl_nether:red_nether_brick", {
-- Original name: Red Nether Brick -- Original name: Red Nether Brick
description = "Red Nether Brick Block", description = "Red Nether Brick Block",
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64, stack_max = 64,
tiles = {"mcl_nether_red_nether_brick.png"}, tiles = {"mcl_nether_red_nether_brick.png"},
is_ground_content = false, is_ground_content = false,
@ -125,6 +127,7 @@ minetest.register_node("mcl_nether:nether_wart_block", {
minetest.register_node("mcl_nether:quartz_block", { minetest.register_node("mcl_nether:quartz_block", {
description = "Block of Quartz", description = "Block of Quartz",
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
tiles = {"mcl_nether_quartz_block_top.png", "mcl_nether_quartz_block_bottom.png", "mcl_nether_quartz_block_side.png"}, tiles = {"mcl_nether_quartz_block_top.png", "mcl_nether_quartz_block_bottom.png", "mcl_nether_quartz_block_side.png"},
@ -136,6 +139,7 @@ minetest.register_node("mcl_nether:quartz_block", {
minetest.register_node("mcl_nether:quartz_chiseled", { minetest.register_node("mcl_nether:quartz_chiseled", {
description = "Chiseled Quartz Block", description = "Chiseled Quartz Block",
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
tiles = {"mcl_nether_quartz_chiseled_top.png", "mcl_nether_quartz_chiseled_top.png", "mcl_nether_quartz_chiseled_side.png"}, tiles = {"mcl_nether_quartz_chiseled_top.png", "mcl_nether_quartz_chiseled_top.png", "mcl_nether_quartz_chiseled_side.png"},
@ -147,6 +151,7 @@ minetest.register_node("mcl_nether:quartz_chiseled", {
minetest.register_node("mcl_nether:quartz_pillar", { minetest.register_node("mcl_nether:quartz_pillar", {
description = "Pillar Quartz Block", description = "Pillar Quartz Block",
_doc_items_longdesc = doc.sub.items.temp.build,
stack_max = 64, stack_max = 64,
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false, is_ground_content = false,