mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-24 00:49:34 +01:00
Help: xpanes, walls, jungle tree
This commit is contained in:
parent
3fe81c776b
commit
7d74916ee4
3 changed files with 8 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue