From 7d74916ee41992a9cf776a766bf29b09d42bc786 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 11 Mar 2017 16:56:37 +0100 Subject: [PATCH] Help: xpanes, walls, jungle tree --- mods/ITEMS/mcl_core/nodes.lua | 2 +- mods/ITEMS/mcl_walls/init.lua | 1 + mods/ITEMS/xpanes/init.lua | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_core/nodes.lua b/mods/ITEMS/mcl_core/nodes.lua index ad685c0fef..a574c6ae3c 100644 --- a/mods/ITEMS/mcl_core/nodes.lua +++ b/mods/ITEMS/mcl_core/nodes.lua @@ -772,7 +772,7 @@ minetest.register_node("mcl_core:darkwood", { minetest.register_node("mcl_core:jungletree", { description = "Jungle Wood", - _doc_items_longdesc = "The trunk of a jungle tree.", + _doc_items_longdesc = "The trunk of a jungle tree. Cocoa beans can be placed on the side of it to plant a cocoa.", tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png"}, stack_max = 64, paramtype2 = "facedir", diff --git a/mods/ITEMS/mcl_walls/init.lua b/mods/ITEMS/mcl_walls/init.lua index 0aa3aa114b..2988a787b3 100644 --- a/mods/ITEMS/mcl_walls/init.lua +++ b/mods/ITEMS/mcl_walls/init.lua @@ -201,6 +201,7 @@ function mcl_walls.register_wall(nodename, description, craft_material, tiles, i -- Inventory item minetest.register_node(nodename, { description = description, + _doc_items_longdesc = "A piece of wall. It cannot be jumped over with a simple jump. When multiple of these are placed to next to each other, they will automatically build a nice wall structure.", paramtype = "light", is_ground_content = false, groups = main_node_groups, diff --git a/mods/ITEMS/xpanes/init.lua b/mods/ITEMS/xpanes/init.lua index ef885646e6..004bbbb4c5 100644 --- a/mods/ITEMS/xpanes/init.lua +++ b/mods/ITEMS/xpanes/init.lua @@ -98,6 +98,10 @@ function xpanes.register_pane(name, def) flatgroups.deco_block = 1 minetest.register_node(":xpanes:" .. name .. "_flat", { description = def.description, + _doc_items_create_entry = def._doc_items_create_entry, + _doc_items_entry_name = def._doc_items_entry_name, + _doc_items_longdesc = def._doc_items_longdesc, + _doc_items_usagehelp = def._doc_items_usagehelp, drawtype = "nodebox", paramtype = "light", is_ground_content = false, @@ -161,6 +165,7 @@ end local pane = function(description, node, append) xpanes.register_pane("pane"..append, { description = description, + _doc_items_longdesc = "Glass panes are thin layers of glass which neatly connect to their neighbors as you build them.", textures = {"xpanes_pane_glass"..append..".png","xpanes_pane_half_glass"..append..".png","xpanes_top_glass"..append..".png"}, use_texture_alpha = true, inventory_image = "xpanes_pane_glass"..append..".png", @@ -180,6 +185,7 @@ end -- Iron Bar xpanes.register_pane("bar", { description = "Iron Bars", + _doc_items_longdesc = "Iron bars neatly connect to their neighbors as you build them.", textures = {"xpanes_pane_iron.png","xpanes_pane_half_iron.png","xpanes_top_iron.png"}, inventory_image = "xpanes_pane_iron.png", wield_image = "xpanes_pane_iron.png",