diff options
author | Wuzzy <almikes@aol.com> | 2016-08-02 15:35:40 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-02 15:35:40 +0200 |
commit | 38aa84bd4fa9c2dddf7e37e7b08ede572f24a23d (patch) | |
tree | 74a50eba7e1f56927c42bd500535e0356fcf139c /init.lua | |
parent | 2b18e7d1d728ebd969165e81737c90a4a3cbeceb (diff) |
Rename minetest_game table
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -504,22 +504,22 @@ doc.new_category("craftitems", { end }) -doc.sub.minetest_game = {} -doc.sub.minetest_game.help = {} -doc.sub.minetest_game.help.longdesc = {} -doc.sub.minetest_game.help.usagehelp = {} +doc.sub.items = {} +doc.sub.items.help = {} +doc.sub.items.help.longdesc = {} +doc.sub.items.help.usagehelp = {} -- Gather help texts -function doc.sub.minetest_game.add_helptexts(longdesc, usagehelp) +function doc.sub.items.add_helptexts(longdesc, usagehelp) for k,v in pairs(longdesc) do - doc.sub.minetest_game.help.longdesc[k] = v + doc.sub.items.help.longdesc[k] = v end for k,v in pairs(usagehelp) do - doc.sub.minetest_game.help.usagehelp[k] = v + doc.sub.items.help.usagehelp[k] = v end end local function gather_descs() - local help = doc.sub.minetest_game.help + local help = doc.sub.items.help doc.new_entry("nodes", "air", { name = "Air", data = { |