summaryrefslogtreecommitdiff
path: root/node_diggers.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-17 19:57:20 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-17 19:57:20 -0700
commit5a30fe40e30b20290ad349d5ec0a4eeb69569381 (patch)
tree0cb1d7a6efe53b935e03f07b99e0edd43aff0cce /node_diggers.lua
parenta3a1402e1b9ef6578375b07654a1c25765104955 (diff)
Add "Doc" modpack support. Also fix up some bugs with crate marker entities, and make them show protected nodes.
Diffstat (limited to 'node_diggers.lua')
-rw-r--r--node_diggers.lua24
1 files changed, 18 insertions, 6 deletions
diff --git a/node_diggers.lua b/node_diggers.lua
index ded88e4..114b1e8 100644
--- a/node_diggers.lua
+++ b/node_diggers.lua
@@ -53,7 +53,9 @@ end,
-- Digs out nodes that are "in front" of the digger head.
minetest.register_node("digtron:digger", {
- description = "Digger Head",
+ description = "Digtron Digger Head",
+ _doc_items_longdesc = digtron.doc.digger_longdesc,
+ _doc_items_usagehelp = digtron.doc.digger_usagehelp,
groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 3},
drop = "digtron:digger",
sounds = digtron.metal_sounds,
@@ -104,7 +106,9 @@ minetest.register_node("digtron:digger", {
-- Digs out nodes that are "in front" of the digger head.
minetest.register_node("digtron:intermittent_digger", {
- description = "Intermittent Digger Head",
+ description = "Digtron Intermittent Digger Head",
+ _doc_items_longdesc = digtron.doc.intermittent_digger_longdesc,
+ _doc_items_usagehelp = digtron.doc.intermittent_digger_usagehelp,
groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 3},
drop = "digtron:intermittent_digger",
sounds = digtron.metal_sounds,
@@ -172,7 +176,9 @@ minetest.register_node("digtron:intermittent_digger", {
-- A special-purpose digger to deal with stuff like sand and gravel in the ceiling. It always digs (no periodicity or offset), but it only digs falling_block nodes
minetest.register_node("digtron:soft_digger", {
- description = "Soft Material Digger Head",
+ description = "Digtron Soft Material Digger Head",
+ _doc_items_longdesc = digtron.doc.soft_digger_longdesc,
+ _doc_items_usagehelp = digtron.doc.soft_digger_usagehelp,
groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 3},
drop = "digtron:soft_digger",
sounds = digtron.metal_sounds,
@@ -225,7 +231,9 @@ minetest.register_node("digtron:soft_digger", {
})
minetest.register_node("digtron:intermittent_soft_digger", {
- description = "Intermittent Soft Material Digger Head",
+ description = "Digtron Intermittent Soft Material Digger Head",
+ _doc_items_longdesc = digtron.doc.intermittent_soft_digger_longdesc,
+ _doc_items_usagehelp = digtron.doc.intermittent_soft_digger_usagehelp,
groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 3},
drop = "digtron:intermittent_soft_digger",
sounds = digtron.metal_sounds,
@@ -296,7 +304,9 @@ minetest.register_node("digtron:intermittent_soft_digger", {
-- Digs out nodes that are "in front" of the digger head and "below" the digger head (can be rotated).
minetest.register_node("digtron:dual_digger", {
- description = "Dual Digger Head",
+ description = "Digtron Dual Digger Head",
+ _doc_items_longdesc = digtron.doc.dual_digger_longdesc,
+ _doc_items_usagehelp = digtron.doc.dual_digger_usagehelp,
groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 3},
drop = "digtron:dual_digger",
sounds = digtron.metal_sounds,
@@ -371,7 +381,9 @@ minetest.register_node("digtron:dual_digger", {
-- Digs out soft nodes that are "in front" of the digger head and "below" the digger head (can be rotated).
minetest.register_node("digtron:dual_soft_digger", {
- description = "Dual Soft Material Digger Head",
+ description = "Digtron Dual Soft Material Digger Head",
+ _doc_items_longdesc = digtron.doc.dual_soft_digger_longdesc,
+ _doc_items_usagehelp = digtron.doc.dual_soft_digger_usagehelp,
groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 3},
drop = "digtron:dual_soft_digger",
sounds = digtron.metal_sounds,