Add _doc_items_create_entry fields for doc_items

This commit is contained in:
Wuzzy 2017-03-02 19:53:53 +01:00
parent 194ec03b68
commit aabb1e972d
28 changed files with 66 additions and 4 deletions

View file

@ -372,6 +372,7 @@ down_def.tiles = {
"default_furnace_side.png", "default_furnace_side.png" "default_furnace_side.png", "default_furnace_side.png"
} }
down_def.groups = {pickaxey=1, container=2,not_in_creative_inventory=1} 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" down_def.drop = "mcl_dispensers:dispenser"
minetest.register_node("mcl_dispensers:dispenser_down", down_def) minetest.register_node("mcl_dispensers:dispenser_down", down_def)

View file

@ -128,6 +128,7 @@ down_def.tiles = {
"default_furnace_side.png", "default_furnace_side.png" "default_furnace_side.png", "default_furnace_side.png"
} }
down_def.groups = {pickaxey=1, container=2,not_in_creative_inventory=1} 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" down_def.drop = "mcl_droppers:dropper"
minetest.register_node("mcl_droppers:dropper_down", down_def) minetest.register_node("mcl_droppers:dropper_down", down_def)

View file

@ -97,6 +97,7 @@ for zmy=0, 1 do
minetest.register_node("mesecons:wire_"..nodeid.."_off", { minetest.register_node("mesecons:wire_"..nodeid.."_off", {
description = "Redstone", description = "Redstone",
_doc_items_create_entry = nodeid == "00000000",
drawtype = "nodebox", drawtype = "nodebox",
tiles = tiles_off, tiles = tiles_off,
is_ground_content = false, is_ground_content = false,
@ -128,6 +129,7 @@ for zmy=0, 1 do
minetest.register_node("mesecons:wire_"..nodeid.."_on", { minetest.register_node("mesecons:wire_"..nodeid.."_on", {
description = "Redstone", description = "Redstone",
_doc_items_create_entry = false,
drawtype = "nodebox", drawtype = "nodebox",
tiles = tiles_on, tiles = tiles_on,
is_ground_content = false, is_ground_content = false,

View file

@ -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}, groups = {handy=1,pickaxey=1, not_in_creative_inventory=1, attached_node=1, dig_by_water=1},
drop = 'mesecons_button:button_stone_off', drop = 'mesecons_button:button_stone_off',
description = "Stone Button", description = "Stone Button",
_doc_items_create_entry = false,
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
mesecons = {receptor = { mesecons = {receptor = {
state = mesecon.state.on, 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}, groups = {handy=1,axey=1, not_in_creative_inventory=1, attached_node=1, dig_by_water=1},
drop = 'mesecons_button:button_wood_off', drop = 'mesecons_button:button_wood_off',
description = "Wooden Button", description = "Wooden Button",
_doc_items_create_entry = false,
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
mesecons = {receptor = { mesecons = {receptor = {
state = mesecon.state.on, state = mesecon.state.on,

View file

@ -87,6 +87,7 @@ end
minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), { minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), {
description = "Redstone Repeater", description = "Redstone Repeater",
_doc_items_create_entry = i == 1,
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"mesecons_delayer_off.png", "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), { minetest.register_node("mesecons_delayer:delayer_on_"..tostring(i), {
description = "You hacker you", description = "You hacker you",
_doc_items_create_entry = false,
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"mesecons_delayer_on.png", "mesecons_delayer_on.png",

View file

@ -19,6 +19,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_on", {
}, },
drop = "mesecons_solarpanel:solar_panel_off", drop = "mesecons_solarpanel:solar_panel_off",
description="Daylight Sensor", description="Daylight Sensor",
_doc_items_create_entry = false,
groups = {dig_immediate=3, not_in_creative_inventory = 1}, groups = {dig_immediate=3, not_in_creative_inventory = 1},
sounds = mcl_sounds.node_sound_glass_defaults(), sounds = mcl_sounds.node_sound_glass_defaults(),
mesecons = {receptor = { mesecons = {receptor = {
@ -122,6 +123,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_on", {
drop = "mesecons_solarpanel:solar_panel_off", drop = "mesecons_solarpanel:solar_panel_off",
groups = {dig_immediate=3, not_in_creative_inventory = 1}, groups = {dig_immediate=3, not_in_creative_inventory = 1},
description="Inverted Daylight Sensor", description="Inverted Daylight Sensor",
_doc_items_create_entry = false,
sounds = mcl_sounds.node_sound_glass_defaults(), sounds = mcl_sounds.node_sound_glass_defaults(),
mesecons = {receptor = { mesecons = {receptor = {
state = mesecon.state.on state = mesecon.state.on

View file

@ -53,6 +53,7 @@ mcl_torches.register_torch("mesecon_torch_off", "Redstone Torch (off)", "jeija_t
rules = torch_get_output_rules rules = torch_get_output_rules
}}, }},
drop = "mesecons_torch:mesecon_torch_on", drop = "mesecons_torch:mesecon_torch_on",
_doc_items_create_entry = false,
} }
) )

View file

@ -31,6 +31,7 @@ end
-- inivisible node -- inivisible node
minetest.register_node("gemalde:node_"..n.."", { minetest.register_node("gemalde:node_"..n.."", {
description = desc, description = desc,
_doc_items_create_entry = n == 1,
drawtype = "signlike", drawtype = "signlike",
tiles = {"gemalde_"..n..".png","gemalde_bg.png"}, tiles = {"gemalde_"..n..".png","gemalde_bg.png"},
visual_scale = 3.0, visual_scale = 3.0,

View file

@ -25,11 +25,13 @@ anvildef0.description = "Anvil"
local anvildef1 = table.copy(anvildef) local anvildef1 = table.copy(anvildef)
anvildef1.description = "Slightly Damaged Anvil" anvildef1.description = "Slightly Damaged Anvil"
anvildef1.groups.not_in_creative_inventory = 1 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"} anvildef1.tiles = {"mcl_anvils_anvil_top_damaged_1.png^[transformR90", "mcl_anvils_anvil_base.png"}
local anvildef2 = table.copy(anvildef) local anvildef2 = table.copy(anvildef)
anvildef2.description = "Very Damaged Anvil" anvildef2.description = "Very Damaged Anvil"
anvildef2.groups.not_in_creative_inventory = 1 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"} anvildef2.tiles = {"mcl_anvils_anvil_top_damaged_2.png^[transformR90", "mcl_anvils_anvil_base.png"}
minetest.register_node("mcl_anvils:anvil", anvildef0) minetest.register_node("mcl_anvils:anvil", anvildef0)

View file

@ -75,6 +75,7 @@ local register_slice = function(level, nodebox, desc)
minetest.register_node(this, { minetest.register_node(this, {
description = desc, description = desc,
_doc_items_create_entry = false,
tiles = cake_texture, tiles = cake_texture,
paramtype = "light", paramtype = "light",
is_ground_content = false, is_ground_content = false,

View file

@ -65,6 +65,7 @@ minetest.register_node("mcl_cauldrons:cauldron", {
local register_filled_cauldron = function(water_level, description) local register_filled_cauldron = function(water_level, description)
minetest.register_node("mcl_cauldrons:cauldron_"..water_level, { minetest.register_node("mcl_cauldrons:cauldron_"..water_level, {
description = description, description = description,
_doc_items_create_entry = false,
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,

View file

@ -32,8 +32,10 @@ function watch.register_item(name, image, creative)
if creative then if creative then
g = 0 g = 0
end end
local doc = name == "mcl_clock:clock"
minetest.register_craftitem(name, { minetest.register_craftitem(name, {
description = "Clock", description = "Clock",
_doc_items_create_entry = doc,
inventory_image = image, inventory_image = image,
groups = {not_in_creative_inventory=g, tool=1, clock=1}, groups = {not_in_creative_inventory=g, tool=1, clock=1},
wield_image = "", wield_image = "",

View file

@ -76,6 +76,7 @@ Using meshes will also clean up the texture mess.
]] ]]
local crop_def = { local crop_def = {
description = "Young Cocoa", description = "Young Cocoa",
_doc_items_create_entry = false,
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"[combine:32x32:12,2=mcl_cocoas_cocoa_stage_0.png", "[combine:32x32:12,22=mcl_cocoas_cocoa_stage_0.png", "[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 -- Final stage
crop_def.description = "Mature Cocoa" 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.groups.cocoa = 3
crop_def.tiles = { crop_def.tiles = {
-- The following 2 textures were derived from the original because the size of the top/bottom is slightly different :-( -- The following 2 textures were derived from the original because the size of the top/bottom is slightly different :-(

View file

@ -57,6 +57,7 @@ for i,img in ipairs(images) do
end end
minetest.register_craftitem("mcl_compass:"..(i-1), { minetest.register_craftitem("mcl_compass:"..(i-1), {
description = "Compass", description = "Compass",
_doc_items_create_entry = i == stereotype_frame,
inventory_image = img, inventory_image = img,
wield_image = img, wield_image = img,
stack_max = 64, stack_max = 64,

View file

@ -41,6 +41,7 @@ minetest.register_node("mcl_core:barrier", {
-- block here to make things easier for us. -- block here to make things easier for us.
minetest.register_node("mcl_core:void", { minetest.register_node("mcl_core:void", {
description = "Void", description = "Void",
_doc_items_create_entry = false,
drawtype = "airlike", drawtype = "airlike",
paramtype = "light", paramtype = "light",
pointable = false, pointable = false,
@ -147,6 +148,7 @@ end
-- Light the redstone ore up when it has been touched -- Light the redstone ore up when it has been touched
minetest.register_node("mcl_core:stone_with_redstone_lit", { minetest.register_node("mcl_core:stone_with_redstone_lit", {
description = "Lit Redstone Ore", description = "Lit Redstone Ore",
_doc_items_create_entry = false,
tiles = {"default_stone.png^default_mineral_redstone.png"}, tiles = {"default_stone.png^default_mineral_redstone.png"},
paramtype = "light", paramtype = "light",
light_source = 9, light_source = 9,
@ -1628,6 +1630,7 @@ for i=0,3 do
end end
minetest.register_node("mcl_core:frosted_ice_"..i, { minetest.register_node("mcl_core:frosted_ice_"..i, {
description = "Frosted Ice", description = "Frosted Ice",
_doc_items_create_entry = i == 0,
drawtype = "glasslike", drawtype = "glasslike",
tiles = {"default_frosted_ice_"..i..".png"}, tiles = {"default_frosted_ice_"..i..".png"},
is_ground_content = false, is_ground_content = false,

View file

@ -10,6 +10,7 @@ minetest.register_craftitem("mcl_farming:beetroot_seeds", {
minetest.register_node("mcl_farming:beetroot_0", { minetest.register_node("mcl_farming:beetroot_0", {
description = "Premature Beetroot Plant (First Stage)", description = "Premature Beetroot Plant (First Stage)",
_doc_items_entry_name = "Premature Beetroot Plant",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
drawtype = "plantlike", drawtype = "plantlike",
@ -28,6 +29,7 @@ minetest.register_node("mcl_farming:beetroot_0", {
minetest.register_node("mcl_farming:beetroot_1", { minetest.register_node("mcl_farming:beetroot_1", {
description = "Premature Beetroot Plant (Second Stage)", description = "Premature Beetroot Plant (Second Stage)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
drawtype = "plantlike", drawtype = "plantlike",
@ -46,6 +48,7 @@ minetest.register_node("mcl_farming:beetroot_1", {
minetest.register_node("mcl_farming:beetroot_2", { minetest.register_node("mcl_farming:beetroot_2", {
description = "Premature Beetroot Plant (Third Stage)", description = "Premature Beetroot Plant (Third Stage)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
drawtype = "plantlike", drawtype = "plantlike",

View file

@ -1,5 +1,6 @@
minetest.register_node("mcl_farming:carrot_1", { 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", paramtype = "light",
walkable = false, walkable = false,
drawtype = "plantlike", drawtype = "plantlike",
@ -17,7 +18,8 @@ minetest.register_node("mcl_farming:carrot_1", {
}) })
minetest.register_node("mcl_farming:carrot_2", { 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", paramtype = "light",
walkable = false, walkable = false,
drawtype = "plantlike", drawtype = "plantlike",
@ -35,7 +37,8 @@ minetest.register_node("mcl_farming:carrot_2", {
}) })
minetest.register_node("mcl_farming:carrot_3", { 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", paramtype = "light",
walkable = false, walkable = false,
drawtype = "plantlike", drawtype = "plantlike",
@ -53,7 +56,7 @@ minetest.register_node("mcl_farming:carrot_3", {
}) })
minetest.register_node("mcl_farming:carrot", { minetest.register_node("mcl_farming:carrot", {
description = "Carrot Plant", description = "Mature Carrot Plant",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
drawtype = "plantlike", drawtype = "plantlike",

View file

@ -62,6 +62,7 @@ local stemdrop = {
minetest.register_node("mcl_farming:melontige_1", { minetest.register_node("mcl_farming:melontige_1", {
description = "Melon Stem (1)", description = "Melon Stem (1)",
_doc_items_entry_name = "Melon Stem",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
drawtype = "plantlike", drawtype = "plantlike",
@ -81,6 +82,7 @@ minetest.register_node("mcl_farming:melontige_1", {
minetest.register_node("mcl_farming:melontige_2", { minetest.register_node("mcl_farming:melontige_2", {
description = "Melon Stem (2)", description = "Melon Stem (2)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
drawtype = "plantlike", drawtype = "plantlike",
@ -100,6 +102,7 @@ minetest.register_node("mcl_farming:melontige_2", {
minetest.register_node("mcl_farming:melontige_unconnect", { minetest.register_node("mcl_farming:melontige_unconnect", {
description = "Melon Stem (unconnected)", description = "Melon Stem (unconnected)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
sunlight_propagates = true, sunlight_propagates = true,
@ -113,6 +116,7 @@ minetest.register_node("mcl_farming:melontige_unconnect", {
minetest.register_node("mcl_farming:melontige_linked_r", { minetest.register_node("mcl_farming:melontige_linked_r", {
description = "Melon Stem (linked to the right)", description = "Melon Stem (linked to the right)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
@ -145,6 +149,7 @@ minetest.register_node("mcl_farming:melontige_linked_r", {
minetest.register_node("mcl_farming:melontige_linked_l", { minetest.register_node("mcl_farming:melontige_linked_l", {
description = "Melon Stem (linked to the left)", description = "Melon Stem (linked to the left)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
sunlight_propagates = true, sunlight_propagates = true,
@ -177,6 +182,7 @@ minetest.register_node("mcl_farming:melontige_linked_l", {
minetest.register_node("mcl_farming:melontige_linked_t", { minetest.register_node("mcl_farming:melontige_linked_t", {
description = "Melon Stem (linked to the top)", description = "Melon Stem (linked to the top)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
sunlight_propagates = true, sunlight_propagates = true,
@ -209,6 +215,7 @@ minetest.register_node("mcl_farming:melontige_linked_t", {
minetest.register_node("mcl_farming:melontige_linked_b", { minetest.register_node("mcl_farming:melontige_linked_b", {
description = "Melon Stem (linked to the bottom)", description = "Melon Stem (linked to the bottom)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
sunlight_propagates = true, sunlight_propagates = true,

View file

@ -1,5 +1,6 @@
minetest.register_node("mcl_farming:potato_1", { minetest.register_node("mcl_farming:potato_1", {
description = "Premature Potato Plant (First Stage)", description = "Premature Potato Plant (First Stage)",
_doc_items_entry_name = "Premature Potato Plant",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
drawtype = "plantlike", drawtype = "plantlike",
@ -18,6 +19,7 @@ minetest.register_node("mcl_farming:potato_1", {
minetest.register_node("mcl_farming:potato_2", { minetest.register_node("mcl_farming:potato_2", {
description = "Premature Potato Plant (Second Stage)", description = "Premature Potato Plant (Second Stage)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
drawtype = "plantlike", drawtype = "plantlike",

View file

@ -31,6 +31,7 @@ local stemdrop = {
minetest.register_node("mcl_farming:pumpkin_1", { minetest.register_node("mcl_farming:pumpkin_1", {
description = "Pumpkin Stem (First Stage)", description = "Pumpkin Stem (First Stage)",
_doc_items_entry_name = "Pumpkin Stem",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
drawtype = "plantlike", drawtype = "plantlike",
@ -50,6 +51,7 @@ minetest.register_node("mcl_farming:pumpkin_1", {
minetest.register_node("mcl_farming:pumpkin_2", { minetest.register_node("mcl_farming:pumpkin_2", {
description = "Pumpkin Stem (Second Stage)", description = "Pumpkin Stem (Second Stage)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
drawtype = "plantlike", drawtype = "plantlike",
@ -102,6 +104,7 @@ minetest.register_node("mcl_farming:pumpkin_face", {
minetest.register_node("mcl_farming:pumpkintige_unconnect", { minetest.register_node("mcl_farming:pumpkintige_unconnect", {
description = "Pumpkin Stem (Not Connected)", description = "Pumpkin Stem (Not Connected)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
sunlight_propagates = true, sunlight_propagates = true,
@ -116,6 +119,7 @@ minetest.register_node("mcl_farming:pumpkintige_unconnect", {
minetest.register_node("mcl_farming:pumpkintige_linked_r", { minetest.register_node("mcl_farming:pumpkintige_linked_r", {
description = "Pumpkin Stem (Linked to the Right)", description = "Pumpkin Stem (Linked to the Right)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
@ -148,6 +152,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_r", {
minetest.register_node("mcl_farming:pumpkintige_linked_l", { minetest.register_node("mcl_farming:pumpkintige_linked_l", {
description = "Pumpkin Stem (Linked to the Left)", description = "Pumpkin Stem (Linked to the Left)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
sunlight_propagates = true, sunlight_propagates = true,
@ -180,6 +185,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_l", {
minetest.register_node("mcl_farming:pumpkintige_linked_t", { minetest.register_node("mcl_farming:pumpkintige_linked_t", {
description = "Pumpkin Stem (Linked to the Top)", description = "Pumpkin Stem (Linked to the Top)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
sunlight_propagates = true, sunlight_propagates = true,
@ -212,6 +218,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_t", {
minetest.register_node("mcl_farming:pumpkintige_linked_b", { minetest.register_node("mcl_farming:pumpkintige_linked_b", {
description = "Pumpkin Stem (Linked to the Bottom)", description = "Pumpkin Stem (Linked to the Bottom)",
_doc_items_create_entry = false,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
sunlight_propagates = true, sunlight_propagates = true,

View file

@ -9,6 +9,7 @@ minetest.register_craftitem("mcl_farming:wheat_seeds", {
minetest.register_node("mcl_farming:wheat_1", { minetest.register_node("mcl_farming:wheat_1", {
description = "Premature Wheat Plant (First Stage)", description = "Premature Wheat Plant (First Stage)",
_doc_items_entry_name = "Premature Wheat Plant",
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
@ -38,6 +39,7 @@ minetest.register_node("mcl_farming:wheat_1", {
minetest.register_node("mcl_farming:wheat_2", { minetest.register_node("mcl_farming:wheat_2", {
description = "Premature Wheat Plant (Second Stage)", description = "Premature Wheat Plant (Second Stage)",
_doc_items_create_entry = false,
sunlight_propagates = true, sunlight_propagates = true,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
@ -67,6 +69,7 @@ minetest.register_node("mcl_farming:wheat_2", {
minetest.register_node("mcl_farming:wheat_3", { minetest.register_node("mcl_farming:wheat_3", {
description = "Premature Wheat Plant (Third Stage)", description = "Premature Wheat Plant (Third Stage)",
_doc_items_create_entry = false,
sunlight_propagates = true, sunlight_propagates = true,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,

View file

@ -89,6 +89,7 @@ local desc = row[3]
local texture = minetest.registered_nodes[flower_node]["tiles"] local texture = minetest.registered_nodes[flower_node]["tiles"]
minetest.register_node("mcl_flowerpots:flower_pot_"..flower, { minetest.register_node("mcl_flowerpots:flower_pot_"..flower, {
description = desc, description = desc,
_doc_items_create_entry = false,
drawtype = "mesh", drawtype = "mesh",
mesh = "flowerpot.obj", mesh = "flowerpot.obj",
tiles = { tiles = {
@ -125,6 +126,7 @@ local flower_node = row[2]
local desc = row[3] local desc = row[3]
minetest.register_node("mcl_flowerpots:flower_pot_"..flower, { minetest.register_node("mcl_flowerpots:flower_pot_"..flower, {
description = desc, description = desc,
_doc_items_create_entry = false,
drawtype = "mesh", drawtype = "mesh",
mesh = "flowerpot_with_long_cube.obj", mesh = "flowerpot_with_long_cube.obj",
tiles = { tiles = {

View file

@ -271,6 +271,7 @@ minetest.register_node("mcl_furnaces:furnace", {
minetest.register_node("mcl_furnaces:furnace_active", { minetest.register_node("mcl_furnaces:furnace_active", {
description = "Burning Furnace", description = "Burning Furnace",
_doc_items_create_entry = false,
tiles = { tiles = {
"default_furnace_top.png", "default_furnace_bottom.png", "default_furnace_top.png", "default_furnace_bottom.png",
"default_furnace_side.png", "default_furnace_side.png", "default_furnace_side.png", "default_furnace_side.png",

View file

@ -126,6 +126,7 @@ minetest.register_node("mcl_hoppers:hopper", {
minetest.register_node("mcl_hoppers:hopper_side", { minetest.register_node("mcl_hoppers:hopper_side", {
description = "Hopper (Side)", description = "Hopper (Side)",
_doc_items_create_entry = false,
drop = "mcl_hoppers:hopper", drop = "mcl_hoppers:hopper",
groups = {pickaxey=1, container=2,not_in_creative_inventory=1}, groups = {pickaxey=1, container=2,not_in_creative_inventory=1},
drawtype = "nodebox", drawtype = "nodebox",

View file

@ -18,6 +18,8 @@ for r=1, records do
description = description =
core.colorize("#55FFFF", "Music Disc") .. "\n" .. core.colorize("#55FFFF", "Music Disc") .. "\n" ..
core.colorize("#989898", recorddata[r][2] .. "" .. recorddata[r][1]), 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", inventory_image = "mcl_jukebox_record_"..recorddata[r][3]..".png",
stack_max = 1, stack_max = 1,
groups = { music_record = r }, groups = { music_record = r },

View file

@ -102,6 +102,7 @@ minetest.register_tool("mcl_throwing:bow", {
minetest.register_tool("mcl_throwing:bow_0", { minetest.register_tool("mcl_throwing:bow_0", {
description = "Bow", description = "Bow",
_doc_items_create_entry = false,
inventory_image = "mcl_throwing_bow_0.png", inventory_image = "mcl_throwing_bow_0.png",
stack_max = 1, stack_max = 1,
groups = {not_in_creative_inventory=1, not_in_craft_guide=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", { minetest.register_tool("mcl_throwing:bow_1", {
description = "Bow", description = "Bow",
_doc_items_create_entry = false,
inventory_image = "mcl_throwing_bow_1.png", inventory_image = "mcl_throwing_bow_1.png",
stack_max = 1, stack_max = 1,
groups = {not_in_creative_inventory=1, not_in_craft_guide=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", { minetest.register_tool("mcl_throwing:bow_2", {
description = "Bow", description = "Bow",
_doc_items_create_entry = false,
inventory_image = "mcl_throwing_bow_2.png", inventory_image = "mcl_throwing_bow_2.png",
stack_max = 1, stack_max = 1,
groups = {not_in_creative_inventory=1, not_in_craft_guide=1}, groups = {not_in_creative_inventory=1, not_in_craft_guide=1},

View file

@ -597,6 +597,7 @@ function mcstair.add(name, stairtiles)
}) })
minetest.register_node(":"..name.."_outer", { minetest.register_node(":"..name.."_outer", {
description = node_def.description, description = node_def.description,
_doc_items_create_entry = false,
drawtype = "nodebox", drawtype = "nodebox",
tiles = outer_tiles, tiles = outer_tiles,
paramtype = "light", paramtype = "light",
@ -619,6 +620,7 @@ function mcstair.add(name, stairtiles)
}) })
minetest.register_node(":"..name.."_inner", { minetest.register_node(":"..name.."_inner", {
description = node_def.description, description = node_def.description,
_doc_items_create_entry = false,
drawtype = "nodebox", drawtype = "nodebox",
tiles = inner_tiles, tiles = inner_tiles,
paramtype = "light", paramtype = "light",

View file

@ -132,6 +132,7 @@ function xpanes.register_pane(name, def)
is_ground_content = false, is_ground_content = false,
sunlight_propagates = true, sunlight_propagates = true,
description = def.description, description = def.description,
_doc_items_create_entry = false,
tiles = {def.textures[3], def.textures[3], def.textures[1]}, tiles = {def.textures[3], def.textures[3], def.textures[1]},
use_texture_alpha = def.use_texture_alpha, use_texture_alpha = def.use_texture_alpha,
groups = groups, groups = groups,