diff options
author | Wuzzy <almikes@aol.com> | 2016-08-13 13:54:41 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-13 13:54:41 +0200 |
commit | f6c0a12cbd6cfa521cb4d054e769e43825096122 (patch) | |
tree | d4660a48a700b7e18fcbfe4f2443eb9b0b3b65ad /init.lua | |
parent | cccc6ce1c66a6e4b878cd4bb44bb1dfe0403c321 (diff) |
Add aliases for xpanes
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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") |