From aabb1e972dd6fd9e290b3e9074c2f516f89cf30e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 2 Mar 2017 19:53:53 +0100 Subject: [PATCH] Add _doc_items_create_entry fields for doc_items --- mods/ITEMS/REDSTONE/mcl_dispensers/init.lua | 1 + mods/ITEMS/REDSTONE/mcl_droppers/init.lua | 1 + mods/ITEMS/REDSTONE/mesecons/wires.lua | 2 ++ mods/ITEMS/REDSTONE/mesecons_button/init.lua | 2 ++ mods/ITEMS/REDSTONE/mesecons_delayer/init.lua | 2 ++ mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua | 2 ++ mods/ITEMS/REDSTONE/mesecons_torch/init.lua | 1 + mods/ITEMS/gemalde/init.lua | 1 + mods/ITEMS/mcl_anvils/init.lua | 2 ++ mods/ITEMS/mcl_cake/init.lua | 1 + mods/ITEMS/mcl_cauldrons/init.lua | 1 + mods/ITEMS/mcl_clock/init.lua | 2 ++ mods/ITEMS/mcl_cocoas/init.lua | 3 +++ mods/ITEMS/mcl_compass/init.lua | 1 + mods/ITEMS/mcl_core/nodes.lua | 3 +++ mods/ITEMS/mcl_farming/beetroot.lua | 3 +++ mods/ITEMS/mcl_farming/carrots.lua | 11 +++++++---- mods/ITEMS/mcl_farming/melon.lua | 7 +++++++ mods/ITEMS/mcl_farming/potatoes.lua | 2 ++ mods/ITEMS/mcl_farming/pumpkin.lua | 7 +++++++ mods/ITEMS/mcl_farming/wheat.lua | 3 +++ mods/ITEMS/mcl_flowerpots/nodes.lua | 2 ++ mods/ITEMS/mcl_furnaces/init.lua | 1 + mods/ITEMS/mcl_hoppers/init.lua | 1 + mods/ITEMS/mcl_jukebox/init.lua | 2 ++ mods/ITEMS/mcl_throwing/init.lua | 3 +++ mods/ITEMS/mcstair/init.lua | 2 ++ mods/ITEMS/xpanes/init.lua | 1 + 28 files changed, 66 insertions(+), 4 deletions(-) diff --git a/mods/ITEMS/REDSTONE/mcl_dispensers/init.lua b/mods/ITEMS/REDSTONE/mcl_dispensers/init.lua index 545a45d98..045a7f96a 100644 --- a/mods/ITEMS/REDSTONE/mcl_dispensers/init.lua +++ b/mods/ITEMS/REDSTONE/mcl_dispensers/init.lua @@ -372,6 +372,7 @@ down_def.tiles = { "default_furnace_side.png", "default_furnace_side.png" } down_def.groups = {pickaxey=1, container=2,not_in_creative_inventory=1} +down_def._doc_items_create_entry = false down_def.drop = "mcl_dispensers:dispenser" minetest.register_node("mcl_dispensers:dispenser_down", down_def) diff --git a/mods/ITEMS/REDSTONE/mcl_droppers/init.lua b/mods/ITEMS/REDSTONE/mcl_droppers/init.lua index fc01e4225..7c4fc1daa 100644 --- a/mods/ITEMS/REDSTONE/mcl_droppers/init.lua +++ b/mods/ITEMS/REDSTONE/mcl_droppers/init.lua @@ -128,6 +128,7 @@ down_def.tiles = { "default_furnace_side.png", "default_furnace_side.png" } down_def.groups = {pickaxey=1, container=2,not_in_creative_inventory=1} +down_def._doc_items_create_entry = false down_def.drop = "mcl_droppers:dropper" minetest.register_node("mcl_droppers:dropper_down", down_def) diff --git a/mods/ITEMS/REDSTONE/mesecons/wires.lua b/mods/ITEMS/REDSTONE/mesecons/wires.lua index 409fece6d..8ce196d1f 100644 --- a/mods/ITEMS/REDSTONE/mesecons/wires.lua +++ b/mods/ITEMS/REDSTONE/mesecons/wires.lua @@ -97,6 +97,7 @@ for zmy=0, 1 do minetest.register_node("mesecons:wire_"..nodeid.."_off", { description = "Redstone", + _doc_items_create_entry = nodeid == "00000000", drawtype = "nodebox", tiles = tiles_off, is_ground_content = false, @@ -128,6 +129,7 @@ for zmy=0, 1 do minetest.register_node("mesecons:wire_"..nodeid.."_on", { description = "Redstone", + _doc_items_create_entry = false, drawtype = "nodebox", tiles = tiles_on, is_ground_content = false, diff --git a/mods/ITEMS/REDSTONE/mesecons_button/init.lua b/mods/ITEMS/REDSTONE/mesecons_button/init.lua index 0b692a649..bcb34b446 100644 --- a/mods/ITEMS/REDSTONE/mesecons_button/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_button/init.lua @@ -76,6 +76,7 @@ minetest.register_node("mesecons_button:button_stone_on", { groups = {handy=1,pickaxey=1, not_in_creative_inventory=1, attached_node=1, dig_by_water=1}, drop = 'mesecons_button:button_stone_off', description = "Stone Button", + _doc_items_create_entry = false, sounds = mcl_sounds.node_sound_stone_defaults(), mesecons = {receptor = { state = mesecon.state.on, @@ -141,6 +142,7 @@ minetest.register_node("mesecons_button:button_wood_on", { groups = {handy=1,axey=1, not_in_creative_inventory=1, attached_node=1, dig_by_water=1}, drop = 'mesecons_button:button_wood_off', description = "Wooden Button", + _doc_items_create_entry = false, sounds = mcl_sounds.node_sound_wood_defaults(), mesecons = {receptor = { state = mesecon.state.on, diff --git a/mods/ITEMS/REDSTONE/mesecons_delayer/init.lua b/mods/ITEMS/REDSTONE/mesecons_delayer/init.lua index a65b55312..6546149ce 100644 --- a/mods/ITEMS/REDSTONE/mesecons_delayer/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_delayer/init.lua @@ -87,6 +87,7 @@ end minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), { description = "Redstone Repeater", + _doc_items_create_entry = i == 1, drawtype = "nodebox", tiles = { "mesecons_delayer_off.png", @@ -143,6 +144,7 @@ minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), { minetest.register_node("mesecons_delayer:delayer_on_"..tostring(i), { description = "You hacker you", + _doc_items_create_entry = false, drawtype = "nodebox", tiles = { "mesecons_delayer_on.png", diff --git a/mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua b/mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua index c8fd13608..6f2a2355e 100644 --- a/mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_solarpanel/init.lua @@ -19,6 +19,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_on", { }, drop = "mesecons_solarpanel:solar_panel_off", description="Daylight Sensor", + _doc_items_create_entry = false, groups = {dig_immediate=3, not_in_creative_inventory = 1}, sounds = mcl_sounds.node_sound_glass_defaults(), mesecons = {receptor = { @@ -122,6 +123,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_on", { drop = "mesecons_solarpanel:solar_panel_off", groups = {dig_immediate=3, not_in_creative_inventory = 1}, description="Inverted Daylight Sensor", + _doc_items_create_entry = false, sounds = mcl_sounds.node_sound_glass_defaults(), mesecons = {receptor = { state = mesecon.state.on diff --git a/mods/ITEMS/REDSTONE/mesecons_torch/init.lua b/mods/ITEMS/REDSTONE/mesecons_torch/init.lua index 14b464c14..ebf306ec5 100644 --- a/mods/ITEMS/REDSTONE/mesecons_torch/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_torch/init.lua @@ -53,6 +53,7 @@ mcl_torches.register_torch("mesecon_torch_off", "Redstone Torch (off)", "jeija_t rules = torch_get_output_rules }}, drop = "mesecons_torch:mesecon_torch_on", + _doc_items_create_entry = false, } ) diff --git a/mods/ITEMS/gemalde/init.lua b/mods/ITEMS/gemalde/init.lua index b5d117b44..8ff8e1800 100644 --- a/mods/ITEMS/gemalde/init.lua +++ b/mods/ITEMS/gemalde/init.lua @@ -31,6 +31,7 @@ end -- inivisible node minetest.register_node("gemalde:node_"..n.."", { description = desc, + _doc_items_create_entry = n == 1, drawtype = "signlike", tiles = {"gemalde_"..n..".png","gemalde_bg.png"}, visual_scale = 3.0, diff --git a/mods/ITEMS/mcl_anvils/init.lua b/mods/ITEMS/mcl_anvils/init.lua index e877d635b..333bb48fc 100644 --- a/mods/ITEMS/mcl_anvils/init.lua +++ b/mods/ITEMS/mcl_anvils/init.lua @@ -25,11 +25,13 @@ anvildef0.description = "Anvil" local anvildef1 = table.copy(anvildef) anvildef1.description = "Slightly Damaged Anvil" anvildef1.groups.not_in_creative_inventory = 1 +anvildef1._doc_items_create_entry = false anvildef1.tiles = {"mcl_anvils_anvil_top_damaged_1.png^[transformR90", "mcl_anvils_anvil_base.png"} local anvildef2 = table.copy(anvildef) anvildef2.description = "Very Damaged Anvil" anvildef2.groups.not_in_creative_inventory = 1 +anvildef2._doc_items_create_entry = false anvildef2.tiles = {"mcl_anvils_anvil_top_damaged_2.png^[transformR90", "mcl_anvils_anvil_base.png"} minetest.register_node("mcl_anvils:anvil", anvildef0) diff --git a/mods/ITEMS/mcl_cake/init.lua b/mods/ITEMS/mcl_cake/init.lua index c3a2cfd90..103dc5008 100644 --- a/mods/ITEMS/mcl_cake/init.lua +++ b/mods/ITEMS/mcl_cake/init.lua @@ -75,6 +75,7 @@ local register_slice = function(level, nodebox, desc) minetest.register_node(this, { description = desc, + _doc_items_create_entry = false, tiles = cake_texture, paramtype = "light", is_ground_content = false, diff --git a/mods/ITEMS/mcl_cauldrons/init.lua b/mods/ITEMS/mcl_cauldrons/init.lua index a8a1b848b..d3c336f80 100644 --- a/mods/ITEMS/mcl_cauldrons/init.lua +++ b/mods/ITEMS/mcl_cauldrons/init.lua @@ -65,6 +65,7 @@ minetest.register_node("mcl_cauldrons:cauldron", { local register_filled_cauldron = function(water_level, description) minetest.register_node("mcl_cauldrons:cauldron_"..water_level, { description = description, + _doc_items_create_entry = false, drawtype = "nodebox", paramtype = "light", sunlight_propagates = true, diff --git a/mods/ITEMS/mcl_clock/init.lua b/mods/ITEMS/mcl_clock/init.lua index 7d0c05fbd..0091505f3 100644 --- a/mods/ITEMS/mcl_clock/init.lua +++ b/mods/ITEMS/mcl_clock/init.lua @@ -32,8 +32,10 @@ function watch.register_item(name, image, creative) if creative then g = 0 end + local doc = name == "mcl_clock:clock" minetest.register_craftitem(name, { description = "Clock", + _doc_items_create_entry = doc, inventory_image = image, groups = {not_in_creative_inventory=g, tool=1, clock=1}, wield_image = "", diff --git a/mods/ITEMS/mcl_cocoas/init.lua b/mods/ITEMS/mcl_cocoas/init.lua index 6edc9329a..425abd30e 100644 --- a/mods/ITEMS/mcl_cocoas/init.lua +++ b/mods/ITEMS/mcl_cocoas/init.lua @@ -76,6 +76,7 @@ Using meshes will also clean up the texture mess. ]] local crop_def = { description = "Young Cocoa", + _doc_items_create_entry = false, drawtype = "nodebox", tiles = { "[combine:32x32:12,2=mcl_cocoas_cocoa_stage_0.png", "[combine:32x32:12,22=mcl_cocoas_cocoa_stage_0.png", @@ -149,6 +150,8 @@ minetest.register_node("mcl_cocoas:cocoa_2", table.copy(crop_def)) -- Final stage crop_def.description = "Mature Cocoa" +crop_def._doc_items_create_entry = true +crop_def._doc_items_entry_name = "Cocoa" crop_def.groups.cocoa = 3 crop_def.tiles = { -- The following 2 textures were derived from the original because the size of the top/bottom is slightly different :-( diff --git a/mods/ITEMS/mcl_compass/init.lua b/mods/ITEMS/mcl_compass/init.lua index 9ef680d3c..1b2a8f78e 100644 --- a/mods/ITEMS/mcl_compass/init.lua +++ b/mods/ITEMS/mcl_compass/init.lua @@ -57,6 +57,7 @@ for i,img in ipairs(images) do end minetest.register_craftitem("mcl_compass:"..(i-1), { description = "Compass", + _doc_items_create_entry = i == stereotype_frame, inventory_image = img, wield_image = img, stack_max = 64, diff --git a/mods/ITEMS/mcl_core/nodes.lua b/mods/ITEMS/mcl_core/nodes.lua index 5465044ef..cca304f1d 100644 --- a/mods/ITEMS/mcl_core/nodes.lua +++ b/mods/ITEMS/mcl_core/nodes.lua @@ -41,6 +41,7 @@ minetest.register_node("mcl_core:barrier", { -- block here to make things easier for us. minetest.register_node("mcl_core:void", { description = "Void", + _doc_items_create_entry = false, drawtype = "airlike", paramtype = "light", pointable = false, @@ -147,6 +148,7 @@ end -- Light the redstone ore up when it has been touched minetest.register_node("mcl_core:stone_with_redstone_lit", { description = "Lit Redstone Ore", + _doc_items_create_entry = false, tiles = {"default_stone.png^default_mineral_redstone.png"}, paramtype = "light", light_source = 9, @@ -1628,6 +1630,7 @@ for i=0,3 do end minetest.register_node("mcl_core:frosted_ice_"..i, { description = "Frosted Ice", + _doc_items_create_entry = i == 0, drawtype = "glasslike", tiles = {"default_frosted_ice_"..i..".png"}, is_ground_content = false, diff --git a/mods/ITEMS/mcl_farming/beetroot.lua b/mods/ITEMS/mcl_farming/beetroot.lua index 038fdddc1..ab1460298 100644 --- a/mods/ITEMS/mcl_farming/beetroot.lua +++ b/mods/ITEMS/mcl_farming/beetroot.lua @@ -10,6 +10,7 @@ minetest.register_craftitem("mcl_farming:beetroot_seeds", { minetest.register_node("mcl_farming:beetroot_0", { description = "Premature Beetroot Plant (First Stage)", + _doc_items_entry_name = "Premature Beetroot Plant", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -28,6 +29,7 @@ minetest.register_node("mcl_farming:beetroot_0", { minetest.register_node("mcl_farming:beetroot_1", { description = "Premature Beetroot Plant (Second Stage)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, drawtype = "plantlike", @@ -46,6 +48,7 @@ minetest.register_node("mcl_farming:beetroot_1", { minetest.register_node("mcl_farming:beetroot_2", { description = "Premature Beetroot Plant (Third Stage)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, drawtype = "plantlike", diff --git a/mods/ITEMS/mcl_farming/carrots.lua b/mods/ITEMS/mcl_farming/carrots.lua index bf4476f3e..4fc5d29df 100644 --- a/mods/ITEMS/mcl_farming/carrots.lua +++ b/mods/ITEMS/mcl_farming/carrots.lua @@ -1,5 +1,6 @@ minetest.register_node("mcl_farming:carrot_1", { - description = "Carrot Plant (First Stage)", + description = "Premature Carrot Plant (First Stage)", + _doc_items_entry_name = "Carrot Plant", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -17,7 +18,8 @@ minetest.register_node("mcl_farming:carrot_1", { }) minetest.register_node("mcl_farming:carrot_2", { - description = "Carrot Plant (Second Stage)", + description = "Premature Carrot Plant (Second Stage)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, drawtype = "plantlike", @@ -35,7 +37,8 @@ minetest.register_node("mcl_farming:carrot_2", { }) minetest.register_node("mcl_farming:carrot_3", { - description = "Carrot Plant (Third Stage)", + description = "Premature Carrot Plant (Third Stage)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, drawtype = "plantlike", @@ -53,7 +56,7 @@ minetest.register_node("mcl_farming:carrot_3", { }) minetest.register_node("mcl_farming:carrot", { - description = "Carrot Plant", + description = "Mature Carrot Plant", paramtype = "light", walkable = false, drawtype = "plantlike", diff --git a/mods/ITEMS/mcl_farming/melon.lua b/mods/ITEMS/mcl_farming/melon.lua index e9ef34fa4..24f5fdb2b 100644 --- a/mods/ITEMS/mcl_farming/melon.lua +++ b/mods/ITEMS/mcl_farming/melon.lua @@ -62,6 +62,7 @@ local stemdrop = { minetest.register_node("mcl_farming:melontige_1", { description = "Melon Stem (1)", + _doc_items_entry_name = "Melon Stem", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -81,6 +82,7 @@ minetest.register_node("mcl_farming:melontige_1", { minetest.register_node("mcl_farming:melontige_2", { description = "Melon Stem (2)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, drawtype = "plantlike", @@ -100,6 +102,7 @@ minetest.register_node("mcl_farming:melontige_2", { minetest.register_node("mcl_farming:melontige_unconnect", { description = "Melon Stem (unconnected)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, sunlight_propagates = true, @@ -113,6 +116,7 @@ minetest.register_node("mcl_farming:melontige_unconnect", { minetest.register_node("mcl_farming:melontige_linked_r", { description = "Melon Stem (linked to the right)", + _doc_items_create_entry = false, paramtype = "light", sunlight_propagates = true, walkable = false, @@ -145,6 +149,7 @@ minetest.register_node("mcl_farming:melontige_linked_r", { minetest.register_node("mcl_farming:melontige_linked_l", { description = "Melon Stem (linked to the left)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, sunlight_propagates = true, @@ -177,6 +182,7 @@ minetest.register_node("mcl_farming:melontige_linked_l", { minetest.register_node("mcl_farming:melontige_linked_t", { description = "Melon Stem (linked to the top)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, sunlight_propagates = true, @@ -209,6 +215,7 @@ minetest.register_node("mcl_farming:melontige_linked_t", { minetest.register_node("mcl_farming:melontige_linked_b", { description = "Melon Stem (linked to the bottom)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, sunlight_propagates = true, diff --git a/mods/ITEMS/mcl_farming/potatoes.lua b/mods/ITEMS/mcl_farming/potatoes.lua index d8544ba8e..362caffb0 100644 --- a/mods/ITEMS/mcl_farming/potatoes.lua +++ b/mods/ITEMS/mcl_farming/potatoes.lua @@ -1,5 +1,6 @@ minetest.register_node("mcl_farming:potato_1", { description = "Premature Potato Plant (First Stage)", + _doc_items_entry_name = "Premature Potato Plant", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -18,6 +19,7 @@ minetest.register_node("mcl_farming:potato_1", { minetest.register_node("mcl_farming:potato_2", { description = "Premature Potato Plant (Second Stage)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, drawtype = "plantlike", diff --git a/mods/ITEMS/mcl_farming/pumpkin.lua b/mods/ITEMS/mcl_farming/pumpkin.lua index bdb5029d2..f035d18cb 100644 --- a/mods/ITEMS/mcl_farming/pumpkin.lua +++ b/mods/ITEMS/mcl_farming/pumpkin.lua @@ -31,6 +31,7 @@ local stemdrop = { minetest.register_node("mcl_farming:pumpkin_1", { description = "Pumpkin Stem (First Stage)", + _doc_items_entry_name = "Pumpkin Stem", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -50,6 +51,7 @@ minetest.register_node("mcl_farming:pumpkin_1", { minetest.register_node("mcl_farming:pumpkin_2", { description = "Pumpkin Stem (Second Stage)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, drawtype = "plantlike", @@ -102,6 +104,7 @@ minetest.register_node("mcl_farming:pumpkin_face", { minetest.register_node("mcl_farming:pumpkintige_unconnect", { description = "Pumpkin Stem (Not Connected)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, sunlight_propagates = true, @@ -116,6 +119,7 @@ minetest.register_node("mcl_farming:pumpkintige_unconnect", { minetest.register_node("mcl_farming:pumpkintige_linked_r", { description = "Pumpkin Stem (Linked to the Right)", + _doc_items_create_entry = false, paramtype = "light", sunlight_propagates = true, walkable = false, @@ -148,6 +152,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_r", { minetest.register_node("mcl_farming:pumpkintige_linked_l", { description = "Pumpkin Stem (Linked to the Left)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, sunlight_propagates = true, @@ -180,6 +185,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_l", { minetest.register_node("mcl_farming:pumpkintige_linked_t", { description = "Pumpkin Stem (Linked to the Top)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, sunlight_propagates = true, @@ -212,6 +218,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_t", { minetest.register_node("mcl_farming:pumpkintige_linked_b", { description = "Pumpkin Stem (Linked to the Bottom)", + _doc_items_create_entry = false, paramtype = "light", walkable = false, sunlight_propagates = true, diff --git a/mods/ITEMS/mcl_farming/wheat.lua b/mods/ITEMS/mcl_farming/wheat.lua index 39e089648..f7370dc57 100644 --- a/mods/ITEMS/mcl_farming/wheat.lua +++ b/mods/ITEMS/mcl_farming/wheat.lua @@ -9,6 +9,7 @@ minetest.register_craftitem("mcl_farming:wheat_seeds", { minetest.register_node("mcl_farming:wheat_1", { description = "Premature Wheat Plant (First Stage)", + _doc_items_entry_name = "Premature Wheat Plant", paramtype = "light", sunlight_propagates = true, walkable = false, @@ -38,6 +39,7 @@ minetest.register_node("mcl_farming:wheat_1", { minetest.register_node("mcl_farming:wheat_2", { description = "Premature Wheat Plant (Second Stage)", + _doc_items_create_entry = false, sunlight_propagates = true, paramtype = "light", walkable = false, @@ -67,6 +69,7 @@ minetest.register_node("mcl_farming:wheat_2", { minetest.register_node("mcl_farming:wheat_3", { description = "Premature Wheat Plant (Third Stage)", + _doc_items_create_entry = false, sunlight_propagates = true, paramtype = "light", walkable = false, diff --git a/mods/ITEMS/mcl_flowerpots/nodes.lua b/mods/ITEMS/mcl_flowerpots/nodes.lua index 2bfb3af38..3afe10a59 100644 --- a/mods/ITEMS/mcl_flowerpots/nodes.lua +++ b/mods/ITEMS/mcl_flowerpots/nodes.lua @@ -89,6 +89,7 @@ local desc = row[3] local texture = minetest.registered_nodes[flower_node]["tiles"] minetest.register_node("mcl_flowerpots:flower_pot_"..flower, { description = desc, + _doc_items_create_entry = false, drawtype = "mesh", mesh = "flowerpot.obj", tiles = { @@ -125,6 +126,7 @@ local flower_node = row[2] local desc = row[3] minetest.register_node("mcl_flowerpots:flower_pot_"..flower, { description = desc, + _doc_items_create_entry = false, drawtype = "mesh", mesh = "flowerpot_with_long_cube.obj", tiles = { diff --git a/mods/ITEMS/mcl_furnaces/init.lua b/mods/ITEMS/mcl_furnaces/init.lua index 82924d49e..f10957d70 100644 --- a/mods/ITEMS/mcl_furnaces/init.lua +++ b/mods/ITEMS/mcl_furnaces/init.lua @@ -271,6 +271,7 @@ minetest.register_node("mcl_furnaces:furnace", { minetest.register_node("mcl_furnaces:furnace_active", { description = "Burning Furnace", + _doc_items_create_entry = false, tiles = { "default_furnace_top.png", "default_furnace_bottom.png", "default_furnace_side.png", "default_furnace_side.png", diff --git a/mods/ITEMS/mcl_hoppers/init.lua b/mods/ITEMS/mcl_hoppers/init.lua index 1699c51dd..8ecac414a 100644 --- a/mods/ITEMS/mcl_hoppers/init.lua +++ b/mods/ITEMS/mcl_hoppers/init.lua @@ -126,6 +126,7 @@ minetest.register_node("mcl_hoppers:hopper", { minetest.register_node("mcl_hoppers:hopper_side", { description = "Hopper (Side)", + _doc_items_create_entry = false, drop = "mcl_hoppers:hopper", groups = {pickaxey=1, container=2,not_in_creative_inventory=1}, drawtype = "nodebox", diff --git a/mods/ITEMS/mcl_jukebox/init.lua b/mods/ITEMS/mcl_jukebox/init.lua index dad821766..2ffc264d6 100644 --- a/mods/ITEMS/mcl_jukebox/init.lua +++ b/mods/ITEMS/mcl_jukebox/init.lua @@ -18,6 +18,8 @@ for r=1, records do description = core.colorize("#55FFFF", "Music Disc") .. "\n" .. core.colorize("#989898", recorddata[r][2] .. "—" .. recorddata[r][1]), + _doc_items_create_entry = r == 1, + _doc_items_entry_name = "Music Disc", inventory_image = "mcl_jukebox_record_"..recorddata[r][3]..".png", stack_max = 1, groups = { music_record = r }, diff --git a/mods/ITEMS/mcl_throwing/init.lua b/mods/ITEMS/mcl_throwing/init.lua index 7962cb60d..7200f0b75 100644 --- a/mods/ITEMS/mcl_throwing/init.lua +++ b/mods/ITEMS/mcl_throwing/init.lua @@ -102,6 +102,7 @@ minetest.register_tool("mcl_throwing:bow", { minetest.register_tool("mcl_throwing:bow_0", { description = "Bow", + _doc_items_create_entry = false, inventory_image = "mcl_throwing_bow_0.png", stack_max = 1, groups = {not_in_creative_inventory=1, not_in_craft_guide=1}, @@ -122,6 +123,7 @@ minetest.register_tool("mcl_throwing:bow_0", { minetest.register_tool("mcl_throwing:bow_1", { description = "Bow", + _doc_items_create_entry = false, inventory_image = "mcl_throwing_bow_1.png", stack_max = 1, groups = {not_in_creative_inventory=1, not_in_craft_guide=1}, @@ -142,6 +144,7 @@ minetest.register_tool("mcl_throwing:bow_1", { minetest.register_tool("mcl_throwing:bow_2", { description = "Bow", + _doc_items_create_entry = false, inventory_image = "mcl_throwing_bow_2.png", stack_max = 1, groups = {not_in_creative_inventory=1, not_in_craft_guide=1}, diff --git a/mods/ITEMS/mcstair/init.lua b/mods/ITEMS/mcstair/init.lua index c06591469..3d9f941ee 100644 --- a/mods/ITEMS/mcstair/init.lua +++ b/mods/ITEMS/mcstair/init.lua @@ -597,6 +597,7 @@ function mcstair.add(name, stairtiles) }) minetest.register_node(":"..name.."_outer", { description = node_def.description, + _doc_items_create_entry = false, drawtype = "nodebox", tiles = outer_tiles, paramtype = "light", @@ -619,6 +620,7 @@ function mcstair.add(name, stairtiles) }) minetest.register_node(":"..name.."_inner", { description = node_def.description, + _doc_items_create_entry = false, drawtype = "nodebox", tiles = inner_tiles, paramtype = "light", diff --git a/mods/ITEMS/xpanes/init.lua b/mods/ITEMS/xpanes/init.lua index 6a9181d97..f8eea5b12 100644 --- a/mods/ITEMS/xpanes/init.lua +++ b/mods/ITEMS/xpanes/init.lua @@ -132,6 +132,7 @@ function xpanes.register_pane(name, def) is_ground_content = false, sunlight_propagates = true, description = def.description, + _doc_items_create_entry = false, tiles = {def.textures[3], def.textures[3], def.textures[1]}, use_texture_alpha = def.use_texture_alpha, groups = groups,