summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2017-05-29 00:22:51 +0200
committerWuzzy <almikes@aol.com>2017-05-29 00:22:51 +0200
commitd7b280d828de6cdf6624bda7af1edbfb0701c92d (patch)
tree478e9b063c33f9e312566c8a8fcb3b36bf5d0e56 /init.lua
parente384ac553bf15c6ea79934000b2935513623e535 (diff)
Suppress help items for open chest nodes
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 861e563..ef614f7 100644
--- a/init.lua
+++ b/init.lua
@@ -87,6 +87,8 @@ local suppressed_items = {
"doors:hidden",
"xpanes:pane",
"xpanes:bar",
+ "default:chest_open",
+ "default:chest_locked_open",
}
local hidden_items = {
@@ -305,6 +307,8 @@ doc.add_entry_alias("nodes", "tnt:tnt", "nodes", "tnt:tnt_burning")
doc.add_entry_alias("nodes", "tnt:gunpowder", "nodes", "tnt:gunpowder_burning")
doc.add_entry_alias("nodes", "xpanes:pane_flat", "nodes", "xpanes:pane")
doc.add_entry_alias("nodes", "xpanes:bar_flat", "nodes", "xpanes:bar")
+doc.add_entry_alias("nodes", "default:chest", "nodes", "default:chest_open")
+doc.add_entry_alias("nodes", "default:chest_locked", "nodes", "default:chest_locked_open")
-- Gather help texts
dofile(minetest.get_modpath("doc_minetest_game") .. "/helptexts.lua")