diff options
author | FaceDeer <derksenmobile@gmail.com> | 2017-01-17 19:57:20 -0700 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2017-01-17 19:57:20 -0700 |
commit | 5a30fe40e30b20290ad349d5ec0a4eeb69569381 (patch) | |
tree | 0cb1d7a6efe53b935e03f07b99e0edd43aff0cce /node_misc.lua | |
parent | a3a1402e1b9ef6578375b07654a1c25765104955 (diff) |
Add "Doc" modpack support. Also fix up some bugs with crate marker entities, and make them show protected nodes.
Diffstat (limited to 'node_misc.lua')
-rw-r--r-- | node_misc.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/node_misc.lua b/node_misc.lua index 5ca0387..d4b71d3 100644 --- a/node_misc.lua +++ b/node_misc.lua @@ -1,6 +1,8 @@ -- A do-nothing "structural" node, to ensure all digtron nodes that are supposed to be connected to each other can be connected to each other. minetest.register_node("digtron:structure", { description = "Digtron Structure", + _doc_items_longdesc = digtron.doc.structure_longdesc, + _doc_items_usagehelp = digtron.doc.structure_usagehelp, groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 1}, drop = "digtron:structure", tiles = {"digtron_plate.png"}, @@ -32,6 +34,8 @@ minetest.register_node("digtron:structure", { -- A modest light source that will move with the digtron, handy for working in a tunnel you aren't bothering to install permanent lights in. minetest.register_node("digtron:light", { description = "Digtron Light", + _doc_items_longdesc = digtron.doc.light_longdesc, + _doc_items_usagehelp = digtron.doc.light_usagehelp, groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 1}, drop = "digtron:light", tiles = {"digtron_plate.png^digtron_light.png"}, @@ -52,6 +56,8 @@ minetest.register_node("digtron:light", { -- A simple structural panel minetest.register_node("digtron:panel", { description = "Digtron Panel", + _doc_items_longdesc = digtron.doc.panel_longdesc, + _doc_items_usagehelp = digtron.doc.panel_usagehelp, groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 1}, drop = "digtron:panel", tiles = {"digtron_plate.png"}, @@ -73,6 +79,8 @@ minetest.register_node("digtron:panel", { -- A simple structural panel minetest.register_node("digtron:edge_panel", { description = "Digtron Edge Panel", + _doc_items_longdesc = digtron.doc.edge_panel_longdesc, + _doc_items_usagehelp = digtron.doc.edge_panel_usagehelp, groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 1}, drop = "digtron:edge_panel", tiles = {"digtron_plate.png"}, @@ -100,6 +108,8 @@ minetest.register_node("digtron:edge_panel", { minetest.register_node("digtron:corner_panel", { description = "Digtron Corner Panel", + _doc_items_longdesc = digtron.doc.corner_panel_longdesc, + _doc_items_usagehelp = digtron.doc.corner_panel_usagehelp, groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 1}, drop = "digtron:corner_panel", tiles = {"digtron_plate.png"}, |