From 5a30fe40e30b20290ad349d5ec0a4eeb69569381 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Tue, 17 Jan 2017 19:57:20 -0700 Subject: Add "Doc" modpack support. Also fix up some bugs with crate marker entities, and make them show protected nodes. --- node_misc.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'node_misc.lua') 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"}, -- cgit v1.2.3