summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 0270b33..975d071 100644
--- a/init.lua
+++ b/init.lua
@@ -157,6 +157,14 @@ doc.add_entry_alias("nodes", "doors:gate_pine_wood_closed", "doors:gate_pine_woo
doc.add_entry_alias("nodes", "doors:trapdoor", "doors:trapdoor_open")
doc.add_entry_alias("nodes", "doors:trapdoor_steel", "doors:trapdoor_steel_open")
doc.add_entry_alias("nodes", "tnt:tnt", "tnt:tnt_burning")
+local pane_aliases = {}
+local bar_aliases = {}
+for i=1,15 do
+ table.insert(pane_aliases, "xpanes:pane_"..i)
+ table.insert(bar_aliases, "xpanes:bar_"..i)
+end
+doc.add_entry_aliases("nodes", "xpanes:pane", pane_aliases)
+doc.add_entry_aliases("nodes", "xpanes:bar", bar_aliases)
-- Gather help texts
dofile(minetest.get_modpath("doc_minetest_game") .. "/helptexts.lua")